On Mon, Sep 23, 2002 at 12:21:30PM +0200, Stefan Priebe wrote: > Hi! > > First I want to say thanks for the great work. POE is really good. > > But i've a problem with my Perl Script using POE. It is based on the > preforkedserver.perl example. After a longer time running my Script it does > not create new childs anymore and the only process which is working is the > Master process. Any Idea?
[...] To be honest, I'm not sure anyone has looked at the pre-forking server example in quite a while. You are one of the only people I know who is using it as the basis of a serious program. Generally speaking, the pre-forked children do not need to exit. It was implemented because Apache does it, and it was a good exercise of SIGCHLD handling. However, it's only really useful if your child processes consume memory out of control. That probably doesn't happen because your main process would, too. That said, I'll have another look at the server and probably rewrite it for modern POE versions. A lot has been fixed since it was originally written. And THAT said, please make sure you're running the latest version of POE. If you downloaded it from CPAN in the past week or so, you've got it. To be sure, run this and check that it prints "0.23": perl -wle 'use POE; print $POE::VERSION' -- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sf.net
