mod_perl memory leak

Posted by marghi on Stack Overflow See other posts from Stack Overflow or by marghi
Published on 2010-05-06T15:15:01Z Indexed on 2010/05/06 15:18 UTC
Read the original article Hit count: 261

Filed under:
|
|

Hello, I recently discovered that one of our sites has a memory leak in it, it's very strange because it happened all of the sudden. I've used GTop to measure the memory size per process and it tells me that the real value is somewhere around 65 MB (on the server) per request and and additional 5 MB shared.

I tried preloading the modules in the startup.pl file a indicated in the performance tuning article for mod_perl. Nothing happened if fact the shared memory decreased down to 3.7 MB, in this situation I thought that my application is leaking memory do before any line of code got executed I measured the memory just to find out that the total value is in fact 64 MB, my questions are: Is there a default preallocation of memory for each process? Is there a configuration issue? Is mod_perl leaking memory ?

Thank you very much.

© Stack Overflow or respective owner

Related posts about mod-perl

Related posts about perl