Limiting queue disk space does not work, upgrade needed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rsyslog (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
# lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
# apt-cache policy rsyslog
rsyslog:
Installed: 7.4.4-1ubuntu2.3
Candidate: 7.4.4-1ubuntu2.3
Version table:
[...]
When rsyslog is run with a config to save/cache log to disk, e.g when the host that
it is forwarding log to is not responding, it fails to respect the
maxdiskspace parameter. This is a known bug and 7.4.7 of v7-stable has
been released to fix this, see http://
Config for testing:
global(
workDirectory
)
module(
module(
input(type="imudp"
port="514"
)
action(
target=
port="2514"
action.
queue.
queue.
queue.
queue.
queue.
queue.
queue.
)
Then just log more than 1MB of messages to UDP to see that it doesn't
stop at 1MB but just continues forever.
Please upgrade the package to 7.4.7.
To solve the immediate problem you can also just apply this https:/ /github. com/rsyslog/ rsyslog/ commit/ f6000c70fb6f04f be38761bb227770 70a56eb471. patch which solves the issue.
I tried to create a debdiff but the package doesn't build currently, I think because of the recent security patch.