fuser processes from Apache(?)
Waleed Hamra
kubuntu-users at whamra.com
Mon Nov 14 18:42:46 UTC 2011
On 11/14/2011 12:17 PM, Thomas Olsen wrote:
> Hi
>
> Yesterday I installed Apache with php5. Since then I have several times
> experienced my system being unusable because of a lot of 'fuser' processes:
>
> 2559 ? Ss 0:00 /bin/sh -c [ -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
> 2564 ? S 0:00 find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -
> type f -cmin +24 ! -execdir fuser -s {} ; -delete
> 3967 ? R 0:03 fuser -s ./sess_2ehce2ict2u8bovo40ifp1nb81
> 3968 ? Z 0:00 [fuser]<defunct>
> 3969 ? Z 0:00 [fuser]<defunct>
> 3970 ? Z 0:00 [fuser]<defunct>
> 3971 ? Z 0:00 [fuser]<defunct>
>
> Doing a count gives:
>
> ps ax|grep fuser|wc -l
> 17485
>
> Any ideas on what's causing this?
>
yeah, a nasty bug introduced in 11.10.
a cron job that is supposed to clean php sessions calls fuser for every
php file apparently.
this forum page has some suggested solutions:
http://ubuntuforums.org/archive/index.php/t-1862472.html
and this is the actual bug report if you want to join it:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/877894
--
Waleed Hamra
More information about the kubuntu-users
mailing list