Either way completely hanging service restart on the start and not emitting
exit signals to log files as well as the dodie message in place of the exit
message seems a bit more complex than just a simple hang...

Especially since this behavior was previously un observed and reproduced on
3 different identical hosts including one with a 'base' install.


On Sat, Jul 5, 2014 at 4:11 PM, David Lang <[email protected]> wrote:

> 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.
>
_______________________________________________
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