[Pkg-samba-maint] Bug#563844: samba restart fails with large smbd

Steve Langasek vorlon at debian.org
Tue Jan 5 22:03:01 UTC 2010


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/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20100105/832ab3d5/attachment.pgp>


More information about the Pkg-samba-maint mailing list