Linode server crashed. How I solved it.

2013-07-20 107 words 1 min read

My linode server crashed yesterday.

I am not familiar with linux system. Just google to solve the problem.
1. run "df -h" to see my disk image is almost not free space available. It is the reason that my websites often crashed.

2. apt-get install ncdu

3. ncdu to see which directory has the large files.

4. Find one cache folder is over 11G. Desided to delete it.

5. rm -rf command is very slow

6.So I tried another one: apt-get install rsync

7.mkdir empty directory.

8.run the command. rsync -a --delete empty/ cache/

9. Done. Much quickier than rm. I get my free space back now:)

author

Authored By Jesse Lau

A freelancer living in New Zealand, engaged in website development and program trading. Ever won 1st ranking twice in the Dukascopy Strategy Contest. This article is licensed under a Creative Commons Attribution 4.0 International License.

We notice you're using an adblocker. If you like our webite please keep us running by whitelisting this site in your ad blocker. We’re serving quality, related ads only. Thank you!

I've whitelisted your website.

Not now

Post Your Comments Here:

Our website uses cookies to improve your user experience. If you continue browsing, we assume that you consent to our use of cookies. More information can be found in our privacy policy Got it