On Thu, 3 Jul 2014, Nick Syslog wrote:

I've upgraded my VMWare based hosts to 8.2.2 recently and have had some
weird phenomena that I can't seemingly explain from the previous
installation...specifically:

OS: RHEL 6.3
-Starting/stopping the service using "service rsyslog restart" hangs unless
a sleep is inserted between the stop/start execution in the init.

remember that the stop signal does not instantly kill rsyslog, it just sends it a message asking it to shutdown gracefully, not corrupting anything in the meantime. This means that rsylog works to flush the messages it has in queues, close files cleanly, etc. There is a timeout in the rsyslog config that tells it that if it hasn't finished after X seconds, abandon the remaining queue messages and just close things.

If the start happens while rsyslog is still in the process of shutting down, it finds that there is already a pidfile in place (meaning that the process is either still running, or crashed) and it asks the user if it should go ahead and start or not (because if it is already running, having two copies manipulating the same files will cause "interesting" results)

David Lang

The
service appears to still start but the message "OK" is never released back
to the cli leaving the user to ctrl-c to exit.

-Messages for "exit signal 15" (normal shutdown messages) have disappeared
completely leaving only the 'start' messages in their place and in some
cases the message "DoDie Called." appears immediately prior to a start
event.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to