Re: [squid-users] Long running squid proxy slows way down

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Mon, 27 Apr 2009 17:03:52 +0200

> On Mon, 27 Apr 2009, Wilson Hernandez - MSD, S. A. wrote:
>
> > I have a similar setup, squid was slow and crashing when it had a long
> > time running, crashing every three to six days. I never found out why it
> > crashed. I looked in the log files and couldn't find anything. It just
> > crashed for no reason. There are some post to the least about it. I
> > decided to restart the system everyday from a cron job at 4am. I know
> > that doesn't sound too stable as I'm running it on a linux box but, it
> > worked. It hasn't crash ever since.

On 27.04.09 13:35, Gavin McCullagh wrote:
> Did you get any message in /var/log/squid/* or /var/log/syslog?
>
> I had a similar experience and it turned out to be down to the RAM usage of
> squid exceeding 3GB (the limit for a process on a 32bit OS). As the cache
> memory filled up, squid's ram size increased until it restarted, and began
> filling up again. I reduced the mem_cache size and everything is fine
> since then.

... which most probably happens due to oversized cache_mem, not noticing
it's only about memory cache, not about memory usage:

http://wiki.squid-cache.org/SquidFaq/SquidMemory

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Christian Science Programming: "Let God Debug It!".
Received on Mon Apr 27 2009 - 15:03:56 MDT

This archive was generated by hypermail 2.2.0 : Mon Apr 27 2009 - 12:00:02 MDT