[Bug 1212142] Re: Slow shutdown/restart on saucy with sendsigs waiting 10 seconds

b3nmore 1212142 at bugs.launchpad.net
Tue Nov 19 18:02:21 UTC 2013


I see this in 12.04.3 as well, at least occasionally.

The attached screenshot shows a delayed shutdown/reboot. I've modified
/etc/init.d/sendsigs to ps the ommited pids before killall5 -15 or
killall -9 respectively. Additionally if killall5 -9 is called, all pids
except the kernel threads are printed.

** Attachment added: "delayed_shutdown.jpg"
   https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1212142/+attachment/3912792/+files/delayed_shutdown.jpg

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/1212142

Title:
  Slow shutdown/restart on saucy with sendsigs waiting 10 seconds

Status in “sysvinit” package in Ubuntu:
  Confirmed
Status in “sysvinit” source package in Saucy:
  Confirmed

Bug description:
  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.
  --- 
  ApportVersion: 2.12-0ubuntu3
  Architecture: amd64
  CheckboxSubmission: 1896b893828b4203b948b1eb6546be06
  CheckboxSystem: d00f84de8a555815fa1c4660280da308
  DistroRelease: Ubuntu 13.10
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2012-03-16 (515 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120316)
  MarkForUpload: True
  Package: initscripts 2.88dsf-41ubuntu3
  PackageArchitecture: amd64
  ProcVersionSignature: Ubuntu 3.11.0-2.5-generic 3.11.0-rc5
  Tags:  saucy
  Uname: Linux 3.11.0-2-generic x86_64
  UpgradeStatus: Upgraded to saucy on 2013-06-04 (70 days ago)
  UserGroups: adm autopilot cdrom dip lp lpadmin motion plugdev sambashare sudo
  mtime.conffile..etc.init.d.sendsigs: 2013-08-14T07:58:07.021383

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1212142/+subscriptions



More information about the foundations-bugs mailing list