The only time I have seen this happen is when there are a LOT of messages being
generated at boot time, and rsyslog fills it's queue and can't deliver the
messages (frequently because they're trying to go to a database or remote
machine that's not up yet)
If you configure impstats to write directly to a file, you can see what the
queue sizes are like at startup, both normally and when you have a problem.
If the queue fills up you can't login because ssh and login will try to log the
fact that you are logging in (especially if you are trying to get to root) and
block until the log is accepted by the syslog daemon.
the default queue size is pretty large (10k or 100k messages IIRC), but I can
see this being exceeded on systems that have either very verbose device drivers
or some ongoing problem.
David Lang
On Sun, 19 Oct 2014, Thomas D.
wrote:
Date: Sun, 19 Oct 2014 19:29:45 +0200
From: Thomas D. <[email protected]>
Reply-To: rsyslog-users <[email protected]>
To: [email protected]
Subject: Re: [rsyslog] 1/30 Reboots will fail due to rsyslog
Hi,
I created a VM to trigger this and it works very well.
But only if I don't start with "-dn". In debug mode, when rsyslogd won't
fork, I am yet unable to trigger this (tried about 80 restarts).
When rsyslog forks on start triggering the hang works well, but because
I don't have a shell I cannot do anything :/
But the system reacts on CTRL+ALT+DEL...
Any idea what I can do to track this down?
-Thomas
_______________________________________________
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.