diff options
author | Simo Sorce <idra@samba.org> | 2011-08-18 10:31:36 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2011-08-21 09:05:06 -0400 |
commit | 7bb4b991a54c85e7ca9fcfd15f85a38940ce6dfe (patch) | |
tree | b2b412989e17d73da40848715b9aee2bb607b5b0 /source3/nmbd/nmbd_browserdb.c | |
parent | feadd849ba6e36896cf38cada170ff53c4b03258 (diff) | |
download | samba-7bb4b991a54c85e7ca9fcfd15f85a38940ce6dfe.tar.gz samba-7bb4b991a54c85e7ca9fcfd15f85a38940ce6dfe.tar.bz2 samba-7bb4b991a54c85e7ca9fcfd15f85a38940ce6dfe.zip |
s3-prefork: Fix code to retire children
We have to be more careful when retiring children. We cannot stop
accepting connections as soon as the server tells us to quit because if
max_children is reached and we still have clients connected, the server will
not be able to spawn new children until one exits. And children will not exit
until all the clients closed the connections. So we keep operating past our
recall until we have 0 connections.
Also do not try to recall children that still have >= 1 clients connected, they
couldn't anyway.
Also use messaging to warn children and not SIGHUP.
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3/nmbd/nmbd_browserdb.c')
0 files changed, 0 insertions, 0 deletions