Process hierarchy on a DC?

Andrew Bartlett abartlet at samba.org
Thu Apr 27 10:15:43 UTC 2017


On Thu, 2017-04-27 at 12:04 +0200, vl--- via samba-technical wrote:
> Hi!
> 
> With current master 5701880655c8a82b6 I'm getting the following
> process hierarchy (omitting the duplicate children):
> 
> 24963 ?        Ss     0:00 bin/samba
> 24964 ?        S      0:00  \_ bin/samba
> 24969 ?        S      0:00 bin/samba
> 24971 ?        Ss     0:00  \_ /root/samba/bin/smbd -D --
> option=server role check:inhibit=yes --foreground
> 24991 ?        S      0:00      \_ /root/samba/bin/smbd -D --
> option=server role check:inhibit=yes --foreground
> 24979 ?        S      0:00 bin/samba
> 24981 ?        Ss     0:00  \_ /root/samba/bin/winbindd -D --
> option=server role check:inhibit=yes --foreground
> 24990 ?        S      0:00      \_ /root/samba/bin/winbindd -D --
> option=server role check:inhibit=yes --foreground
> 
> I think I remember that in the past this was all located under one
> "samba" process, now the winbind and smbd parents are themselves
> children of init. I could stop the DC with a single kill, now it's
> three.

I would hope the pipes connecting them would help ensure it remains a
single kill, but I agree, that does not seem right. 

> Just curious: Why was this changed?

More to the point, when did it change?  Perhaps bisect it?

Thanks,

Andrew Bartlett
-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba-technical mailing list