bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] Re: Patches 2525 and 2526


From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] Re: Patches 2525 and 2526
Date: Fri, 26 Mar 2004 09:41:47 +0200

> Ho I see that imap4d have the same behavior embedded in
> imap4d_sigchld, both daemon have it's own signal handler
> implementation,

Yes, initially the code was almost identical in pop3d and in imap4d.
However, I've noticed that pop3d was not able to keep the correct
number of children, i.e. at some moment it would stop to receive
further connections issuing "too many children" diagnostics, though
it had only a pair of them. I attributed this behavior to the fact that
waitpid was called directly from the signal handler and moved it to
a separate function invoked from the main loop. The time elapsed seems
to have confirmed the correctness of this decision.

> as I see in the code it can be shared.
> Does it seems ok for you ?

If you mean the code as it is implemented in pop3d, then the answer
is "yes".

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]