After PHP upgrade I started to get the following cron errors several times a day:
find: `/proc/xxxxx/fd': No such file or directory
It comes from PHP sessionclean cron job:
[ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean
Any ideas?
There now is a Debian bug reported (and fixed) about this.
It mentions about a release to stable:
In the next security upload, e.g. roughly two weeks after 5.6.23 is released, unless something else critical shows up.
5.6.23 is out, so I expect it within the next two weeks.
The fix there is to add
if [ -d "/proc/$pid/fd" ]; then
before the
find "/proc/$pid/fd"
command.
You can ignore those errors, the sessionclean
search for session attached to a no longer existing pid.
[ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean 2>/dev/null
You should look inside your session directory to check that they are correctly cleaned because such message might be symptomatic of a too long processing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With