1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/docs-xml/smbdotconf/base/preforkchildren.xml
Gary Lockyer 4ecdcc4b46 man pages: document prefork process model
Document the process model options -M

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13765

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Tim Beale <timbeale@samba.org>
Autobuild-Date(master): Thu Jan 31 04:25:14 CET 2019 on sn-devel-144
2019-01-31 04:25:13 +01:00

27 lines
1.0 KiB
XML

<samba:parameter name="prefork children"
context="G"
type="integer"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>This option controls the number of worker processes that are
started for each service when prefork process model is enabled
(see <citerefentry><refentrytitle>samba</refentrytitle>
<manvolnum>8</manvolnum></citerefentry> -M)
The prefork children are only started for those services that
support prefork (currently ldap, kdc and netlogon).
For processes that don't support preforking all requests are
handled by a single process for that service.
</para>
<para>This should be set to a small multiple of the number of CPU's
available on the server</para>
<para>Additionally the number of prefork children can be specified for
an individual service by using "prefork children: service name"
i.e. "prefork children:ldap = 8" to set the number of ldap
worker processes.</para>
</description>
<value type="default">4</value>
</samba:parameter>