I am a total newbie with a VPS server running WHM/CPanel. Recently my server disk space was full and all Cpanel access and emails stopped working until I purchased additional space. I couldn't log in to my server to delete any files!!
Anyways, the crux of the problem is this...
I have a 3gig server, 1 gig of which is used up by people hosting domains on my server. They are all people I know personally, and none of them are hosting particualry large amounts of files. The remaining 2 gig however seems to be made up of system files/logs. I have had the server for 3 years so presumably it has all built up over time. Can anyone tell me how best to find out how to delete these logs, or any other suggestions as to what could be taking up all the space on my server?? Many thanks for your help!!!
You probably already know this: apart from /proc/kcore, that was a list of your largest files.
Checking against the disk usage you provided earlier, you don't really have any single, excessively large file. Which means it's most likely just the sum of whatnots here and there.
As you mentioned: ~1 GB is your user accounts; another ~0.9 GB (roughly) is your cPanel -- which from what I know is a little high, but still within the reasonable range (I don't use cPanel myself though, so if someone can tell me different, please do so ); then you have the architecture, /var/log, and /usr/local/apache/logs adding up to ~0.7 GB; the rest of the stuff making up the rest of the disk usage.
If you are keen on reducing disk usage, you should probably work on the user accounts and the logs at /var/log and /usr/local/apache/logs.