s4 smdb standard: Limit processes forked on accept.
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 6 Sep 2018 19:04:48 +0000 (07:04 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 30 Nov 2018 10:42:44 +0000 (11:42 +0100)
commitf90cf49970a0edf4dce5d145726a04e798530a2e
treeee9ffa2323291ab3cc73dc499959eb1773971b1e
parent2381b4ff6794ba514cca57d3995459bc2cef8352
s4 smdb standard: Limit processes forked on accept.

Limit the number of processes started by the standard model on accept.
For those services that support fork on accept, the standard model forks
a new process for each new connection. This patch limits the number of
processes to the value specified in 'max smbd processes', a value of
zero indicates that there is no limit on the number of processes that
can be forked.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
docs-xml/smbdotconf/tuning/maxsmbdprocesses.xml
selftest/knownfail.d/process_limit [deleted file]
source4/smbd/process_standard.c