In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
How to solve the shortage of linux space? Many people do not understand, today the editor in order to let you know more about the solution to the lack of linux space, so give you a summary of the following content, let's look down.
First of all, we need to know the reason for the lack of linux space:
1. The disk is full
2. Memory is full
Solutions to insufficient disk space:
1. First determine whether there is insufficient disk space.
Enter the command: df-h to view disk information
Obviously: the mount point under Filesystem / 40G capacity under dev/xvda1 has been exhausted, and the easiest way is to find large and useless files and delete them. The first choice is the log file.
2. Enter the command: du-h-- max-depth=1 to find which folder takes up the most space in the current directory.
3. Enter the logs folder
Enter command: ls-lhS presents files in order from largest to smallest
Enter the command: >. / catalina.out to complete the cleanup.
Note: if the process is in use when cleaning log, either an error will be reported when deleting using rm-f, or even if the disk is deleted, the disk is still full, so using the command to empty the contents of the log file is better than deleting this file.
On how to solve the lack of linux space to share here, of course, not only the above and everyone's analysis, but the editor can ensure that its accuracy is absolutely no problem. I hope that the above content can have a certain reference value for everyone, and can be put into practice. If you like this article, you might as well share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.