[Bug 1169740] Re: rsyslog hangs loading modules

Jon Tai jon.tai at gmail.com
Thu Apr 18 06:29:25 UTC 2013


Here is the script I used to reproduce the bug. I had 3 machines running
the patched version of rsyslog (5.8.6-1ubuntu8.1+lp1169740) running it
for over 10 hours, no deadlocks. I had 1 machine running the unpatched
version of rsyslog (5.8.6-1ubuntu8) and it deadlocked in ~33 minutes.

I also had 5 production machines running the patched version for 10
hours, no deadlocks. On 5 other machines running the unpatched version,
2 deadlocked immediately when I restarted rsyslog, and 2 more deadlocked
shortly afterward.

At this point I'm fairly confident that the patch works.

** Attachment added: "Restart rsyslog and check for new log messages"
   https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/1169740/+attachment/3647106/+files/lp-1169740.sh

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsyslog in Ubuntu.
https://bugs.launchpad.net/bugs/1169740

Title:
  rsyslog hangs loading modules

Status in “rsyslog” package in Ubuntu:
  Confirmed
Status in “rsyslog” source package in Precise:
  New
Status in “rsyslog” source package in Quantal:
  New
Status in “rsyslog” source package in Raring:
  Confirmed

Bug description:
  [Impact]
  We have rsyslog configured to listen for forwarded logs on TCP and UDP, and to forward logs on to a central log host. On a number of occasions we have observed rsyslog in a hung state on our production machines -- not fowarding logs and not writing them to disk locally. It doesn't happen all the time, so I believe there's some sort of race condition involved.

  I've attached a stack trace taken when the process was hung. I believe
  the issue is the same as the one discussed here: http://www.gossamer-
  threads.com/lists/rsyslog/users/5873 There is a patch attached to that
  thread.

  [Test Case]
  << TBD >>

  [Regression Potential]
  This is a fix for a deadlock issue it is pretty difficult to determine if fixing a race condition would impact anything else, however, testing from the community hasn't raised any concerns.

  Ubuntu 12.04.1 LTS x86_64
  rsyslog 5.8.6-1ubuntu8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/1169740/+subscriptions




More information about the foundations-bugs mailing list