[php-maint] Bug#423296: update on SNMP memory leak

J.L.H.W. Linkels jlinkels at rnw.an
Fri Apr 4 18:58:20 UTC 2008


An update on this one.

When I start the program, the memory usage in PHP shows 524288. This stays the 
same throughout the execution of the program.

However, in the top command I see the percentage of memory increasing slowly 
up to about 50%, then it drops a bit again and seems to stabilize. At the 
same time, the swap space used increases very slowly up to a point where the 
swap space is filled and my PHP script is killed by the kernel because it is 
out of swap space.

Surprisingly, the amount of memory as show by memory_get_usage() does NOT 
increase.

As it seems, there is another bug active which does eat up kernel memory, but 
which goes unnoticed by PHP.

Some more information:
Number of SNMP queries per second: 14
Amount of phsyical memory: 128 MB
Amount of swap space 1 GB
Time befoe the process is killed 12 -24 hours.

I hope this is of any use
Regards
Hans Linkels





More information about the pkg-php-maint mailing list