init ran out of file descriptors, spinning while trying to start a broken service

Bug #947591 reported by Kai Groner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)
New
Undecided
Unassigned

Bug Description

After updating to 12.04 beta1, mysql service was broken.

I noticed my fan turn on a while after running sudo service mysql status (never completed).

:; sudo strace -f -p 1
Process 1 attached - interrupt to quit
pipe([1022, 1023]) = 0
open("/dev/ptmx", O_RDWR|O_NOCTTY) = -1 EMFILE (Too many open files)
close(1022) = 0
close(1023) = 0
pipe([1022, 1023]) = 0
open("/dev/ptmx", O_RDWR|O_NOCTTY) = -1 EMFILE (Too many open files)
close(1022) = 0
close(1023) = 0
pipe([1022, 1023]) = 0
.
.
.
^C

:; sudo ls -lv /proc/1/fd | grep -c /var/log/upstart/mysql.log
1005

I guess this is probably the same as #940290

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: upstart 1.4-0ubuntu8
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.94-0ubuntu1
Architecture: amd64
Date: Mon Mar 5 17:59:16 2012
EcryptfsInUse: Yes
ExecutablePath: /sbin/init
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
SourcePackage: upstart
UpgradeStatus: Upgraded to precise on 2012-03-02 (3 days ago)

Revision history for this message
Kai Groner (kai-gronr) wrote :
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.