[squid-users] Memory Leak Squid 3.4.9 on FreeBSD 10.0 x64

Eugene M. Zheganin eugene at zhegan.in
Mon Jan 12 12:06:44 UTC 2015


Hi.

On 12.01.2015 16:41, Eugene M. Zheganin wrote:
> I'm now also having a strong impression that squid is leaking memory.
> Now, when 3.4.x is able to handle hundreds of users during several
> hours I notice that it's memory usage is constantly increasing. My
> patience always ends at the point of 1.5 Gigs memory usage, where
> server memory starts to be exhausted (squid is running with lots of
> other stuff) and I restart it. This is happening on exactly the same
> config the 3.3.13 was running, so ... I have cache_mem set to 512
> megs, diskd, medium sized cache_dir and lots of users. Is something
> changed drastically in 3.4.x comparing to the 3.3.13, or is it, as it
> seems, a memory leak ?
Squid 3.4 on FreeBSD is by default compiling with the
--enable-debug-cbdata option and when 45th log selector is at it's
default 1, cache.log is filling with CBData memory leaking alarms. Here
is the list for the last 40 minutes, sorted with the occurrence count:

104136 Checklist.cc:160
81438 Checklist.cc:187
177226 Checklist.cc:320
84861 Checklist.cc:45
89151 CommCalls.cc:21
22069 DiskIO/DiskDaemon/DiskdIOStrategy.cc:353
 120 UserRequest.cc:166
  29 UserRequest.cc:172
55814 clientStream.cc:235
5966 client_side_reply.cc:93
4516 client_side_request.cc:134
5568 dns_internal.cc:1131
4859 dns_internal.cc:1140
  86 event.cc:90
7770 external_acl.cc:1426
1548 fqdncache.cc:340
7467 helper.cc:856
39905 ipcache.cc:353
11880 store.cc:1611
181959 store_client.cc:154
256951 store_client.cc:337
6835 ufs/UFSStoreState.cc:333

are those all false alarms ?

Thanks.
Eugene.


More information about the squid-users mailing list