[Bug 1380976] Re: Limiting queue disk space does not work, upgrade needed
Launchpad Bug Tracker
1380976 at bugs.launchpad.net
Tue Nov 28 09:16:27 UTC 2017
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: rsyslog (Ubuntu)
Status: New => Confirmed
--
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/1380976
Title:
Limiting queue disk space does not work, upgrade needed
Status in rsyslog package in Ubuntu:
Confirmed
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://www.rsyslog.com/changelog-for-7-4-7-v7-stable/
Config for testing:
global(
workDirectory="/tmp"
)
module(load="imudp")
module(load="omrelp")
input(type="imudp"
port="514"
)
action(type="omrelp"
target="localhost"
port="2514"
action.resumeRetryCount="-1"
queue.saveonshutdown="on"
queue.type="LinkedList"
queue.filename="omrelp"
queue.maxfilesize="100M"
queue.maxdiskspace="1M"
queue.checkpointinterval="100"
queue.highwatermark="10"
)
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/1380976/+subscriptions
More information about the foundations-bugs
mailing list