Arbitrary file limit in garbage-collection cron script causes loss of service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Lucid |
Won't Fix
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Unassigned |
Bug Description
PHP in Ubuntu 10.04.2 LTS includes /etc/cron.d/php5:
09,39 * * * * root [ -x /usr/lib/
$ dpkg -S /etc/cron.d/php5
php5-common: /etc/cron.d/php5
if your server generates PHP sessions faster than they can be deleted by the cron job, the disk on which /var/lib/php5 is located will run out of inodes, and thence to a loss of service.
It is caused by this upstream workaround:
http://
The latest version of the cron job that does PHP session garbage collection is here:
http://
This is related to Bug #316441 and Bug #482720
Thanks for raising this bug. This will be fixed in oneiric with the next merge, and i have opened a task against Lucid.
Thanks.