Results 1 to 22 of 22
  1. #1

    Disk Full of VPS - cPanel /WHM Error

    Hi;

    When going into cPanel/WHM, I am seeing the following:
    The / partition on this server is running out of disk space. WHM operation has been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition.

    I read some similar posts but there was some differences between their guides and my problem.

    I have access to my VPS but don't know how to delete and which files should be deleted.

    Regards
    Last edited by yusefcity; 10-14-2013 at 03:40 AM. Reason: extra explanations

  2. #2
    Join Date
    Aug 2013
    Posts
    222

    Exclamation Disk Filled

    How much disk does the VPS have? cPanel/WHM takes lots of space.

  3. #3
    yes,the total space is 500 MB.but I have only 4 webistes hosted which their contents are not more than 20 MB and also installed open vpn.
    it seems the disk space should be for logs or tmp but I dont know which files should be removed and which files are not needed.


    1)I Rund du -sh * and got below:

    4.0K 1194.log
    4.0K anaconda-ks.cfg
    4.0K ca.crt
    28K clien1
    4.0K clien1.zip
    4.0K client1.crt
    4.0K client1.csr
    4.0K client1.key
    4.0K client.conf
    12K cpanel3-skel
    4.0K installer.lock
    8.0K install.log
    4.0K install.log.syslog
    4.0K install.sh
    136K lzo-2.06-1.el6.rfx.i686.rpm
    128K lzo-2.06-1.el6.rfx.x86_64.rpm
    432K openvpn-2.2.2-1.el6.rf.i686.rpm
    892K openvpn-2.2.2.tar.gz
    892K openvpn-2.2.2.tar.gz.1
    40K php.ini.new
    40K php.ini.orig
    112K pkcs11-helper-1.08-1.el6.rf.i686.rpm
    116K pkcs11-helper-1.08-1.el6.rf.x86_64.rpm
    4.0K public_ftp
    8.0K public_html
    1.9M rpmbuild
    16K rpmforge-release-0.5.2-1.el6.rf.i686.rpm
    4.0K server.key
    164K tmp


    2) I Run cd /root;ls and got below details:

    [~]# cd /root;ls
    ./ install.log.syslog
    ../ install.sh*
    1194.log lzo-2.06-1.el6.rfx.i686.rpm
    anaconda-ks.cfg lzo-2.06-1.el6.rfx.x86_64.rpm
    .bash_history .MirrorSearch/
    .bash_logout .my.cnf
    .bash_profile openvpn-2.2.2-1.el6.rf.i686.rpm
    .bashrc openvpn-2.2.2.tar.gz
    ca.crt openvpn-2.2.2.tar.gz.1
    clien1/ php.ini.new
    clien1.zip php.ini.orig
    client1.crt pkcs11-helper-1.08-1.el6.rf.i686.rpm
    client1.csr pkcs11-helper-1.08-1.el6.rf.x86_64.rpm
    client1.key public_ftp/
    client.conf public_html/
    .cpanel/ .rnd
    cpanel3-skel/ rpmbuild/
    .cpobjcache/ rpmforge-release-0.5.2-1.el6.rf.i686.rpm
    .cshrc server.key
    .gnupg/ .spamassassin/
    .HttpRequest/ .ssh/
    installer.lock .tcshrc
    install.log tmp/



    regards

  4. #4
    Join Date
    Jul 2008
    Posts
    466
    Quote Originally Posted by yusefcity View Post
    Hi;

    When going into cPanel/WHM, I am seeing the following:
    The / partition on this server is running out of disk space. WHM operation has been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition.

    I read some similar posts but there was some differences between their guides and my problem.

    I have access to my VPS but don't know how to delete and which files should be deleted.

    Regards
    You'd be best off checking the disc space first, run the following via SSH:
    Code:
    df -h
    Then report the output here.
    Clook: Fully Managed UK Based Hosting CloudFlare Optimised Partner!
    Established 12 Years - 24/7/365 Support (<10m Avg. Response Time)
    Shared, Reseller, vServer, Dedicated and Beyond
    0845 867 2550 Sales - Visit our Website

  5. #5
    Quote Originally Posted by Karl_CLOOK View Post
    You'd be best off checking the disc space first, run the following via SSH:
    Code:
    df -h
    Then report the output here.
    I got below for df-h:

    23G 22G 0 100% /

    tmpfs 503M 0 503M 0% /dev/shm

    /dev/sda1 485M 67M 393M 15% /boot

    /usr/tmpDSK 485M 11M 449M 3% /tmp
    Last edited by yusefcity; 10-14-2013 at 04:12 AM.

  6. #6
    Join Date
    Aug 2013
    Posts
    222
    Only a few hundred MB's of space available, you might need to upgrade your VPS.

  7. #7
    Quote Originally Posted by Andrew-x View Post
    Only a few hundred MB's of space available, you might need to upgrade your VPS.
    our hosted websites only have 20 MB of disk space and it seems the disk space is full because of logs and tmp,how can I check them and delete unneeded files?

  8. #8
    Join Date
    Aug 2013
    Posts
    222
    I wouldn't recommend it, because it might kill your operating system.
    You can search on Google "how to clean up servers".

  9. #9
    Join Date
    Jul 2008
    Posts
    466
    Assuming your logs are in /var/log, cd to /var/log and run "du -sh".
    Clook: Fully Managed UK Based Hosting CloudFlare Optimised Partner!
    Established 12 Years - 24/7/365 Support (<10m Avg. Response Time)
    Shared, Reseller, vServer, Dedicated and Beyond
    0845 867 2550 Sales - Visit our Website

  10. #10
    Quote Originally Posted by Karl_CLOOK View Post
    Assuming your logs are in /var/log, cd to /var/log and run "du -sh".
    I got below:

    [/var/log]# du -sh
    1.8G .

    what should I do for next step?

  11. #11
    Join Date
    Jul 2008
    Posts
    466
    Sorry, run "du -sh *".
    Clook: Fully Managed UK Based Hosting CloudFlare Optimised Partner!
    Established 12 Years - 24/7/365 Support (<10m Avg. Response Time)
    Shared, Reseller, vServer, Dedicated and Beyond
    0845 867 2550 Sales - Visit our Website

  12. #12
    Quote Originally Posted by Karl_CLOOK View Post
    Sorry, run "du -sh *".
    I got below:


    [/var/log]# du -sh *
    4.0K anaconda.ifcfg.log
    20K anaconda.log
    32K anaconda.program.log
    108K anaconda.storage.log
    56K anaconda.syslog
    68K anaconda.xlog
    4.0K anaconda.yum.log
    25M audit
    532K bandwidth
    4.0K boot.log
    13M btmp
    19M btmp-20131001
    20M chkservd.log
    4.7M cpanel-install.log
    128K cron
    612K cron-20130922
    612K cron-20130929
    616K cron-20131006
    608K cron-20131013
    1.1M dcpumon
    28K dmesg
    28K dmesg.old
    488K dracut.log
    16K exim_mainlog
    60M exim_mainlog-20130818.gz
    69M exim_mainlog-20130825.gz
    35M exim_mainlog-20130901.gz
    40K exim_mainlog-20130908.gz
    1.5G exim_mainlog-20130915
    32K exim_mainlog-20130922
    36K exim_mainlog-20130929
    2.0M exim_mainlog-20131006
    52K exim_mainlog-20131013
    0 exim_paniclog
    136K exim_paniclog-20130818.gz
    116K exim_paniclog-20130825.gz
    4.0K exim_paniclog-20130901.gz
    4.0K exim_paniclog-20130908.gz
    50M exim_paniclog-20130915
    0 exim_paniclog-20130922
    0 exim_paniclog-20130929
    4.0K exim_paniclog-20131006
    4.0K exim_paniclog-20131013
    0 exim_rejectlog
    8.0K exim_rejectlog-20130818.gz
    8.0K exim_rejectlog-20130825.gz
    4.0K exim_rejectlog-20130901.gz
    4.0K exim_rejectlog-20130908.gz
    1.9M exim_rejectlog-20130915
    0 exim_rejectlog-20130922
    0 exim_rejectlog-20130929
    0 exim_rejectlog-20131006
    0 exim_rejectlog-20131013
    36K lastlog
    152K maillog
    40K maillog-20130922
    304K maillog-20130929
    208K maillog-20131006
    1.1M maillog-20131013
    388K messages
    1.1M messages-20130922
    1.7M messages-20130929
    868K messages-20131006
    4.6M messages-20131013
    32K quota_enable.log
    120K rkhunter.log
    8.0K rkhunter.log.old
    5.7M sa
    404K secure
    3.2M secure-20130922
    7.2M secure-20130929
    2.8M secure-20131006
    9.4M secure-20131013
    0 spooler
    0 spooler-20130922
    0 spooler-20130929
    0 spooler-20131006
    0 spooler-20131013
    0 tallylog
    64K wtmp
    4.0K xferlog.offset
    4.0K xferlog.offsetftpsep
    24K yum.log

  13. #13
    Join Date
    Jul 2008
    Posts
    466
    OK, I'd look into compressing the following log file to immediately clear some space:
    1.5G exim_mainlog-20130915

    gzip /var/log/exim_mainlog-20130915

    This should clear anough space to allow cPanel/WHM to work again, though you need to look into better managing your disc space. Clearing out logs (don't just delete them all!) and using logrotate and so on can go a long way to manage this.

    If you run MySQL databases on this VPS also, then look through them to ensure you've not got a table somewhere that's running away with all your disc space.
    Clook: Fully Managed UK Based Hosting CloudFlare Optimised Partner!
    Established 12 Years - 24/7/365 Support (<10m Avg. Response Time)
    Shared, Reseller, vServer, Dedicated and Beyond
    0845 867 2550 Sales - Visit our Website

  14. #14
    Quote Originally Posted by Karl_CLOOK View Post
    OK, I'd look into compressing the following log file to immediately clear some space:
    1.5G exim_mainlog-20130915

    gzip /var/log/exim_mainlog-20130915

    This should clear anough space to allow cPanel/WHM to work again, though you need to look into better managing your disc space. Clearing out logs (don't just delete them all!) and using logrotate and so on can go a long way to manage this.

    If you run MySQL databases on this VPS also, then look through them to ensure you've not got a table somewhere that's running away with all your disc space.

    Thank you.
    so by now you recommand to delete "1.5G exim_mainlog-20130915" ?
    if yes please tell me the command to do this as I am not so familiar with these instructions.

    regards

  15. #15
    Join Date
    Jul 2008
    Posts
    466
    Quote Originally Posted by yusefcity View Post
    Thank you.
    so by now you recommand to delete "1.5G exim_mainlog-20130915" ?
    if yes please tell me the command to do this as I am not so familiar with these instructions.

    regards
    Sorry no, I'd suggest gzip'ing up the log file as follows:
    Code:
    gzip /var/log/exim_mainlog-20130915
    You *could* delete it I guess, though best not to.
    Clook: Fully Managed UK Based Hosting CloudFlare Optimised Partner!
    Established 12 Years - 24/7/365 Support (<10m Avg. Response Time)
    Shared, Reseller, vServer, Dedicated and Beyond
    0845 867 2550 Sales - Visit our Website

  16. #16
    Join Date
    Oct 2013
    Posts
    1
    i recommend you to upgrade your vps because 500 mb is too low for cpanel
    bytheway have you tried to clean /tmp file?

  17. #17
    Starting with 11.36, you are required to have at least 1.6GB of free disk space for the daily cPanel update script to run.

    As of cPanel & WHM version 11.36, when you upgrade to a new version, necessary new files will be downloaded to a staging location. After the files are downloaded and compatibility checks are complete, the prior version is overwritten. This ensures that a partial upgrade does not break your current install. Because of this procedure, we require 1.6GB of disk space for /usr/local/cpanel before an upgrade, update, or new installation can begin.
    Source: http://docs.cpanel.net/twiki/bin/vie...ersion%2011.36

    So, as others have mentioned, it would be better if you would upgrade your disk space by at least 5GB (you currently have 20GB).

    That being said, if your websites only require 20MB, it's a bit weird how your disk got filled up.
    Can you please provide the output of
    Code:
    du -h --max-depth=1 /
    (it might take some time...)
    Fusioned - http://www.fusioned.net
    Enterprise Hosting | CloudLinux, cPanel, LiteSpeed, R1Soft | PHP 5.2, 5.3, 5.4 & 5.5 | Softaculous | CloudFlare
    SSD KVM VPS in Netherlands | SolusVM | Intel E3-1230v2 | LSI RAID-10 SSD | 1Gbps | IPv6 ready

  18. #18
    Join Date
    Nov 2009
    Location
    /etc/my.cnf
    Posts
    10,041
    I recommending getting your disk space increase by at least 50%

    Maybe you should read the recommended partition size: http://docs.cpanel.net/twiki/bin/vie...20partitioning

  19. #19
    Quote Originally Posted by yusefcity View Post
    Thank you.
    so by now you recommand to delete "1.5G exim_mainlog-20130915" ?
    if yes please tell me the command to do this as I am not so familiar with these instructions.

    regards

    Thanks,I did it and about 50 MB became free,do you have any other advice about files to delete them from the listed files?

  20. #20
    Join Date
    Nov 2009
    Location
    /etc/my.cnf
    Posts
    10,041
    Quote Originally Posted by yusefcity View Post
    Thanks,I did it and about 50 MB became free,do you have any other advice about files to delete them from the listed files?
    cPanel is not suited to low disk space or ram environments if you want a control panel for this type of VPS you will need to be looking at Webmin not a fully featured hosting control panel which takes tons of space and you simply do not have that so either increase the disk space or start again with another control panel, You can clean out to save a measly amount of disk space but you'll be having this problem again simply because there's not enough room for everything to go.

  21. #21
    Join Date
    Jan 2012
    Location
    Glasgow, Scotland
    Posts
    583
    Try deleting all your old logs.
    HostUS - Premium Hosting Made Affordable
    EIGHT Worldwide locations spanning USA, Europe & Asia Pacific
    Own ASN, Own Network, Own IP's - AS7489 & AS25926

  22. #22
    Join Date
    Nov 2005
    Location
    /etc/fstab
    Posts
    1,274
    Check /usr/local/apache/logs
    Mellowhost - Providing High Quality Web Hosting Services since 2007
    SSD Cpanel Shared, SSD OpenVZ & KVM VPS Hosting
    A Hosting Provider with Complete SSD VPS & Shared Hosting.

Similar Threads

  1. Disk Full - cPanel Error
    By MH-2006 in forum Hosting Security and Technology
    Replies: 10
    Last Post: 03-12-2012, 01:54 AM
  2. tmp disk full causing MySQL storage engine error - anything i can do?
    By joshh2 in forum Hosting Security and Technology
    Replies: 4
    Last Post: 09-11-2011, 10:28 AM
  3. /tmp disk full - Got error 28 from storage engine [1030]
    By Lezarwerks in forum Hosting Security and Technology
    Replies: 8
    Last Post: 01-27-2011, 09:52 AM
  4. cPanel/WHM/HyperVM saying Disk Space Full?!
    By MrJosh in forum Hosting Security and Technology
    Replies: 7
    Last Post: 05-13-2010, 01:09 AM
  5. Replies: 0
    Last Post: 06-07-2009, 09:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •