summaryrefslogtreecommitdiffstats
path: root/docs-xml/smbdotconf/base/preforkchildren.xml
blob: 1b9f8cf9a078c31456943092c6f85a3247f44861 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<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>