| 1 |
<samba:parameter name="prefork children" |
| 2 |
context="G" |
| 3 |
type="integer" |
| 4 |
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> |
| 5 |
<description> |
| 6 |
<para>This option controls the number of worker processes that are |
| 7 |
started for each service when prefork process model is enabled |
| 8 |
(see <citerefentry><refentrytitle>samba</refentrytitle> |
| 9 |
<manvolnum>8</manvolnum></citerefentry> -M) |
| 10 |
The prefork children are only started for those services that |
| 11 |
support prefork (currently ldap, kdc and netlogon). |
| 12 |
For processes that don't support preforking all requests are |
| 13 |
handled by a single process for that service. |
| 14 |
</para> |
| 15 |
|
| 16 |
<para>This should be set to a small multiple of the number of CPU's |
| 17 |
available on the server</para> |
| 18 |
|
| 19 |
<para>Additionally the number of prefork children can be specified for |
| 20 |
an individual service by using "prefork children: service name" |
| 21 |
i.e. "prefork children:ldap = 8" to set the number of ldap |
| 22 |
worker processes.</para> |
| 23 |
</description> |
| 24 |
|
| 25 |
<value type="default">4</value> |
| 26 |
</samba:parameter> |