max smbd processes

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Jul 25 20:26:35 GMT 2006


On Tue, Jul 25, 2006 at 05:51:04PM +0300, Shlomi Yaakobovich wrote:
> A. Am I missing something fundamental?
> B. Is there any harm in moving smbd_process_limit()
> instead of allowable_number_of_smbd_processes(), storing a
> variable that is the return code of the fork, and
> decrementing the smbd count if fork fails? That would make
> it immune to these races.

I think you are essentially right. But as always, we're very
busy, so a patch would be very welcome!

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060725/a9caec68/attachment.bin


More information about the samba-technical mailing list