From owner-freebsd-questions Wed Apr 11 13:34:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (oe2.law3.hotmail.com [209.185.240.106]) by hub.freebsd.org (Postfix) with ESMTP id C99C237B424 for ; Wed, 11 Apr 2001 13:34:32 -0700 (PDT) (envelope-from ymmaslak@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 11 Apr 2001 13:34:32 -0700 X-Originating-IP: [213.238.128.134] From: "Yavuz Maslak" To: Subject: amount of cache_mem Date: Wed, 11 Apr 2001 23:33:13 +0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000E_01C0C2DF.C6DF6A80" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: X-OriginalArrivalTime: 11 Apr 2001 20:34:32.0700 (UTC) FILETIME=[D0B1CBC0:01C0C2C6] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_000E_01C0C2DF.C6DF6A80 Content-Type: text/plain; charset="windows-1254" Content-Transfer-Encoding: quoted-printable hello Squid2.3stable4 works on FreeBSD4.2 I allocated 15Gbyte Ram for cache_dir Also I have 2Gbyte Ram according to above values what should the cache_mem (in squid.conf) be ? What is the formula for cache_mem ? (or where can I find out it ? ) Because My squid server has still gone on the problem=20 In custom kernel I set as following; max users 256 options MAXMEM=3D(2048*1024) =20 options MAXDSIZ=3D(1700*1024*1024) options DFLDSIZ=3D(400*1024*1024) options NMBCLUSTERS=3D10240 and I set cache_mem =3D 500 Mbyte in squid.conf I haven't change limits in /etc/login.conf because it is seen that = unlimited by default=20 is there anything false above values ? Because when many (about 500) people connected the squid server=20 it would be crash at least once time in a day and it restart by itself ------=_NextPart_000_000E_01C0C2DF.C6DF6A80 Content-Type: text/html; charset="windows-1254" Content-Transfer-Encoding: quoted-printable
hello
 
Squid2.3stable4 works on = FreeBSD4.2
 
I allocated 15Gbyte Ram for = cache_dir
Also I have 2Gbyte Ram
according to above values what should = the cache_mem=20 (in squid.conf) be ?
What is the formula for cache_mem ? (or = where can I=20 find out it ? )
Because My squid server has still gone = on the=20 problem 
In custom kernel I set as = following;
max users  256
options        =20 MAXMEM=3D(2048*1024) =20
options        =20 MAXDSIZ=3D(1700*1024*1024)
options      =   =20 DFLDSIZ=3D(400*1024*1024)
options      &= nbsp; =20 NMBCLUSTERS=3D10240
and I set cache_mem =3D 500 Mbyte = in=20 squid.conf
I haven't change limits in = /etc/login.conf because=20 it is seen that unlimited by default 
is there anything false above = values =20 ?
Because when many (about 500) people = connected the=20 squid server
it would be crash at least once = time in a day=20 and it restart by itself
------=_NextPart_000_000E_01C0C2DF.C6DF6A80-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message