[Bug 523468] Re: rsyslogd gives 100%CPU

2010-02-19 Thread Martin Pitt
*** This bug is a duplicate of bug 523610 *** https://bugs.launchpad.net/bugs/523610 ** This bug has been marked a duplicate of bug 523610 20100218 EC2 image (ami-0512fe6c): Cannot read proc file system: 1 - Operation not permitted. -- rsyslogd gives 100%CPU https://bugs.launchpad.net/bu

[Bug 523468] Re: rsyslogd gives 100%CPU

2010-02-19 Thread Dave Martin
Actually, select() may be a misdiagnosis--- I may have been looking at the wrong thread. There seem to be two threads spinning, but the thread in select appears to be blocked and not consuming CPU. The spinning threads both intermittently call pthread_yield(), which may could indicate some kind

[Bug 523468] Re: rsyslogd gives 100%CPU

2010-02-18 Thread Loïc Minier
You mention select(), could it be that userspace expects pselect support but the imx51 kernel doesn't have it? For instance, under qemu-arm we were getting a lot of "unsupported syscall" for pselect, and I think this appeared recently. I suspect eglibc got rebuilt against kernel headers with psel

[Bug 523468] Re: rsyslogd gives 100%CPU

2010-02-18 Thread Dave Martin
I have observed the problem on the standard armel imx51 kernel. linux-image-2.6.31-604-imx51 2.6.31.604.5 rsyslogd 4.2.0-2ubuntu7 rsyslogd seems to be spinning forever around select(), but I hit debugger issues and was unable to diagnose it further. -- rsyslogd gives 100%CPU https://bugs.launch

[Bug 523468] Re: rsyslogd gives 100%CPU

2010-02-17 Thread Martin Pitt
Regression from bug 517773, which was not completely implemented. rsyslog needs to check if it can read from /proc/kmsg as non-root, and not drop privileges if not. In other works, seteuid(), read() -> on fail, seteuid(0) and keep it that way, on success -> setuid() -> permanently drop privs. **

[Bug 523468] Re: rsyslogd gives 100%CPU

2010-02-17 Thread Susan Cragin
I have Ubuntu Studio and my kernel's going absolutely crazy. Can I uninstall rsyslog. -- rsyslogd gives 100%CPU https://bugs.launchpad.net/bugs/523468 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bu

[Bug 523468] Re: rsyslogd gives 100%CPU

2010-02-17 Thread rjmoerland
BTW, I'm running a 2.6.31-14 kernel, which is supposedly supported. Will downgrade for the moment though. -- rsyslogd gives 100%CPU https://bugs.launchpad.net/bugs/523468 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs ma

[Bug 523468] Re: rsyslogd gives 100%CPU

2010-02-17 Thread rjmoerland
Confirming, after an upgrade of rsyslogd from 4.2.0-2ubuntu5.1 to 4.2.0-2ubuntu7, rsyslog is consuming a lot of CPU cycles on my machine. See also the attached image of htop running. CPU use is more than 80%. ** Attachment added: "Image of output of HTOP showing rsyslogd using > 80% of CPU" ht

[Bug 523468] Re: rsyslogd gives 100%CPU

2010-02-17 Thread Pavel Rojtberg
I suggest downgrading to 4.2.0-2ubuntu5.1 until the bug is fixed ** Changed in: rsyslog (Ubuntu) Status: New => Confirmed -- rsyslogd gives 100%CPU https://bugs.launchpad.net/bugs/523468 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubu

[Bug 523468] Re: rsyslogd gives 100%CPU

2010-02-17 Thread Pavel Rojtberg
the problem is your custom kernel, which does not work with the updated rsyslogd yet. see https://bugs.edge.launchpad.net/ubuntu/+source/rsyslog/+bug/517773 -- rsyslogd gives 100%CPU https://bugs.launchpad.net/bugs/523468 You received this bug notification because you are a member of Ubuntu Bugs,