[squid-users] leaking memory in squid 3.4.8 and 3.4.7.

Eliezer Croitoru eliezer at ngtech.co.il
Tue Sep 30 10:38:18 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/30/2014 05:11 AM, Victor Sudakov wrote:
>> 
>> Can you share the basic cache manager requests statistics and the
>> up time for the service? (mgr:info)
>> 
>> This would give us a basic idea of the load\requests needed to
>> reproduce it.
> 
> I am not Steve but in case you care to look at my statistics as
> well, I am attaching it.
> 
OK.

The basic info states that the server is up for about 10+ hours.
and passed in this period of time: 152054 request which is about
230-253 per minute.

The cache is holding more then 20k objects and maximizing it's ram
memory usage (less 0.6%).
Considering that you are using 128MB for ram storage the service
should be considered 128MB used as more then normal.
In the log it states that the accounted memory:
403163 KB which is about 390MB in usage.
390 -128 = 262
so the only issue is about 250-260 MB which are being used and not for
cache.
the basic usage of squid is about 3MB if i'm not wrong but there are
operational needs such as buffers and in transit stuff.
So 255 MB to think about..
500 FD which means about 300-350 connections doubles 64kb.
then it's about 13-14 MB for in transit stuff.
So there is about 241 MB which needs to be justified.

These are the basics.

Eliezer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUKogaAAoJENxnfXtQ8ZQU/pUIAIh2Q1687fXSTsiUCO0jlnyO
NOD7F250EcppFwrQ4GPzDvRiNWUhzJSVzncAzJWlgQbWmoCnsvwB0C7MUN6bSOBf
ek0qmJi1m/xz1ePVFI1u1k/PfC4t2FTC8XM2zICSQKSkHIlV06EPNd5Km954bIYP
C7kzSl9CHl34v3179S22rEt1hej4Q3FEVayvoATrrPdrmyWLE2lICJYFxqGEIPK4
ivzxdcpdVovR2AwCHeDqXrTB/wTrYaZz1TQWUZScCmPibd1oqGXd3gHefE1aOMwS
ZsuBUZLfiTmaezBBeEqq8P3oWLIBh2mU1m4JogUbDixkrLpi4GaIFk+TIp9CTNw=
=e8AJ
-----END PGP SIGNATURE-----


More information about the squid-users mailing list