in reply to Apache - read from socket problem

It works for a few hours but then errors start appearing with increasing frequency until it does not work at all.

That sounds a bit like a memory leak. Do you ever trim %list or does it just grow without limit?

Replies are listed 'Best First'.
Re^2: Apache - read from socket problem
by Stetec (Novice) on Sep 20, 2018 at 14:12 UTC
    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)

      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.