[Bug 482720] Re: Php cron job fails when there are a lot of session files in /var/lib/php5
Nonox
482720 at bugs.launchpad.net
Mon Aug 13 20:28:23 UTC 2012
Hi guys!
I'm running ubuntu 12.04 and I have the same problem:
Take a look:
$ grep -i cron /var/log/syslog
Aug 13 16:39:01 one CRON[7303]: (root) CMD ( [ -x
/usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find
/var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin
+$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \;
-delete)
More info...
Every hour cron sends me an email like this:
---------- Forwarded message ----------
From: root <my at gmail.com>
Date: 2012/8/13
Subject: Cron <root at one> [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete
To: root
Failed loading /usr/lib/php5/20090626/xdebug.so:
/usr/lib/php5/20090626/xdebug.so: cannot open shared object file: No
such file or directory
More info...
$ ls /usr/lib/php5/
20090626+lfs build libexec maxlifetime
What should I do, remove php5 from my cron? Or rename the directory
/usr/lib/php5/20090626+lfs/ to /usr/lib/php5/20090626 ?
Thanks in advance!
nonox
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/482720
Title:
Php cron job fails when there are a lot of session files in
/var/lib/php5
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/482720/+subscriptions
More information about the Ubuntu-server-bugs
mailing list