Comment 0 for bug 1212142

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote : Slow shutdown on saucy with sendsigs waiting 10 seconds

I've the S20sendsigs waiting 10 seconds on each shutdown, making the shutdown slow.

I hacked around to debug it (probably completely wrongly), and ended up with the attached pids.txt. What is shows are the processes still after 9 seconds spent in the killall5 loop, with the pids from OMITPIDS removed from my ps ax output. It leaves only init, kernel processes, S20sendsigs itself and initctl which in my opinion should be enough not to wait for yet another second? The same output is there after two seconds already.

I've workarounded it now by changing the "for seq in 1 2 3 4 5 6 7 8 9 10; do" to "for seq in 1 ; do" which gives me a snappy shutdown back.