The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Drive Space Warning [ /dev/root (/var/named/chroot/var/run/dbus) ]

Discussion in 'E-mail Discussions' started by cool999, Jan 25, 2010.

  1. cool999

    cool999 Active Member

    Joined:
    Jan 18, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    today i got email -


    Drive Warning: /dev/root (/var/named/chroot/var/run/dbus) is 81% full

    But why its increasing automatically?? I didn't install any new thing on server...

    yesterday it was 80% and today 81% and if it keeps increasing like this, after few days it will be 100% and server will be down...

    and how can i clear up some space there?

    Please let me know..

    Thanks
     
  2. cool999

    cool999 Active Member

    Joined:
    Jan 18, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    I saw current disk space usage page and showing 82% now -

    /dev/sda1 9.7G 7.5G 1.8G 82% /
     
  3. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Could you give me the output of this command:

     
  4. cool999

    cool999 Active Member

    Joined:
    Jan 18, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Here is the output..

    Code:
    7.5M    /bin
    12M     /boot
    76K     /dev
    78M     /etc
    134G    /home
    24M     /lib
    17M     /lib64
    16K     /lost+found
    4.0K    /media
    4.0K    /mnt
    25M     /opt
    0       /proc
    672M    /root
    36M     /sbin
    8.3M    /scripts
    20K     /selinux
    4.0K    /srv
    0       /sys
    2.2M    /tmp
    4.1G    /usr
    2.5G    /var
    
     
  5. zontrakulla

    zontrakulla Active Member

    Joined:
    Jan 16, 2008
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Check
    Code:
    du -sh /home/* 
     
  6. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Also the output of

     
  7. cool999

    cool999 Active Member

    Joined:
    Jan 18, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    24K /home/aquota.user
    2.3G /home/xxxtea
    208K /home/xxxxcat
    243M /home/cpeasyapache
    116K /home/xxxxlc
    6.8G /home/xxxxxay
    1.3G /home/xxxxrfe
    32M /home/installd
    208K /home/xxxxxvc
    5.5G /home/xxxx218
    5.8M /home/latest
    16K /home/lost+found
    20M /home/xxxxtidl
    111G /home/xxxxinfo
    4.0K /home/MySQL-install
    19M /home/no
    76K /home/quota.user
    10M /home/xxxxaj
    97M /home/xxxxxom
    1000M /home/xxxjo
    5.0G /home/xxxxxolo



     
  8. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    111G /home/xxxxinfo

    This user used 111Gigabyte of disk space, The problem is here.

    check this

    du -sh /home/xxxxinfo/*

    to see the used space from where.
     
  9. cool999

    cool999 Active Member

    Joined:
    Jan 18, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    /dev/sda1 9.7G 7.6G 1.7G 82% /
    /dev/sda2 914G 134G 735G 16% /home
    tmpfs 2.0G 0 2.0G 0% /dev/shm
    /usr/tmpDSK 485M 13M 447M 3% /tmp

     
  10. zontrakulla

    zontrakulla Active Member

    Joined:
    Jan 16, 2008
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Like Me_388 said, problem is that account. You can track the big file&folder by going step by step like

    as an example:

    du -sh /home/xxxxinfo/*
    100G /home/xxxxinfo/www

    du -sh /home/xxxxinfo/www/*
    98G /home/xxxxinfo/www/test

    du -sh /home/xxxxinfo/www/test/*
    98G /home/xxxxinfo/www/test/bigfile.txt

    So you can find the exact file&folder.
     
  11. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Hello,

    After you get the output of df -h then it appears that this user has no problem as you have 1TB HDD.

    The 7.6GB space is used by /var and /usr then you should go with removing the logs inside
    /usr/local/apache/logs/
    /usr/local/apache/domlogs/
    then remove the temp files inside
    /var/lib/mysql/
    but beware of this to avoid removing the databases of your accounts.
    The temp files will look like this
    mysql-bin.000012
    mysql-bin.000013
    mysql-bin.000014

    remove them all and you should now have a free space.
     
  12. cool999

    cool999 Active Member

    Joined:
    Jan 18, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Can i plz get the commands to remove these since I am not so familiar with this..

     
  13. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Sure.

    Go inside this folder
    and execute this command
    then go inside this folder
    and execute this command
    then after that go inside this folder
    then check the file names FIRST to not remove the databases, If it was like that mysql-bin.000012 mysql-bin.000013 then you should execute this command

    Beware of this commands to not remove any important files or users data.
     
  14. cool999

    cool999 Active Member

    Joined:
    Jan 18, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    kooool man thanks a lot... back to 72% :)

     
  15. cool999

    cool999 Active Member

    Joined:
    Jan 18, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    just one question how to see files in - /var/lib/mysql/

    what command for that?

    i use cd , but it doesn't show any files..

    let me know

    Thanks
     
  16. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    You can use this

    and this

    If you want to know more about listing files then execute this command

     
  17. cool999

    cool999 Active Member

    Joined:
    Jan 18, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    ok thanks

    output of ls -

    Code:
    ./   cphulkd/    horde/   ib_logfile0  imxxxx_bkxxx/  xxxxinfo_tffq21/  mysql.sock=  saxxxx_xxxxxlus/            server.xxxxxxx.com.pid  xxxxxx_xxx0g6/
    ../  eximstats/  ibdata1  ib_logfile1  leechprotect/     mysql/            roundcube/   server.xxxxxx.com.err  vxxx_xxxx/                 xxxxx_nexxxx/
    no such files like - mysql-bin.000012 mysql-bin.000013

    most are the database which i edited to xxxxx

    let me know if you think i can remove any file which is not useful.. and command for it..

    Thanks


     
  18. cool999

    cool999 Active Member

    Joined:
    Jan 18, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Its again 88% even after running the command you gave...

    i found somewhere about "yum clean all" i did that and its now 85%

    Still too much and increasing...

    Please i need more help on this..

    Thanks a lot..
     
    #18 cool999, Jan 29, 2010
    Last edited: Jan 29, 2010
  19. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    I would like to help you about that but unfortunately I can't do because I manage servers a better way when I'm in it not from remote location. Sorry for that :rolleyes:
     
  20. cool999

    cool999 Active Member

    Joined:
    Jan 18, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    please someone help..

    Thanks
     
Loading...

Share This Page