[squid-users] Repost: Squid 3.1.x uses considerably more memory than 2.7.x or 3.0.x

From: Ralf Hildebrandt <Ralf.Hildebrandt_at_charite.de>
Date: Fri, 30 Apr 2010 11:23:39 +0200

Back in 2009 I was still using 2.7.x:

I switched from 2.7.x to 3.1.0.14 yesterday. Today, my proxy would
encounter an out of memory condition.

cache_mem was EXPLICITLY set to 128 MB, thus the new default of 256 MB
would not be relevant.

Attached is a picture of squidstats that show the memory consumption
before and after the switch.

Note the peak on the right edge of the graph. In the end squid was
using 1.4GB of RAM.

And a retry in 2010:

I switched from 3.0.x to 3.1.0.x yesterday.

Find some output from
% squidclient mgr:mem for 3.0
here http://www.arschkrebs.de/bugs/mgr-mem.3.0.txt.gz
and from
% squidclient mgr:mem for 3.1
here http://www.arschkrebs.de/bugs/mgr-mem.3.1.txt.gz

What I did:

3.0 was running for a whole day, I then used
squidclient mgr:mem

Then I replaced 3.0 with 3.1 and restarted.

I then let it run for about 15 minutes and issued
squidclient mgr:mem
several times

Can anybody see where the excessive memory usage comes from?

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandt@charite.de | http://www.charite.de
	    
Received on Fri Apr 30 2010 - 09:23:51 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 30 2010 - 12:00:06 MDT