free more space on my VPS server
Hi,
I am currently facing a problem in increasing the space on my server, which has reached 72 GB out of 100 GB, and all accounts do not exceed 42 GB in size. There are approximately 30 GB unknown, including the system space that does not exceed 10 GB, I think.
Also, I recently downloaded many packages and now I don't need them all, I just want everything that cPanel only needs.
I searched online and found this command, but I don't know what the system needs.
[QUOTE]
[root@117 ~]# package-cleanup --quiet --leaves --exclude-bin
cpanel-geoipfree-data-108.0-1.cp108~el7.noarch
cpanel-knownproxies-data-108.0-1.cp108~el7.noarch
cpanel-libzip-devel-1.8.0-1.cp108~el7.x86_64
cpanel-perl-536-authen-libwrap-0.23-1.cp108~el7.x86_64
cpanel-perl-536-cpanel-xslib-0.07-1.cp108~el7.x86_64
cpanel-perl-536-crypt-cracklib-1.7-1.cp108~el7.x86_64
cpanel-perl-536-diff-libxdiff-0.05-1.cp108~el7.x86_64
cpanel-perl-536-lib-restrict-0.0.5-1.cp108~el7.noarch
cpanel-perl-536-local-lib-2.000029-1.cp108~el7.noarch
cpanel-perl-536-yaml-libyaml-0.83-1.cp108~el7.x86_64
glibc-static-2.17-326.el7_9.x86_64
libaio-devel-0.3.109-13.el7.x86_64
libidn-devel-1.28-4.el7.x86_64
libsysfs-2.1.0-16.el7.x86_64
libtiff-devel-4.0.3-35.el7.x86_64
libtool-ltdl-devel-2.4.2-22.el7_3.x86_64
mysql-community-libs-compat-5.7.41-1.el7.x86_64
I have root access on WHM 108.0.11 The VPS server is running CentOS v7.9.2009
I have root access on WHM 108.0.11 The VPS server is running CentOS v7.9.2009
-
Have you checked logs? Especially in /var/logs? that could easily add up space. Do you have Backups enabled? The default location on the server would be /backup and that wouldn't count against accounts disk space limit either. 0 -
Have you checked logs? Especially in /var/logs? that could easily add up space. Do you have Backups enabled? The default location on the server would be /backup and that wouldn't count against accounts disk space limit either.
This is the size of my server : [QUOTE] [root@117 ~]# du -sh /* | sort -rh | head -n 10 du: cannot access "/proc/2496/task/12928/fdinfo/1075": No such file or directory du: cannot access "/proc/15678/task/15678/fd/3": No such file or directory du: cannot access "/proc/15678/task/15678/fdinfo/3": No such file or directory du: cannot access "/proc/15678/fd/3": No such file or directory du: cannot access "/proc/15678/fdinfo/3": No such file or directory du: cannot access "/proc/16197/task/16197/fdinfo/6": No such file or directory du: cannot access "/proc/16341": No such file or directory du: cannot access "/proc/16359": No such file or directory du: cannot access "/proc/16473": No such file or directory du: cannot access "/proc/16475": No such file or directory du: cannot access "/proc/16479": No such file or directory du: cannot access "/proc/16480": No such file or directory du: cannot access "/proc/16489": No such file or directory du: cannot access "/proc/16534": No such file or directory 66G /home 2.9G /root 475M /boot 401M /run 60M /etc 56K /backup 4.0K /razor-agent.log 0 /sys 0 /srv 0 /scripts
This is home size only [QUOTE] [root@117 ~]# du -sh /home/* | sort -rh | head -n 10 24G /home/virtfs 20G /home/Account1 7.8G /home/Account2 6.9G /home/Account3 2.9G /home/Account4 2.0G /home/Account5 1.6G /home/Account6 716M /home/Account7 655M /home/Account8 213M /home/Account90 -
Did you Remove unnecessary package? Use command: package-cleanup --quiet --leaves --exclude-bi 0 -
/usr and /var can take up a lot of space, especially /var/lib/mysql Don't see these directories accounted. Are they on a different volume? What does df -h show? 0 -
Did you Remove unnecessary package? Use command: package-cleanup --quiet --leaves --exclude-bi
I just ran this command, and I didn't run a command after it. [QUOTE] [root@117 ~]# package-cleanup --quiet --leaves --exclude-bin cpanel-geoipfree-data-108.0-1.cp108~el7.noarch cpanel-knownproxies-data-108.0-1.cp108~el7.noarch cpanel-libzip-devel-1.8.0-1.cp108~el7.x86_64 cpanel-perl-536-authen-libwrap-0.23-1.cp108~el7.x86_64 cpanel-perl-536-cpanel-xslib-0.07-1.cp108~el7.x86_64 cpanel-perl-536-crypt-cracklib-1.7-1.cp108~el7.x86_64 cpanel-perl-536-diff-libxdiff-0.05-1.cp108~el7.x86_64 cpanel-perl-536-lib-restrict-0.0.5-1.cp108~el7.noarch cpanel-perl-536-local-lib-2.000029-1.cp108~el7.noarch cpanel-perl-536-yaml-libyaml-0.83-1.cp108~el7.x86_64 glibc-static-2.17-326.el7_9.x86_64 libaio-devel-0.3.109-13.el7.x86_64 libidn-devel-1.28-4.el7.x86_64 libsysfs-2.1.0-16.el7.x86_64 libtiff-devel-4.0.3-35.el7.x86_64 libtool-ltdl-devel-2.4.2-22.el7_3.x86_64 mysql-community-libs-compat-5.7.41-1.el7.x86_640 -
You can use the yum remove command to remove a package. For example, to remove the cpanel-geoipfree-data-108.0-1.cp108~el7.noarch package, you would run: yum remove cpanel-geoipfree-data-108.0-1.cp108~el7.noarch 0 -
The above suggested article is nice. 0 -
You can use the yum remove command to remove a package. For example, to remove the cpanel-geoipfree-data-108.0-1.cp108~el7.noarch package, you would run: yum remove cpanel-geoipfree-data-108.0-1.cp108~el7.noarch
Do you mean that all these packages are not important? Can I delete it safely? Will it not affect the work of WHM or cPanel? [QUOTE] cpanel-geoipfree-data-108.0-1.cp108~el7.noarch cpanel-knownproxies-data-108.0-1.cp108~el7.noarch cpanel-libzip-devel-1.8.0-1.cp108~el7.x86_64 cpanel-perl-536-authen-libwrap-0.23-1.cp108~el7.x86_64 cpanel-perl-536-cpanel-xslib-0.07-1.cp108~el7.x86_64 cpanel-perl-536-crypt-cracklib-1.7-1.cp108~el7.x86_64 cpanel-perl-536-diff-libxdiff-0.05-1.cp108~el7.x86_64 cpanel-perl-536-lib-restrict-0.0.5-1.cp108~el7.noarch cpanel-perl-536-local-lib-2.000029-1.cp108~el7.noarch cpanel-perl-536-yaml-libyaml-0.83-1.cp108~el7.x86_64 glibc-static-2.17-326.el7_9.x86_64 libaio-devel-0.3.109-13.el7.x86_64 libidn-devel-1.28-4.el7.x86_64 libsysfs-2.1.0-16.el7.x86_64 libtiff-devel-4.0.3-35.el7.x86_64 libtool-ltdl-devel-2.4.2-22.el7_3.x86_64 mysql-community-libs-compat-5.7.41-1.el7.x86_640 -
/usr and /var can take up a lot of space, especially /var/lib/mysql Don't see these directories accounted. Are they on a different volume? What does df -h show?
0 -
@EagleDotNet - you'll want to follow the instructions in the guide by moving into /home and then scanning that area, and repeating that process until you find something you can remove. If you aren't sure, it would be best to contact your host. 0
Please sign in to leave a comment.
Comments
13 comments