dbmail wrote:
The NCHILDREN will result one more processes for example: NCHILDREN=2
root      4836  0.0  0.4  2364  796 ?        S    12:22   0:00 dbmail-imapd
nobody    4837  0.0  0.4  2364  820 ?        S    12:22   0:00 dbmail-imapd
nobody    4838  0.0  0.7  2496 1340 ?        S    12:22   0:00 dbmail-imapd
nobody    4839  0.0  0.6  2496 1280 ?        S    12:22   0:00 dbmail-imapd
there are 3+1 processes it should be 2+1 I think.

Actually no. It's ok as it is. Dbmail starts as root, forks, reads the config and binds the socket, forks again, drops privileges and starts the server.

This leaves us with two processes: the 'root' process responsible for restarting on SIGHUP or shutting down on SIGKILL etc, and 1 child responsible for preforking the children that will do the actual clienthandling. Neither of these first two processes handle clientconnects.

So NCHILDREN refers to the number of children that actually do handle client connects, not the total number of processes created by the parent.

--
  ________________________________________________________________
  Paul Stevens                                         [EMAIL PROTECTED]
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands_______________________________________www.nfg.nl

Reply via email to