On 2007-07-02 13:05:03 +0200, Stefan Priebe wrote: > Stefan Priebe schrieb: > > 2.) The real Problem is, that it hangs after running about 1 hour or > > so. I'm using about 60 childs with about 20 new connections per second. > > After a while more and more childs hangs in $d->accept(). And you did > > not get any answer from the SMTP anymore. Any idea to that? > > I've found out some more information. They seem to hang at another point > as i aspected. > > In the debug log i see the following message: > Could not print [220 XXX ESMTP qpsmtpd 0.40 ready; send us your mail, > but not your spam.]: No such file or directory
Looks like the client closed the connection before the server sent the
greeting (although I'd have expected a slightly different error message
("Bad file descriptor" or "Connection reset by peer") in this case).
That happens, especially if you use check_earlytalker.
I think the server process should just close the current connection and
accept the next one in this case (Simply exiting and letting the parent
restart the process would work, too, but defeats the purpose of running
prefork).
hp
--
_ | Peter J. Holzer | I know I'd be respectful of a pirate
|_|_) | Sysadmin WSR | with an emu on his shoulder.
| | | [EMAIL PROTECTED] |
__/ | http://www.hjp.at/ | -- Sam in "Freefall"
signature.asc
Description: Digital signature
