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
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.