[Bug 1207848] [NEW] Shutdown takes an unusual amount of time

Jan Rathmann janrathmann at t-online.de
Fri Aug 2 17:43:12 UTC 2013


Public bug reported:

Hello,

my system takes a rather long time to shutdown (~7-10 sec.) while there
are often error messages flashing on the screen like:

- Killing all remaining processes failed
- Mount: / is busy

To investigate the problem, I patched my /etc/init.d/umountfs and
umountroot  scripts with the proposed changes from
https://code.launchpad.net/~jamesodhunt/ubuntu/saucy/sysvinit/log-
processes-and-open-files-on-shutdown/+merge/163740 to log open files at
shutdown and attached the resulting shutdown-lsof.log here.

The only thing in that log that looks suspicious to me are the ones
regarding dhclient:

dhclient  5786    1        0  cwd    DIR  252,5     4096      2 /
dhclient  5786    1        0  rtd    DIR  252,5     4096      2 /
dhclient  5786    1        0  txt    REG  252,5  1659968 654751 /sbin/dhclient
dhclient  5786    1        0  mem    REG  252,5    52168 786517 /lib/x86_64-linux-gnu/libnss_files-2.17.so
dhclient  5786    1        0  mem    REG  252,5  1848024 786477 /lib/x86_64-linux-gnu/libc-2.17.so
dhclient  5786    1        0  mem    REG  252,5   149312 786464 /lib/x86_64-linux-gnu/ld-2.17.so
dhclient  5786    1        0    4w   REG  252,5     1058  21443 /var/lib/NetworkManager/dhclient-8f9a3dff-24e6-4374-b0b2-c38524cdc0ce-eth0.lease

Maybe there is some problem shutting down NetworkManager? I found the
respective dhclient entries on two separate shutdown logs.

Kind regards,
Jan

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: upstart 1.8-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-25.37-generic 3.8.13
Uname: Linux 3.8.0-25-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
CheckboxSubmission: b37fefbc97df4ba6a5f7edd504648fe4
CheckboxSystem: 4ed15c40009aa6f7770f606350a390a2
Date: Fri Aug  2 19:30:06 2013
InstallationDate: Installed on 2013-04-10 (114 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130410)
MarkForUpload: True
ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.8.0-25-generic root=/dev/mapper/internal--ssd-root ro quiet
SourcePackage: upstart
UpgradeStatus: No upgrade log present (probably fresh install)
UpstartBugCategory: System
modified.conffile..etc.at.deny: [inaccessible: [Errno 13] Keine Berechtigung: '/etc/at.deny']

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug raring

** Attachment added: "shutdown-lsof.log"
   https://bugs.launchpad.net/bugs/1207848/+attachment/3758440/+files/shutdown-lsof.log

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

Title:
  Shutdown takes an unusual amount of time

Status in “upstart” package in Ubuntu:
  New

Bug description:
  Hello,

  my system takes a rather long time to shutdown (~7-10 sec.) while
  there are often error messages flashing on the screen like:

  - Killing all remaining processes failed
  - Mount: / is busy

  To investigate the problem, I patched my /etc/init.d/umountfs and
  umountroot  scripts with the proposed changes from
  https://code.launchpad.net/~jamesodhunt/ubuntu/saucy/sysvinit/log-
  processes-and-open-files-on-shutdown/+merge/163740 to log open files
  at shutdown and attached the resulting shutdown-lsof.log here.

  The only thing in that log that looks suspicious to me are the ones
  regarding dhclient:

  dhclient  5786    1        0  cwd    DIR  252,5     4096      2 /
  dhclient  5786    1        0  rtd    DIR  252,5     4096      2 /
  dhclient  5786    1        0  txt    REG  252,5  1659968 654751 /sbin/dhclient
  dhclient  5786    1        0  mem    REG  252,5    52168 786517 /lib/x86_64-linux-gnu/libnss_files-2.17.so
  dhclient  5786    1        0  mem    REG  252,5  1848024 786477 /lib/x86_64-linux-gnu/libc-2.17.so
  dhclient  5786    1        0  mem    REG  252,5   149312 786464 /lib/x86_64-linux-gnu/ld-2.17.so
  dhclient  5786    1        0    4w   REG  252,5     1058  21443 /var/lib/NetworkManager/dhclient-8f9a3dff-24e6-4374-b0b2-c38524cdc0ce-eth0.lease

  Maybe there is some problem shutting down NetworkManager? I found the
  respective dhclient entries on two separate shutdown logs.

  Kind regards,
  Jan

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: upstart 1.8-0ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-25.37-generic 3.8.13
  Uname: Linux 3.8.0-25-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.9.2-0ubuntu8.3
  Architecture: amd64
  CheckboxSubmission: b37fefbc97df4ba6a5f7edd504648fe4
  CheckboxSystem: 4ed15c40009aa6f7770f606350a390a2
  Date: Fri Aug  2 19:30:06 2013
  InstallationDate: Installed on 2013-04-10 (114 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130410)
  MarkForUpload: True
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.8.0-25-generic root=/dev/mapper/internal--ssd-root ro quiet
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  modified.conffile..etc.at.deny: [inaccessible: [Errno 13] Keine Berechtigung: '/etc/at.deny']

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




More information about the foundations-bugs mailing list