Add support for ionice stanza

Bug #1082645 reported by Christian Kampka
18
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.

Steve Langasek (vorlon)
Changed in upstart:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Paul Tobias (tobias.pal) wrote :

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.