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.

Yet another drive space getting full (/var)

Discussion in 'General Discussion' started by carteluo, Oct 8, 2008.

  1. carteluo

    carteluo Member

    Joined:
    Jun 25, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Porlamar
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi,

    I got this message:

    Drive Critical: /dev/sda6 (/var) is 93% full

    What I've done so far:

    df -h
    Code:
    # df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda2             2.0G  661M  1.3G  35% /
    /dev/sda1              99M   19M   75M  21% /boot
    none                 1014M   36K 1014M   1% /dev/shm
    /dev/sda8             127G  9.9G  111G   9% /home
    /dev/sda5             9.7G  4.5G  4.7G  50% /usr
    [B]/dev/sda6             6.8G  6.0G  477M  93% /var[/B]
    /dev/sdb2             966M  119M  798M  13% /tmp
    /dev/sdb3             142G   28G  107G  21% /backup
    du -h --max-depth=1 /var
    Code:
    # du -h --max-depth=1 /var
    8.0K    /var/proftpd
    15M     /var/www
    8.0K    /var/nis
    16K     /var/portsentry
    4.0K    /var/netenberg
    20K     /var/empty
    84K     /var/profiles
    331M    /var/cache
    12K     /var/account
    21M     /var/log
    2.7M    /var/webmin
    8.0K    /var/preserve
    76M     /var/lib
    16K     /var/crash
    du: cannot read directory `/var/named/chroot/proc/28775': No such file or directory
    du: cannot read directory `/var/named/chroot/proc/29243': No such file or directory
    du: cannot read directory `/var/named/chroot/proc/29299/task': No such file or directory
    du: cannot read directory `/var/named/chroot/proc/29299/fd': No such file or directory
    1.1G    /var/named
    796K    /var/run
    16K     /var/lost+found
    24K     /var/yp
    334M    /var/spool
    36K     /var/lock
    184M    /var/cpanel
    3.9M    /var/ea
    8.0K    /var/opt
    8.0K    /var/local
    28K     /var/db
    2.1G    /var
    As you can see is not a logrotate problem and mysql is mounted on /dev/sdb3 (/backup)...

    du -csh
    Code:
    # du -csh
    2.1G    .
    2.1G    total
    Can you help me please?

    Thanks in advanced.
     
  2. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    Run these two commands and provide output:

    du -ah --max-depth=1 /var/named
    du -ah --max-depth=1 /var/cache
     
  3. carteluo

    carteluo Member

    Joined:
    Jun 25, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Porlamar
    cPanel Access Level:
    Root Administrator
    Twitter:
    du -ah --max-depth=1 /var/named
    Code:
    # du -ah --max-depth=1 /var/named
    4.0K    /var/named/inmobilandia.com.db.rpmsave
    0       /var/named/arenastropicales.com.db.rpmsave
    4.0K    /var/named/sueltalo.com.db
    4.0K    /var/named/localdomain.zone
    8.0K    /var/named/slaves
    4.0K    /var/named/named.local
    4.0K    /var/named/cofiteca.net.db
    4.0K    /var/named/desdetucasa.com.db
    0       /var/named/topimca.net.db
    0       /var/named/correodelcaroni.org.db
    4.0K    /var/named/tereque.com.db
    0       /var/named/maestravirtual.com.db.rpmsave
    4.0K    /var/named/named.zero
    4.0K    /var/named/grupocorreodelcaroni.com.db
    4.0K    /var/named/unegistas.com.db.rpmsave
    0       /var/named/ns1.sueltalo.com.db
    0       /var/named/bloquedeprensavenezolano.us.db
    0       /var/named/sueltalo.com.db.rpmsave
    4.0K    /var/named/concorde.com.ve.db
    4.0K    /var/named/conestilo.info.db
    4.0K    /var/named/corporacionlallovizna.com.db.rpmsave
    1.1G    /var/named/chroot
    4.0K    /var/named/raulgonzalezv.com.db
    4.0K    /var/named/herbel.com.ve.db
    4.0K    /var/named/bloquedeprensavenezolano.com.db
    0       /var/named/bloquedeprensavenezolano.net.db
    4.0K    /var/named/cofiteca.com.db
    4.0K    /var/named/directoriosdevenezuela.com.db
    4.0K    /var/named/casaycarro.info.db
    4.0K    /var/named/motherson.com.ve.db
    4.0K    /var/named/named.ip6.local
    0       /var/named/correodelcaroni.us.db
    0       /var/named/ns1.sueltalo.com.db.rpmsave
    4.0K    /var/named/guayanainternational.com.db
    4.0K    /var/named/mariomarino.net.db
    4.0K    /var/named/cieb.org.db.rpmsave
    4.0K    /var/named/eduardoleal.net.db
    4.0K    /var/named/intranet.extrudal.info.db.work.i3PgKwqTEqxiBlo6
    4.0K    /var/named/cyberoficinas.net.db
    4.0K    /var/named/grupocorreodelcaroni.net.db
    0       /var/named/ns2.sueltalo.com.db.rpmsave
    4.0K    /var/named/cieb.org.db
    0       /var/named/maestravirtual.com.db
    0       /var/named/bancocaroni.com.db.rpmsave
    4.0K    /var/named/bancocaroni.com.db
    4.0K    /var/named/ciebo.com.db
    8.0K    /var/named/data
    0       /var/named/correodelcaroni.info.db
    4.0K    /var/named/zona7.net.db
    4.0K    /var/named/casacarro.info.db
    0       /var/named/back.sueltalo.com.db.rpmsave
    0       /var/named/bloquedeprensavenezolano.org.db
    0       /var/named/colgao.com.db.rpmsave
    4.0K    /var/named/spamxyz.us.db
    0       /var/named/ns2.sueltalo.com.db
    4.0K    /var/named/correodelcaroni.com.db
    4.0K    /var/named/grupocorreo.info.db
    4.0K    /var/named/topimca.com.db
    4.0K    /var/named/named.ca
    4.0K    /var/named/farfanrojasyasociados.com.db.rpmsave
    0       /var/named/correodelcaroni.net.db
    4.0K    /var/named/casauto.info.db
    4.0K    /var/named/localhost.zone
    4.0K    /var/named/bloquedeprensavenezolano.info.db
    0       /var/named/back.sueltalo.com.db
    4.0K    /var/named/named.broadcast
    1.1G    /var/named
    du -ah --max-depth=1 /var/cache
    Code:
    # du -ah --max-depth=1 /var/cache
    8.0K    /var/cache/mod_proxy
    8.0K    /var/cache/mod_ssl
    331M    /var/cache/yum
    1.1M    /var/cache/man
    332M    /var/cache
    TY.
     
  4. SB-Nick

    SB-Nick Well-Known Member

    Joined:
    Aug 26, 2008
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    How big is your mail queue?
    Maybe try flushing your mail queue. That should free some space.
    You can also try removing the .rpm packages from yum cache folder.
     
  5. carteluo

    carteluo Member

    Joined:
    Jun 25, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Porlamar
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thank you, I did that and cleared almost 400mb, but it's even in 90% used.

    Any other idea?
     
  6. gorilla

    gorilla Well-Known Member

    Joined:
    Feb 3, 2004
    Messages:
    699
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney / Australia
    looks like here is ur issue
    1.1G /var/named/chroot ;)
     
Loading...

Share This Page