Inode problems

So i discovered my server had ran out of inodes yet had lots of space left.

This caused quite a few problems for me!

After a quick search i found

find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n

at root showed me where the inodes were being used.

A little deeper investigation i discovered this post on cpanel’s forums

so with the cpanel script


I could purge the old comet files and release all those inodes again!

I had previously been under attack from spam email.