Control Web Panel

WebPanel => Information => Topic started by: darkness on November 28, 2017, 07:49:10 AM

Title: High disk usage?
Post by: darkness on November 28, 2017, 07:49:10 AM
Code: [Select]
[root@server ~]# sh /scripts/disk_check
75M     /var/log/
61M     /usr/local/apache/logs/
94M     /usr/local/cwpsrv/logs/
2.1M    /tmp
41M     /root
467M    /var/lib/mysql/
[root@server ~]#
Code: [Select]
[root@server ~]# du -sh /
48G     /
[root@server ~]#
Code: [Select]
[root@server ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_server-lv_root
                       50G   43G  4.4G  91% /
tmpfs                  16G     0   16G   0% /dev/shm
/dev/cciss/c0d0p1     477M   77M  376M  17% /boot
/dev/mapper/vg_server-lv_home
                      296G  5.7G  275G   3% /home
[root@server ~]#
Any idea why it`s happening like this and how to fix it? Yes, I have a lot of files with big sizes in /home/hosting and /home/shopping but it`s supposed to be in /home, not in /. Any ideas accepted.
Title: Re: High disk usage?
Post by: 24x7servermanagement on November 28, 2017, 11:29:12 PM
What is the output of command

Code: [Select]
  du -sch /*