I run a fairly busy website that creates lots of session files in the /tmp folder. Recently I started getting this mySQL error:
MySQL said: Can't create/write to file '/tmp/MLX3o6NG' (Errcode: 28 - No space left on device)
So I checked with df -i
and found:
/usr/tmpDSK 262144 262143 1 100% /tmp
It looks like the inodes are full. What is the best thing I could do?
Move the PHP session files to another directory? If so, how? The /
partition for example has 179691356
free inodes.