Hopefully, someone can help me,
A Magento website I'm managing keeps going down, I've determined it to be the fact that it has used up all of the Inode space on the server.
The output to df -i is below..
/dev/vda1 3932160 3932160 0 100% / none 506035 2 506033 1% /sys/fs/cgroup udev 503322 402 502920 1% /dev tmpfs 506035 323 505712 1% /run none 506035 4 506031 1% /run/lock none 506035 1 506034 1% /run/shm none 506035 2 506033 1% /run/user
As you can see it is quite clearly the top one with the problem. As it's a Magento site, I do have a feeling it's the var/session folder. I have changed to it's directory within PUTTY (the session folder) and typed in 'ls' and the list seems to go on forever. I should delete them all, no?
So my file system is out of inodes.. and the session folder I believe is the culprit, How can i go about resolving this? I.e what code do i input to delete said session files?