Insufficient centos disk space

Source: Internet
Author: User

Disk alert today, insufficient space, not found for a long time.

The following describes the procedure.

[[email protected] /]# du -sch /*6.6M     /bin39M     /boot161M     /data164K     /dev12M     /etc115M     /home240M     /lib25M     /lib6420K     /lost+found4.0K     /media4.0K     /mnt291M     /optdu: cannot access `/proc/27198/task/27198/fd/4‘: No such file or directorydu: cannot access `/proc/27198/task/27198/fdinfo/4‘: No such file or directorydu: cannot access `/proc/27198/fd/4‘: No such file or directorydu: cannot access `/proc/27198/fdinfo/4‘: No such file or directory0     /proc206M     /root11M     /sbin4.0K     /selinux4.0K     /srv0     /sys1.1M     /tmp2.6G     /usr1.4G     /var5.1G     total

A total of 5.1g disks are used, but 15 GB is used.

[[email protected] /]# df -hFilesystem      Size  Used Avail Use% Mounted on/dev/xvda1       20G   15G  4.3G  78% /tmpfs           1.9G  4.0K  1.9G   1% /dev/shm

It is strange to ask the experts in the group that the xen virtual machine will encounter this bug when running Java, and the Java program will resume normal after it is restarted.

[[email protected] /]# killall java[[email protected] /]# ps -ef |grep javaroot     27766 26125  0 11:34 pts/0    00:00:00 grep java[[email protected] /]# /etc/init.d/elasticsearch startStarting elasticsearch:                                    [  OK  ][[email protected] /]# cd /usr/local/src/logstash-1.4.2/[[email protected] logstash-1.4.2]# df -hFilesystem      Size  Used Avail Use% Mounted on/dev/xvda1       20G  5.2G   14G  28% /tmpfs           1.9G  4.0K  1.9G   1% /dev/shm[[email protected] logstash-1.4.2]# bin/logstash -f conf/indexer.conf &[1] 28116


This article is from the "charlie_cen" blog, please be sure to keep this source http://charlie928.blog.51cto.com/3741218/1559329

Insufficient centos disk space

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.