mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
f90cf49970
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>
25 lines
1.2 KiB
XML
25 lines
1.2 KiB
XML
<samba:parameter name="max smbd processes"
|
|
type="integer"
|
|
context="G"
|
|
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
|
<description>
|
|
<para>This parameter limits the maximum number of <citerefentry><refentrytitle>smbd</refentrytitle>
|
|
<manvolnum>8</manvolnum></citerefentry> processes concurrently running on a system and is intended
|
|
as a stopgap to prevent degrading service to clients in the event that the server has insufficient
|
|
resources to handle more than this number of connections. Remember that under normal operating
|
|
conditions, each user will have an <citerefentry><refentrytitle>smbd</refentrytitle>
|
|
<manvolnum>8</manvolnum></citerefentry> associated with him or her to handle connections to all
|
|
shares from a given host.</para>
|
|
|
|
<para>For a Samba ADDC running the standard process model this option
|
|
limits the number of processes forked to handle requests.
|
|
Currently new processes are only forked for ldap and netlogon
|
|
requests.
|
|
</para>
|
|
|
|
</description>
|
|
|
|
<value type="default">0</value>
|
|
<value type="example">1000</value>
|
|
</samba:parameter>
|