Hi Eugene,

Eugene Toropov schrieb am 28.09.2010 um 13:16 (+0400):
> 
> We have a problem with huge Apache+mod_perl2 processes of 150-200 Mb
> in size. After apache restart they are usually 40-50 Mb in size, then
> in a minute grow up to 100-150 Mb and then some time later may grow up
> to 200 Mb. I suspect a certain type of http queries and would like to
> know if there are any manuals/howtos/tools to investiagate such cases.

I don't know of any master tool to pinpoint the resource hog, but it
might help to think about what kind of potentially memory-hungry things
your application does.

* accumulating data in memory
* large XML docs read into memory
* SQL data not using an iterator, but accumulating in memory
* large file uploads
* ...

Are you able to reproduce the issue in your dev environment (where I
presume clicks are under control)? Then you might be able to determine
the handler that gobbles up memory.

I've also seen situations (with bad code) where memory consumption
depended on the data available for a process to read.

Hope this helps.
-- 
Michael Ludwig

Reply via email to