1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/smbd
Gary Lockyer f90cf49970 s4 smdb standard: Limit processes forked on accept.
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>
2018-11-30 11:42:44 +01:00
..
process_model.c source4/smbd: replace DEBUG( with DBG_ 2017-10-19 05:33:10 +02:00
process_model.h source4 smbd prefork: restart on non zero exit code 2018-11-23 08:25:19 +01:00
process_prefork.c s4:smbd: Use #ifdef instead of #if for config.h definitions 2018-11-28 23:19:24 +01:00
process_single.c source4 smbd prefork: restart on non zero exit code 2018-11-23 08:25:19 +01:00
process_standard.c s4 smdb standard: Limit processes forked on accept. 2018-11-30 11:42:44 +01:00
server.c s4:smbd: Use #ifdef instead of #if for config.h definitions 2018-11-28 23:19:24 +01:00
service_named_pipe.c source4/smbd: replace DEBUG( with DBG_ 2017-10-19 05:33:10 +02:00
service_stream.c source4 smbd prefork: restart on non zero exit code 2018-11-23 08:25:19 +01:00
service_stream.h source4/smbd: refactor the process model for prefork 2017-10-19 05:33:09 +02:00
service_task.c source4 smbd prefork: restart on non zero exit code 2018-11-23 08:25:19 +01:00
service_task.h source4/smbd: refactor the process model for prefork 2017-10-19 05:33:09 +02:00
service.c source4 smdb: Add a post fork hook to the service API 2018-11-01 23:49:24 +01:00
service.h source4 smbd: pass instance number to post_fork 2018-11-07 17:55:09 +01:00
wscript_build source4/smbd: add a prefork process model. 2017-10-19 05:33:10 +02:00