![]() If you are unable to clear any disk space I would recommend upgrading your Droplet.Error response from daemon: mkdir /var/lib/docker/tmp/docker-builder983959066: no space left on deviceįrom this point on, you won’t be able to build new containers or images until…ġ) you delete existing contaimers or imagesĢ) completely delete the virtual disk image that contains all of your docker containers and images The Breakdown This would cause issues with your database. Note: if you have a database service like MySQL, make sure Not to delete any files manually from the MySQL folder. We’ve found the folder! We can see how many files are in the folder by running this command: ls -lah | wc -l Then one more time: cd du -h -max-depth=1 We would need to do that a few more times until we get to the folder that is using those 5GB: cd du -h -max-depth=1 Then we can cd into the largest folder and run the command again: cd du -h -max-depth=1 If there are no large files maybe there are a lot of small files which are exhausting the available webspace, what you could do is use the du command which estimates the file space usage:.You can then go ahead and delete any of the large files that you do not need. rw-r-r- 1 root root 1.8G May 13 15:42 /home/bobby/public_html/error_logĭepending on the size of your disk, the command might take a while to complete. rw-r-r- 1 root root 1.8G May 13 15:43 /home/bobby/public_html/wp-content/core.dump rw-r-r- 1 root root 1.8G May 13 15:42 /home/bobby/large-file.txt The output should look something like: -rw-r-r- 1 root root 1.8G May 13 15:43 /home/user1/large-file.txt Sudo find / -type f -size 500M -exec ls -lh \ Then depending on the partition which is filling up you could use the following command to find any files that are larger than 500MB for example:.Also if you have enough space, make sure to check your Inode usage:.Basically the df command reports the file system disk space usage. In my case I am using 20G out of 25GB available for my root partition. The output would look something like this: Filesystem Size Used Avail Use% Mounted on First check how much space you have available and which partition is filling up with the following command:.I would recommend starting with the following: ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |