High Disk Usage?

Hi

We have had a few people with high disk usage create support tickets as their sites were very small.

Before you make a support ticket please run the following command in your VPS.

Login to ssh as root first then run:

find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }' 

That should output the "large" files on your vps server, it make take a while to scan them all.

Most of the time you will notice large log files some even over 10gb.

These are what is taking up your space.

 

you can use the following command to delete them:

rm -f path_of_log_file

first you may want to view them using this command:

cat path_of_log_file | more


At this point you have a few options.

1. Manually delete files every few days

2. Make a cron to auto delete the files

3. Turn off the logging (you should only do this if you don't need the logs)

 

If you have any problems please create a low priority support ticket.

Post from !

Kindest Regards,

Tom

  • 0 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

General VPS Commands

  All these commands can be run in SSH as the root user   top like windows task manager We...

How long will setup take for my VPS?

Our VPS services are all setup to be automatically created. Leave it about 15min from your order...

How to disable the built in firewall, IPtables.

Most of our VPS images will come with IPtables installed. If your having connections problems...

How to install cPanel on a VPS?

Create a support ticket and we can install for no charge. Or Use your VPS control interface to...

How to see if my VPS is been brute forced?

Some hackers will try to brute force your VPS passwords, its the same with all servers on the...