My VPS is running out of space for some anonymous reason. Even my weirdo server mgmt company is not able to figure that out but my sites are having internal server error so I can't leave it ignored. Can someone please give me an idea on what might have caused it? Maybe your suggestions would be of great help. Thanks in advance!
Did you monitor the apache error logs on the server the time you receive Internal Server Error ? If you could paste the output of the error logs, it will help to track down the issue in right direction.
I dont know if this is a gradual problem, or something that took place for you overnight. But just keep in mind that on a vps, *everything* takes up space. This includes data stored in sql tables, domains (like parked domains), accounts, dns entries, emails and anything else I missed. Often looking in the file manager, will only show you the files you are storing, but wont show you the size of the databases. Databases are sometimes used to store ridiculous amounts of data these days, so perhaps look into clearing out older records that you might not need. I would also recommend making sure that you dont have any unneeded backups still on your system. It has been a very long time since i logged into a vps with ssh, so i cannot offer much advice for this. But, for me, everytime I had to do a full cpanel restoration, I had to move the backup file onto the vps via ssh. And I would often leave the backup file there and not delete it and over time, it did take up a bit of space. Logging in with ssh is the only way that I know of to see 'everything' and to remove backup files that you placed there for restoration. Hope it helps. If you find out what the cause and solution is, please let us know. Thanks.
Hello there, Run the following command from a terminal session to determine disk usage: du -h --max-depth=1 / Code (markup): When you find out what the largest directories are, you can start drilling down deeper by adding the directory onto the command, for example: du -h --max-depth=1 /home Code (markup): I also agree with the comments above from MilesGeek, taking a look at your error logs may help you figure out if it is indeed a disk space issue, or some other issue that is causing you 500 errors. Hope the helps, Chris
Did you checked your /tmp , /root & /home ? Also try to run df -h and check which one is getting overloaded .