Re: squid fatal error

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 26 Mar 2000 20:54:32 +0200

Xue Junchao wrote:

> My squid can occur Segmentation Violation error when I change Cache_mem
> with 128 MB value or higher, once every day. After I decrease it, such as
> 96 MB or 64 MB, I will never see it.

Your machine probably runs out of memory in some obscure place where it
can't be handled properly.

128MB cache_mem + cache metadata for 4*7200MB + a few MB more is
defenitely more than 256MB. This also exaplains Squid slowing down after
some time.

Please see the Squid FAQ entry on memory usage. cache_mem is not what
you think it is. Squids memory usage is cache meta data + cache_mem + a
few MB more, not limited to cache_mem.

My recommendation is to have no more than 16 MB of cache_mem.

--
Henrik Nordstrom
Squid hacker
Received on Sun Mar 26 2000 - 14:47:31 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:25 MST