|
/
Zope
/
Apsis
/
Pound Mailing List
/
Archive
/
2010
/
2010-09
/
Still memory leaks?
[
Patch for RewriteLocation / "Frank ... ]
[
How to Write 2 Config Rules - for Domain and a ... ]
Still memory leaks?
skunk <skunk(at)ipfrom.com> |
2010-09-17 19:23:41 |
[ FULL ]
|
Hi all!
I'm using pound on a high traffic site with over 30 million daily hits (~750000
unique ip's) using three backends and session (cookie) persistence with a TTL
of 900 seconds.
Pound (tried both version 2.5 and 2.6a) is installed on a dedicated linux
server (kernel 2.6.28) with 8Gb of RAM and 1Gb of swap.
I notice pound's memory usage increases daily until filling all swap space
(vm.swappiness is set to 10) after about a week:
# ps aux|grep pound
nobody 17623 0.0 0.0 50040 300 ? Ss Sep09 0:00
/usr/sbin/pound -f /etc/pound.cfg -p /var/run/pound.pid
nobody 17626 16.3 32.9 3518264 2692924 ? Sl Sep09 1875:30
/usr/sbin/pound -f /etc/pound.cfg -p /var/run/pound.pid
As you can see it's using over 3.5Gb of virtual memory and still increasing...
As workaround I can restart pound periodically but i wonder if there is
something wrong that can be fixed.
Please let me know if you need more information about this issue.
Thank you!
|
|
|
Re: [Pound Mailing List] Still memory leaks?
skunk <skunk(at)ipfrom.com> |
2010-09-24 20:32:26 |
[ FULL ]
|
Ok, I've found the answer:
http://www.apsis.ch/pound/pound_list/archive/2008/2008-07/1215447779000
I had tcmalloc installed but it wasn't meant to be used with pound but with
mysql (it give it a huge boost).
Uninstalling it and rebuilding pound solved the memory leak but in my humble
opinion it would be better to add a configuration switch instead of linking
against tcmalloc by default.
Adios.
On Friday 17 September 2010 19:23:41 skunk wrote:[...][...]
|
|
|
|
|
Re: [Pound Mailing List] Still memory leaks?
Robert Segall <roseg(at)apsis.ch> |
2010-09-25 17:06:00 |
[ FULL ]
|
On Fri, 2010-09-24 at 20:32 +0200, skunk wrote:[...]
configure --disable-tcmalloc[...]
|
|
|
|