Re: [squid-users] FreeBSD, 4GB of Ram, Making Squid USE it!

From: David Landgren <david@dont-contact.us>
Date: Tue, 01 Mar 2005 17:56:22 +0100

airween@axelero.hu wrote:
> hello,

This is really late, I didn't notice these messages, but in the interest
of completeness...

>
>>My previous kernel was set with
>>MAXDSIZ="(1843*1024*1024)", Squid sat
>>at around 1700MB of memory utilization and I never had
>>any stability issues.

The following settings work for me (on a 4.10-STABLE machine with 4Gb RAM):

options MAXDSIZ="(2816*1024*1024)"
options MAXSSIZ="(256*1024*1024)"
options DFLDSIZ="(256*1024*1024)"
options NSWAPDEV=1

And a lot of crap stripped out: NICs, ATA and SCSI drivers I don't use,
USB stuff, and so forth. I didn't tweak the NMBUFS or NMBCLUSTERS settings.

Currently my squid process looks like :

nobody 29322 1.1 67.0 2608092 2609328 ?? S 22Feb05 82:02.94
squid -NsY

I'm toying with reformatting the machine this summer and installing 5.3,
but there's no hurry. This is certainly good enough for me. I'm getting
consistent 22-25% byte hit and 50-60% request hit ratios.

Later,
David
Received on Tue Mar 01 2005 - 09:56:25 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:01 MST