(pop3d_daemon): Collect finished children synchronously.
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -436,6 +436,7 @@ pop3d_daemon (unsigned int maxchildren, unsigned int port) | ... | @@ -436,6 +436,7 @@ pop3d_daemon (unsigned int maxchildren, unsigned int port) |
436 | 436 | ||
437 | for (;;) | 437 | for (;;) |
438 | { | 438 | { |
439 | process_cleanup (); | ||
439 | if (children > maxchildren) | 440 | if (children > maxchildren) |
440 | { | 441 | { |
441 | syslog (LOG_ERR, _("too many children (%lu)"), | 442 | syslog (LOG_ERR, _("too many children (%lu)"), | ... | ... |
-
Please register or sign in to post a comment