On Thu, Oct 24, 2002 at 05:11:12PM +0200, Stefan Priebe wrote: > Hello! > > I've a Problem with use POE; use POE::Wheel::ReadWrite; use > POE::Wheel::SocketFactory; > > I'm using an example # Spawn up to MAX_PROCESSES server processes, and then > run them. Exit when they are done. from the POE Site, but after a long > time running about 5-9 days. The Connections are not stable. Every 10 or 20 > minutes the connections close. > > Any Idea?
The long runtime before the problem suggests a slow resource leak somewhere. Here are a few things to check: The program may be leaking memory and eventually closing connections because child processes are dying. Check the process table periodically to make sure the program isn't expanding forever. Likewise, there may be a slow file or socket handle leak. Check your file tables (via lsof, socktstat and fstat, etc.) to make sure the program has a stable number of handles open. An administrator or firewall policy may be limiting your socket lifetimes. If you aren't the person managing the machine or network, check with someone who is. I'm sorry I can't help any more than this. I haven't encountered the problem, but maybe someone else has. -- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sf.net
