Add support for ionice stanza
Bug #1082645 reported by
Christian Kampka
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Upstart already supports nice(2) via the nice stanza.
It would be very useful for disk intensive processes to be run with adjusted io scheduling using a respective ionice stanza.
Changed in upstart: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
To post a comment you must log in.
Until this is implemented you can use a .override file to make upstart ionice the process. Using $$ doesn't work, as it seems to run in a subshell but using the pared PID works well. For example my /etc/init/ cron.override file looks like this:
nice 15
pre-start script
ionice -c3 -p $PPID
end script