source4/smbd: add a prefork process model.
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 7 Sep 2017 02:30:15 +0000 (14:30 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 19 Oct 2017 03:33:10 +0000 (05:33 +0200)
commit123042c2e3358dc6671ce0969aee7b0f0695590e
treefab6514ef0468fbb3de4fc0d6a6c89059bcc7354
parent778e9a810ef48262efe250bebce3e88546acc694
source4/smbd: add a prefork process model.

Add a pre fork process model to bound the number processes forked by
samba.  Currently workers are only pre-forked for the ldap server,  all
the other services have pre-fork support disabled.

When pre-fork support is disabled a new process is started for each
service, and requests are processed by that process.

This commit partially reverts commit
b5be45c453bd51373bade26c29828b500ba586ec.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
docs-xml/smbdotconf/base/preforkchildren.xml [new file with mode: 0644]
lib/param/loadparm.c
source3/param/loadparm.c
source4/smbd/process_prefork.c [new file with mode: 0644]
source4/smbd/wscript_build