I recently discovered that one of our sites has a memory leak in it, it is very strange because it happened suddenly. I used GTop to measure the memory size for each process, and it tells me that the real value is approximately 65 MB (on the server) for each request and an additional 5 MB of shared access.
I tried preloading the modules in the startup.pl a file specified in the performance tuning article for mod_perl. Nothing happened if the fact that the total memory was reduced to 3.7 MB, in this situation, I thought that my application was leaking in memory before any line of code was executed. I measured the memory to find out that the total cost is actually 64 MB, my questions are: is there a default memory allocation for each process? Is there a configuration problem? Is mod_perl a memory leak?
Many thanks.
source share