Search squid archive

RE: Oom-killer and Squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Henrik,
Have you had a chance to look at the file I sent you a few days ago?  It
looks like the mem_node is growing and never stops.  I've searched the
archives and found others with the problem but no solution.  Right now
I'm restarting squid every other day to clean it up and keep from
running out of memory but that won't work if I add more users.  I'm at
about 30 now but I'm looking at a few thousand if I get this working.

The glibc is 2.4 on SuSE Linux 10.1.
Thanks,
Dave

-----Original Message-----
From: Henrik Nordstrom [mailto:henrik@xxxxxxxxxxxxxxxxxxx] 
Sent: Saturday, March 10, 2007 6:41 AM
To: Dave Rhodes
Cc: squid-users@xxxxxxxxxxxxxxx
Subject: RE:  Oom-killer and Squid


fre 2007-03-09 klockan 16:23 -0500 skrev Dave Rhodes:

> Last night the squid proc grew to over 2GB so I lowered the cache_mem 
> and restarted squid to free the 2GB.  The current size is 765MB and 
> I'm hoping it will level off at just over 1GB.  If it continues to 
> grow beyond 2GB then I'm guessing it's the malloc issue.

More likely a problem of some kind. The glibc malloc is quite stable for
most workloads.

So monitor the memory utilization page using cachemgr. 


  #!/bin/sh
  while sleep 300; do
      /usr/local/squid/bin/squidclient mgr:mem
  done 

save the output to a file.

Regards
Henrik


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux