On Tue, Jan 05, 2010 at 11:20:11AM -0800, Ross Boylan wrote: > invoke-rc.d samba restart
invoke-rc.d is not an admin interface. In lenny, the supported interface is '/etc/init.d/samba restart'; in squeeze, it's 'service samba restart'. > results in no running smbd process. > This arises when I have an smbd process that has grown outlandishly > (to 1G in the most recent case). After I execute the restart command > the terminal shows the usual stop and start messages for smbd and > nmbd. However, ps still shows the old process running. After awhile, > that process dies, leaving me with no running smbd. > The "real" problem is the huge footprint of smbd, reported in Debian > bug 558453 (my report is message 24 and subsequent) and upstream at > https://bugzilla.samba.org/show_bug.cgi?id=7020. However, this seems > to indicate the restart logic isn't quite right, probably assuming > that after n seconds the stop has killed all the processes. Yes, which is the only way we have to handle such restarts, until such time as we switch to an init system such as upstart that handles process supervision. So while this bug isn't "wontfix", resolving it is dependent on other systemic changes in Debian. Adding an extra delay to the restart command isn't a reasonable workaround. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
signature.asc
Description: Digital signature