Cutoff for major changes to 3.0.26 is scheduled for Monday, June 4

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Jun 1 17:41:12 GMT 2007


On Fri, Jun 01, 2007 at 09:15:22AM -0700, James Peach wrote:
> I need to restore the exit-on-idle behaviour that you dropped in rev  
> 23241. By convention launchd jobs exit if they are not busy to free  
> up system resources.
> 
> launchd mode is the same as "smbd -F' mode, except that launchd  
> creates the listen sockets on our behalf.

One way to do this is to create a timed event with the
timeout you want and destroy/recreate it every time
something happens. This is a free/malloc, so it should not
be very expensive. In the timed event you can just
exit_server_cleanly().

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/20070601/eed6b18a/attachment.bin


More information about the samba-technical mailing list