El 9 d’abril de 2012 11:23, Michael Biebl <[email protected]> ha escrit:
> rsyslog uses several threads and I vaguely remember that on kfreebsd
> those were shown as separate processes?!?

That used to be the case, because of LinuxThreads heritage.  However
glibc has been recently patched to use native thread primitives in
kFreeBSD.

> rsyslog uses the sendsigs.omit interface to stop as late as possible
> during shutdown. My guess is, that /etc/init.d/sendsigs kills those
> rsyslog processes aside from the main process that is listed in
> /var/run/rsyslog.pid.
> Because of that, rsyslog does not properly shutdown.

You're right.  It has to be related to the "threads have PIDs" issue,
because with recent glibc this problem doesn't happen anymore.

I just installed rsyslog again, thanks for pointing this out.

-- 
Robert Millan


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/caofdtxo-rofze8yxeb8ur5mbgdyac0nocrpqndjd5echn5v...@mail.gmail.com

Reply via email to