in reply to Re: Apache - read from socket problem
in thread Apache - read from socket problem

I create a new list with each request. But I never thought about memory leak and it could be something like that. Do you have any tip how can I find memory leaks in mason script? (in RT the function call is in mason script)
  • Comment on Re^2: Apache - read from socket problem

Replies are listed 'Best First'.
Re^3: Apache - read from socket problem
by hippo (Archbishop) on Sep 20, 2018 at 14:34 UTC

    Not really as I've never used Mason in production. But more generally there is lots of good stuff in the mod_perl coding guide.

    A crude yet simple way to spot if you have a memory leak is to just keep an eye on the RSS of the apache processes over time. If they keep going up you know you have a problem.

    Good luck.