Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2001 23:33:13 +0300
From:      "Yavuz Maslak" <ymmaslak@hotmail.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   amount of cache_mem
Message-ID:  <OE2iu3fQtYdVzDpubxc000003ae@hotmail.com>

next in thread | raw e-mail | index | archive | help
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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1254">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hello</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Squid2.3stable4 works on =
FreeBSD4.2</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I allocated 15Gbyte Ram for =
cache_dir</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Also I have 2Gbyte Ram</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>according to above values what should =
the cache_mem=20
(in squid.conf)&nbsp;be ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>What is the formula for cache_mem ? (or =
where can I=20
find out it ? )</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Because My squid server has still gone =
on the=20
problem&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>In custom kernel I set as =
following;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>max users&nbsp;&nbsp;256</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
MAXMEM=3D(2048*1024)&nbsp;=20
<BR>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
MAXDSIZ=3D(1700*1024*1024)<BR>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;=20
DFLDSIZ=3D(400*1024*1024)<BR>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;=20
NMBCLUSTERS=3D10240</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and I set cache_mem =3D 500&nbsp;Mbyte =
in=20
squid.conf</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I haven't change limits in =
/etc/login.conf because=20
it is seen that unlimited by default</FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>is there anything false above =
values&nbsp;=20
?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Because when many (about 500) people =
connected the=20
squid server </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>it would be crash at least once =
time&nbsp;in a day=20
and it restart by itself</FONT></DIV></BODY></HTML>

------=_NextPart_000_000E_01C0C2DF.C6DF6A80--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OE2iu3fQtYdVzDpubxc000003ae>