i'm running into problem here with my PHP sessions and i have no clue how to fix this.
>> df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vglocal20120426-root00 36274176 32885458 3388718 91% /
tmpfs 6176642 1 6176641 1% /dev/shm
/dev/sda1 64000 47 63953 1% /boot
/dev/mapper/vglocal20120426-tmp00 131072 1703 129369 2% /tmp
and
>> df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vglocal20120426-root00 545G 248G 270G 48% /
tmpfs 24G 0 24G 0% /dev/shm
/dev/sda1 243M 31M 199M 14% /boot
/dev/mapper/vglocal20120426-tmp00 2.0G 802M 1.1G 42% /tmp
and i have this crazy stats
drwx-wx-wt 2 root root 1016389632 Jul 9 08:13 session
iNodes is already 91% and keeps growing each second. The problem is i dont have huge traffic (based on real time analytics) to my website. I'm not sure whats going on here. How to traceback the problem and prevent this from happening again.
We turned off the PHP garbage collector and using cronjob instead every 8 hours to delete old sessions.
Right now the tech support runs a script to delete the session files, its been running forever so its like never ending process.
Appreciate if anyone can help me here. Thanks