[root@dns ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/cos-root 499G 494G 5.2G 99% / devtmpfs 2.9G 0 2.9G 0% /dev tmpfs 2.9G 0 2.9G 0% /dev/shm tmpfs 2.9G 8.7M 2.9G 1% /run tmpfs 2.9G 0 2.9G 0% /sys/fs/cgroup /dev/vda1 985M 202M 733M 22% /boot tmpfs 581M 0 581M 0% /run/user/0 tmpfs 581M 0 581M 0% /run/user/1002 actual size of sites is about 70gb size of /var folder is about 7 gb can you help me figure out this problem and how to solve it.
I think you are running out of space delete some files check out these tutorial on finding large files and delete any unwanted stuff https://www.webhostingforums.com/threads/how-to-find-large-files-using-ssh-in-vps.835/
Hello, I found one big file with your forum link but still unable to find where most of vps space is being used. with further investigation [root@dns ~]# du -h --max-depth=1 /home 0 /home/cPanelInstall 1.1M /home/.cpcpan 69G /home/virtfs 168M /home/cpanelsolr 16K /home/clamav 47G /home/username 116G /home [root@dns ~]# du -h --max-depth=1 / 231M /boot 0 /dev du: cannot access ‘/proc/7647/task/7647/fd/4’: No such file or directory du: cannot access ‘/proc/7647/task/7647/fdinfo/4’: No such file or directory du: cannot access ‘/proc/7647/fd/4’: No such file or directory du: cannot access ‘/proc/7647/fdinfo/4’: No such file or directory du: cannot access ‘/proc/7710’: No such file or directory du: cannot access ‘/proc/7711’: No such file or directory du: cannot access ‘/proc/7714’: No such file or directory du: cannot access ‘/proc/7715’: No such file or directory 0 /proc 8.4M /run 0 /sys 1.3G /etc 16M /root 11G /var 196K /tmp 11G /usr 47G /home 0 /media 0 /mnt 165M /opt 0 /srv 0 /backup 70G / i am unable to find more than 250 gb where it is being used.
and check https://www.tecmint.com/how-to-check-disk-space-in-linux/ one or the other command should help you
There are two solutions for this issue, first is simply upgrade your storage resource or find the sources and remove the data.