summaryrefslogtreecommitdiff
path: root/source4/smbd/process_prefork.c
AgeCommit message (Collapse)AuthorFilesLines
2008-02-06prefork: also reload stuff in the client processesStefan Metzmacher1-8/+16
metze (This used to be commit 36012c386b30af98f10ada1b77ca3e43dbd7b144)
2008-02-05Clarify nomaclature of socket names in process_single and process_preforkAndrew Bartlett1-18/+6
Fix talloc_steal in both cases to steal connected socket (from accept) onto it's private structure, rather than stealing the bound socket. Remove termination code from the prefork modal, we want the process to still stay around, to serve future clients. Andrew Bartlett and David Disseldorp (This used to be commit 07590d893e993919cf6cb7582310777f534e756f)
2008-02-04Remaining changes to implement the prefork process modelAndrew Bartlett1-0/+226
To use, run 'smbd -M prefork' By default, only the smb service is preforked. 4 children are created, and all listen for new connections. The Linux Kernel 'wake one' behaviour should ensure that only one is given the oportunity to accept. We need to look into the ideal number of worker children, as well as load balancing behaviours. To change, set: prefork children : smb = 6 valid service names (smb in this example) match those in 'server services'. Andrew Bartlett and David Disseldorp (This used to be commit 35313c0aa3fbfdd943edfb7bafd7645b1a0c54e9)