fuser forks and never reaps its children
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
psmisc (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
$ lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
# cat /etc/cron.d/php5
# /etc/cron.d/php5: crontab fragment for php5
# This purges session files older than X, where X is defined in seconds
# as the largest value of session.
# files, or 24 minutes if not defined. See /usr/lib/
# Look for and purge old sessions every 30 minutes
09,39 * * * * root [ -x /usr/lib/
When
find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/
is run either from cron or manually, fuser forks itself until the system is unable to fork any new processes (which affects the whole system).
# ps -C fuser | wc -l
22634
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: psmisc 22.14-1
ProcVersionSign
Uname: Linux 3.0.0-12-server x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Wed Oct 19 04:36:08 2011
ExecutablePath: /bin/fuser
InstallationMedia: Ubuntu-Server 10.04.2 LTS "Lucid Lynx" - Release amd64 (20110211.1)
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.UTF-8
SourcePackage: psmisc
UpgradeStatus: Upgraded to oneiric on 2011-10-19 (0 days ago)
Changed in php5 (Ubuntu): | |
importance: | Undecided → High |
Changed in psmisc (Ubuntu): | |
importance: | Undecided → High |
Output of ps -faux when the problem occurs