Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 31
  1. #1
    Member
    Join Date
    Jan 2010
    Posts
    31

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

    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. #2
    Member
    Join Date
    Jan 2010
    Posts
    31

    Default

    I saw current disk space usage page and showing 82% now -

    /dev/sda1 9.7G 7.5G 1.8G 82% /

  3. #3
    Member ModServ's Avatar
    Join Date
    Oct 2006
    Location
    Egypt
    Posts
    225
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Could you give me the output of this command:

    du -sh /*

    ModServ for Hosting & Web Services Solutions
    URL: http://www.modserv.com.eg

  4. #4
    Member
    Join Date
    Jan 2010
    Posts
    31

    Default

    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
    Quote Originally Posted by Me_388 View Post
    Could you give me the output of this command:

  5. #5
    Member
    Join Date
    Jan 2008
    Posts
    19

    Default

    Check
    Code:
    du -sh /home/*

  6. #6
    Member ModServ's Avatar
    Join Date
    Oct 2006
    Location
    Egypt
    Posts
    225
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Also the output of

    df -h

    ModServ for Hosting & Web Services Solutions
    URL: http://www.modserv.com.eg

  7. #7
    Member
    Join Date
    Jan 2010
    Posts
    31

    Default

    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



    Quote Originally Posted by zontrakulla View Post
    Check
    Code:
    du -sh /home/*

  8. #8
    Member ModServ's Avatar
    Join Date
    Oct 2006
    Location
    Egypt
    Posts
    225
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    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.

    ModServ for Hosting & Web Services Solutions
    URL: http://www.modserv.com.eg

  9. #9
    Member
    Join Date
    Jan 2010
    Posts
    31

    Default

    /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

    Quote Originally Posted by Me_388 View Post
    Also the output of

  10. #10
    Member
    Join Date
    Jan 2008
    Posts
    19

    Default

    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. #11
    Member ModServ's Avatar
    Join Date
    Oct 2006
    Location
    Egypt
    Posts
    225
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    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.

    ModServ for Hosting & Web Services Solutions
    URL: http://www.modserv.com.eg

  12. #12
    Member
    Join Date
    Jan 2010
    Posts
    31

    Question

    Can i plz get the commands to remove these since I am not so familiar with this..

    Quote Originally Posted by Me_388 View Post
    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.

  13. #13
    Member ModServ's Avatar
    Join Date
    Oct 2006
    Location
    Egypt
    Posts
    225
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Sure.

    Go inside this folder
    /usr/local/apache/logs/
    and execute this command
    rm -rf *_log
    then go inside this folder
    /usr/local/apache/domlogs
    and execute this command
    rm -rf *
    then after that go inside this folder
    /var/lib/mysql/
    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

    rm -rf mysql-bin.*
    Beware of this commands to not remove any important files or users data.

    ModServ for Hosting & Web Services Solutions
    URL: http://www.modserv.com.eg

  14. #14
    Member
    Join Date
    Jan 2010
    Posts
    31

    Thumbs up

    kooool man thanks a lot... back to 72%

    Quote Originally Posted by Me_388 View Post
    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.

  15. #15
    Member
    Join Date
    Jan 2010
    Posts
    31

    Default

    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

Similar Threads & Tags
Similar threads

  1. Drive Warning: /dev/sda3 (/var) is 82% full !!!
    By bgqs in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 03-01-2010, 02:37 PM
  2. Drive Space Warning [ /dev/root (/var/named/chroot/var/run/dbus) ]
    By cool999 in forum cPanel and WHM Discussions
    Replies: 21
    Last Post: 01-29-2010, 03:43 PM
  3. what is the point of /var/named/chroot/var/named
    By clbrack1 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-22-2007, 04:25 PM
  4. /var/named/chroot/etc/named.conf rewriting
    By _sr_ in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-09-2006, 02:23 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube