7.4.4-1ubuntu2.1 makes rsyslogd to take all the CPU in OpenVZ
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rsyslog (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Trusty |
Fix Released
|
High
|
Brian Murray | ||
Utopic |
Fix Released
|
High
|
Brian Murray |
Bug Description
Test Case
---------
* Install rsyslog 7.4.4-1ubuntu2.1 on an Ubuntu system that runs inside an OpenVZ container (If necessary, use ProxMox to quickly establish an OpenVZ container environment)
* Verify that '$KLogPermitNon
* Restart rsyslog to make sure any changes to the binaries/config are picked up
* Run 'top' and observe that the rsyslogd process is running at 100% CPU. When working properly, the rsyslogd process should generally be idle.
-------
After updating rsyslog from 7.4.4-1ubuntu2 to 7.4.4-1ubuntu2.1 the rsyslogd process started to take all the CPU on my machine.
The modification made by this release is described in #1274444, it is the activation of KLogPermitNonKe
I don't know exactly the effect of this option but it seems to have a permanent effect : even after downgrading the package or manually removing the option from /etc/rsyslog.conf the issue remains.
My syslog is full of :
Sep 8 10:28:40 sentry rsyslogd: imklog: error reading kernel log - shutting down: Bad file descriptor
Sep 8 10:28:40 sentry rsyslogd: message repeated 498 times: [imklog: error reading kernel log - shutting down: Bad file descriptor]
Sep 8 10:28:46 sentry rsyslogd-2177: rsyslogd[
I guess this is what causes the CPU load.
I am running Ubuntu 14.04.1 LTS in an OpenVZ container on Proxmox 3.2. The kernel is 2.6.32-28-pve
---
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64DistroRelease: Ubuntu 14.04
Package: rsyslog 7.4.4-1ubuntu2.1
PackageArchitec
Tags: trusty
Uname: Linux 2.6.32-28-pve x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
affects: | linux (Ubuntu) → rsyslog (Ubuntu) |
Changed in rsyslog (Ubuntu): | |
status: | Incomplete → New |
description: | updated |
summary: |
- Updating to rsyslog - 7.4.4-1ubuntu2.1 makes rsyslogd to take all the - CPU + 7.4.4-1ubuntu2.1 makes rsyslogd to take all the CPU in OpenVZ |
Changed in rsyslog (Ubuntu): | |
importance: | Undecided → High |
tags: | added: amd64 |
tags: |
added: verification-done-precise verification-needed removed: verification-done |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1366829
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.