FS#27875 - [logrotate] use nice and ionice to avoid slowing down system

Attached to Project: Arch Linux
Opened by Swift Geek (swiftgeek) - Sunday, 08 January 2012, 17:10 GMT
Last edited by Eric Belanger (Snowman) - Monday, 09 January 2012, 23:16 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Use nice and ionice to avoid slowing down system

When logrotate begins compressing large log files, it will slow down our
server because of I/O activity to the point where it causes downtime.

It might be a good idea to start logrotate with a lower priority.

-----
Slighty modified similar file from man-db
/etc/cron.daily/logrotate

http://pastebin.com/5HcYi83C
-----

Cheers
This task depends upon

Closed by  Eric Belanger (Snowman)
Monday, 09 January 2012, 23:16 GMT
Reason for closing:  Implemented
Additional comments about closing:  in svn trunk
Comment by Swift Geek (swiftgeek) - Sunday, 08 January 2012, 17:16 GMT
Whoa ... sth here (at bugzilla) is evil :<
I clicked on "Tasks I reported" and the list was blank so ... i though that i reported it *in dream*....
-.-
https://bugs.archlinux.org/task/27794?project=1&opened=3941


At least this time i provided nice fix ;)
Comment by Jelle van der Waa (jelly) - Monday, 09 January 2012, 19:10 GMT
Assigned to last packager

Loading...