Juerg.Haefliger at hp
Jun 14, 2012, 8:26 AM
Post #3 of 6
> > I'm experiencing sporadic kernel hangs on different machines running
Re: rsyslog 4.6.4 stops logging to local files
[In reply to]
> > Ubuntu Natty (rsyslog 4.6.4). The machines need to be rebooted to
> > recover. What I noticed after the machines come back is that syslog and
> > kern.log have not been updated for some time (anywhere from a few
> > minutes to several hours) prior to the hang. Interestingly, the updates
> > of syslog and kern.log stopped at different times. Whether this has
> > anything to do with the later hang or is an early indication that
> > something is wrong, I don't know. If I were to catch a machine in this
> > state, what can I look at to try to figure out why logging to the
> > filesystem stopped? I can't run rsyslog in debug mode. I could attach
> > gdb to the running rsyslog process but don't know what to look for.
> I think that is one of the many bugs that has been fixed in the past
> years since that version was released.
I was afraid you were going to say that :-)
> I suggest that you open a bug
> tracker with ubuntu.
Yes, that is on my todo list.
> Maybe they solve this by re-creating the packages
> with recent builds.
They usually don't just pull in later builds for older distros, they backport patches that fix known problems. We're currently stuck with Natty so upgrading to a later distro is not an option at the moment.
> I am not bashing: that's most probably really the solution, and it would
> be great if they did. AFAIK there are recent .deb packages, so this
> should not cause too much trouble to them...
> I understand this is not the answer you were looking for. Sorry for that.
> But even if I dug out which patch you need, it wouldn't go into the
> ubuntu package, so there is no point in that.
In fact it would. We have a contract with Canonical and if I had a patch, we can ask them to backport and build a new Natty package. Do you happen to remember what the problem was (or might have been)? Some keyword maybe so that I can go hunt for the patch? Note that I'm only seeing this problem on machines that hung so I'm wondering if something else is going on that causes rsyslog to stop logging. I'm not trying to blame rsyslog, I'm just trying to find the cause of the hang and the syslog funkiness is all I've got at the moment to go after.
> If you can build from
> source, you can do that, but then simply use the most recent released
> version (4.8.somewhat for the v4 tree). Note that v4 is officially too
> old to be supported by the project itself. We are right now at 6.2.2.
Understood. But these are production machines and I can't install unsupported (by Canonical) packages.
> rsyslog mailing list
> What's up with rsyslog? Follow https://twitter.com/rgerhards
rsyslog mailing list
What's up with rsyslog? Follow https://twitter.com/rgerhards