[Samba] What could cause an "unclean shutdown" of process?

David Disseldorp ddiss at suse.de
Wed Aug 29 10:24:25 MDT 2012


Hi Frederic,

On Wed, 29 Aug 2012 11:58:38 -0400
Frederic Fournier <frederic.bioinfo at gmail.com> wrote:

> Thanks for the tip, I was also looking for a way to get rid of those
> Printcap messages that pops up every 13 minutes. (especially since there is
> no printer on this server).
> 
> But I only included those messages to give a bit of context: its the three
> messages in the middle that cause me trouble:
> smbd/server.c:292 Unclean shutdown of pid 32526
> Scheduled cleanup of brl and lock database after unclean shutdown*
>  Cleaning up brl and lock database after unclean shutdown*
> 
> Do you know how I could find what causes the server to do an unclean
> shutdown of one of its process (and how to prevent it)? Because when there
> is such an unclean shutdown, there is also a crash on the client side. (Or
> maybe it's the other way around?) How could I find more about it?

The 'cleanup...after unclean shutdown' messages are also caused by the
printcap process. It does not register it's pid which results in
the parent smbd process complaining on SIGCHLD when the printcap process
exits.

Cheers, David


More information about the samba mailing list