upstart won't collect zombies?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Hi, I was just on #ubuntu and was talking to a user who had a problem with his CD drive not unmounting. He pastebinned the output of ps -ef, which was interesting:
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 Feb28 ? 00:00:00 /sbin/init splash
root 2 1 0 Feb28 ? 00:00:00 [migration/0]
root 3 1 0 Feb28 ? 00:00:01 [ksoftirqd/0]
root 4 1 0 Feb28 ? 00:00:00 [watchdog/0]
root 5 1 0 Feb28 ? 00:00:00 [events/0]
root 6 1 0 Feb28 ? 00:00:00 [khelper]
root 7 1 0 Feb28 ? 00:00:00 [kthread]
root 9 7 0 Feb28 ? 00:00:00 [kblockd/0]
root 10 7 0 Feb28 ? 00:00:00 [kacpid]
root 11 7 0 Feb28 ? 00:00:00 [kacpi_notify]
root 120 7 0 Feb28 ? 00:00:00 [kseriod]
root 152 7 0 Feb28 ? 00:00:00 [pdflush]
root 153 7 0 Feb28 ? 00:00:00 [pdflush]
root 154 1 0 Feb28 ? 00:00:00 [kswapd0]
root 155 7 0 Feb28 ? 00:00:00 [aio/0]
root 1777 7 0 Feb28 ? 00:00:00 [ata/0]
root 1781 7 0 Feb28 ? 00:00:00 [scsi_eh_0]
root 1782 7 0 Feb28 ? 00:00:00 [scsi_eh_1]
root 1783 7 0 Feb28 ? 00:00:00 [scsi_eh_2]
root 1784 7 0 Feb28 ? 00:00:00 [scsi_eh_3]
root 1964 7 0 Feb28 ? 00:00:00 [khubd]
root 1990 7 0 Feb28 ? 00:00:00 [khpsbpkt]
root 2012 1 0 Feb28 ? 00:00:00 [knodemgrd_0]
root 2028 7 0 Feb28 ? 00:00:00 [kmirrord]
root 2072 7 0 Feb28 ? 00:00:00 [kjournald]
root 2153 1 0 Feb28 ? 00:00:00 //sbin/logd
root 2316 1 0 Feb28 ? 00:00:00 /sbin/udevd --daemon
root 3084 7 0 Feb28 ? 00:00:00 [shpchpd]
root 3163 7 0 Feb28 ? 00:00:00 [scsi_eh_4]
root 3164 7 0 Feb28 ? 00:00:00 [scsi_eh_5]
root 3219 7 0 Feb28 ? 00:00:00 [kgameportd]
root 3477 7 0 Feb28 ? 00:00:00 [kpsmoused]
root 3560 7 0 Feb28 ? 00:00:00 [scsi_eh_6]
root 3561 7 0 Feb28 ? 00:00:03 [usb-storage]
root 3815 7 0 Feb28 ? 00:00:00 [kjournald]
dhcp 4030 1 0 Feb28 ? 00:00:00 dhclient3 -pf /var/run/
root 4144 1 0 Feb28 tty1 00:00:00 /sbin/getty 38400 tty1
root 4145 1 0 Feb28 tty2 00:00:00 /sbin/getty 38400 tty2
root 4146 1 0 Feb28 tty3 00:00:00 /sbin/getty 38400 tty3
root 4147 1 0 Feb28 tty4 00:00:00 /sbin/getty 38400 tty4
root 4148 1 0 Feb28 tty5 00:00:00 /sbin/getty 38400 tty5
root 4149 1 0 Feb28 tty6 00:00:00 /sbin/getty 38400 tty6
root 4360 1 0 Feb28 ? 00:00:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/
root 4533 1 0 Feb28 ? 00:00:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kms
klog 4535 1 0 Feb28 ? 00:00:00 /sbin/klogd -P /var/run/klogd/kmsg
root 4607 1 0 Feb28 ? 00:00:00 /usr/sbin/gdm
root 4608 4607 0 Feb28 ? 00:00:00 /usr/sbin/gdm
root 4631 4608 0 Feb28 tty7 00:11:29 /usr/X11R6/bin/X :0 -br -audit 0 -auth /var/lib/
root 4662 1 0 Feb28 ? 00:00:00 /usr/sbin/hpiod
hplip 4665 1 0 Feb28 ? 00:00:00 python /usr/sbin/hpssd
103 4713 1 0 Feb28 ? 00:00:01 /usr/bin/
106 4728 1 0 Feb28 ? 00:00:22 /usr/sbin/hald
root 4729 4728 0 Feb28 ? 00:00:00 hald-runner
106 4735 4729 0 Feb28 ? 00:00:00 /usr/lib/
106 4751 4729 0 Feb28 ? 00:00:00 /usr/lib/
106 4755 4729 0 Feb28 ? 00:00:00 /usr/lib/
106 4758 4729 0 Feb28 ? 00:00:00 /usr/lib/
106 4762 4729 0 Feb28 ? 00:00:00 /usr/lib/
root 4775 4729 0 Feb28 ? 00:00:16 /usr/lib/
106 4785 4729 0 Feb28 ? 00:00:02 /usr/lib/
106 4787 4729 0 Feb28 ? 00:00:02 /usr/lib/
106 4789 4729 0 Feb28 ? 00:00:02 /usr/lib/
106 4791 4729 0 Feb28 ? 00:00:02 /usr/lib/
106 4802 4729 0 Feb28 ? 00:00:03 /usr/lib/
106 4804 4729 0 Feb28 ? 00:00:03 /usr/lib/
106 4806 4729 0 Feb28 ? 00:00:05 /usr/lib/
106 4808 4729 0 Feb28 ? 00:00:05 /usr/lib/
root 4824 1 0 Feb28 ? 00:00:00 perl /usr/share/
con-man 4867 4608 0 Feb28 ? 00:00:00 x-session-manager
con-man 4904 4867 0 Feb28 ? 00:00:00 /usr/bin/ssh-agent /usr/bin/
con-man 4907 1 0 Feb28 ? 00:00:00 /usr/bin/
con-man 4908 1 0 Feb28 ? 00:00:00 /usr/bin/
con-man 4910 1 0 Feb28 ? 00:00:00 /usr/lib/
con-man 4913 1 0 Feb28 ? 00:00:00 /usr/bin/
con-man 4916 1 0 Feb28 ? 00:00:03 /usr/lib/
con-man 4925 1 0 Feb28 ? 00:00:00 /bin/sh -c /usr/bin/esd -terminate -nobeeps -as
con-man 4926 4925 0 Feb28 ? 00:00:00 /usr/bin/esd -terminate -nobeeps -as 1 -spawnfd
con-man 4936 1 0 Feb28 ? 00:00:05 gnome-panel --sm-client-id default1
con-man 4938 1 0 Feb28 ? 00:00:24 nautilus --no-default-window --sm-client-id defa
con-man 4942 1 0 Feb28 ? 00:00:00 /usr/lib/
con-man 4943 1 0 Feb28 ? 00:00:00 gnome-volume-
con-man 4950 1 0 Feb28 ? 00:00:00 /usr/lib/
con-man 4963 1 0 Feb28 ? 00:00:00 update-notifier
con-man 4971 1 0 Feb28 ? 00:00:00 beryl-manager
con-man 4977 1 0 Feb28 ? 00:00:06 gkrellm
con-man 4982 1 0 Feb28 ? 00:00:00 /usr/lib/
con-man 4995 1 0 Feb28 ? 00:00:01 gnome-cups-icon --sm-client-id default3
con-man 5112 4971 1 Feb28 ? 00:28:07 beryl --skip-gl-yield
con-man 5113 1 0 Feb28 ? 00:00:00 gnome-power-manager
con-man 5134 1 0 Feb28 ? 00:00:00 /usr/lib/
109 5135 1 0 Feb28 ? 00:00:00 /usr/sbin/exim4 -bd -q30m
root 5157 1 0 Feb28 ? 00:00:00 /usr/sbin/
con-man 5220 1 0 Feb28 ? 00:00:00 /usr/lib/
root 5221 1 0 Feb28 ? 00:00:00 /usr/sbin/hcid -x
root 5228 1 0 Feb28 ? 00:00:00 /usr/sbin/sdpd
root 5240 1 0 Feb28 ? 00:00:00 [krfcommd]
con-man 5268 1 0 Feb28 ? 00:00:00 /usr/lib/
ntp 5271 1 0 Feb28 ? 00:00:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -u 110:116
daemon 5308 1 0 Feb28 ? 00:00:00 /usr/sbin/atd
root 5325 1 0 Feb28 ? 00:00:00 /usr/sbin/cron
con-man 5453 1 0 Feb28 ? 00:00:00 /usr/lib/
con-man 5469 1 0 Feb28 ? 00:00:31 xchat-gnome
con-man 5474 1 0 Feb28 ? 00:00:17 gnome-screensaver
con-man 5502 1 0 Feb28 ? 00:00:10 xmms
dhcp 5536 1 0 Feb28 ? 00:00:00 dhclient3 -pf /var/run/
con-man 5570 1 0 Feb28 ? 00:05:20 /usr/lib/
con-man 5600 1 0 Feb28 ? 00:00:37 gaim
con-man 5626 1 0 Feb28 ? 00:00:06 evolution-2.8
con-man 11721 4971 0 Feb28 ? 00:00:15 emerald --replace
root 8195 1 0 07:35 ? 00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 8199 8195 0 07:35 ? 00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 8200 8195 0 07:35 ? 00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 8201 8195 0 07:35 ? 00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 8202 8195 0 07:35 ? 00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 8203 8195 0 07:35 ? 00:00:00 /usr/sbin/apache2 -k start -DSSL
cupsys 8230 1 0 07:35 ? 00:00:00 /usr/sbin/cupsd
root 8363 1 0 07:36 ? 00:00:00 /sbin/syslogd
con-man 8396 1 0 21:38 ? 00:00:11 [wxvlc] <defunct>
root 9068 4729 0 21:50 ? 00:00:00 /bin/bash /usr/share/
root 9074 9068 0 21:50 ? 00:00:00 /bin/bash /usr/share/
con-man 9075 9074 0 21:50 ? 00:00:00 su -c eject '/dev/hdb' con-man
con-man 9076 9075 0 21:50 ? 00:00:00 eject /dev/hdb
con-man 9157 1 1 21:52 ? 00:00:27 [totem] <defunct>
con-man 9311 1 0 21:55 ? 00:00:00 eject /dev/hdd
root 9623 4729 0 22:02 ? 00:00:00 /bin/bash /usr/share/
root 9629 9623 0 22:02 ? 00:00:00 /bin/bash /usr/share/
con-man 9630 9629 0 22:02 ? 00:00:00 su -c eject '/dev/hda' con-man
con-man 9631 9630 0 22:02 ? 00:00:00 [eject]
con-man 9741 1 0 22:05 ? 00:00:07 wxvlc
con-man 9919 1 0 22:06 ? 00:00:02 wxvlc
root 9966 1 0 22:07 ? 00:00:00 mount /dev/hda
root 9992 1 0 22:07 ? 00:00:00 mount /dev/hdd
root 10021 1 0 22:07 ? 00:00:00 mount /dev/hdc
con-man 10159 1 0 22:10 ? 00:00:00 eject /dev/hda
root 10193 1 0 22:10 ? 00:00:00 eject /dev/hda
con-man 10296 1 0 22:13 ? 00:00:00 wxvlc
root 10334 1 0 22:13 ? 00:00:00 mount cdrom0
root 10359 1 0 22:13 ? 00:00:00 mount /media/cdrom1
root 10385 1 0 22:14 ? 00:00:00 mount /media/cdrom3
root 10416 1 0 22:14 ? 00:00:00 mount /media/cdrom2
con-man 10459 1 0 22:15 ? 00:00:03 gnome-terminal
con-man 10461 10459 0 22:15 ? 00:00:00 gnome-pty-helper
con-man 10462 10459 0 22:15 pts/10 00:00:00 bash
con-man 10804 10462 0 22:23 pts/10 00:00:00 ps -ef
It looks like totem is a zombie, and its PID is init, but it is not dieing. My understanding is that init should always let its children die, but apparently this is not happening. This is on Edgy, so I think that here upstart is acting as init.
Changed in upstart: | |
importance: | Undecided → Medium |
Could you provide the output of "ps -ely" instead please; there's no particular evidence that they've failed to be reaped, the multiple running mount/eject processes point to a different problem.