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.

Is it normal /var/spool take almost 3 GB?

Discussion in 'General Discussion' started by isputra, Jul 6, 2003.

  1. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mbelitar
    Hi,

    I have 6 GB space and have about 25 client.

    When i run du -sh * from /home, all quota seems right (below the quota i give them). I calculate them and just 654 MB for all space used by client.

    But on Server Information shows :
    Current Disk Usage
    Filesystem Size Used Avail Use% Mounted on
    /dev/ubd/0 5.9G 5.2G 602M 90% /

    I look into /var and do du-sh * and saw that /spool taking so much space, about 3 GB.

    Is it normal ? Or maybe my account hack ?

    Anyone have solution what and where files i must delete with safe condition if i want to have more space ?

    Thanks

    cPanel.net Support Ticket Number:
     
  2. NeutralGold

    NeutralGold Well-Known Member

    Joined:
    Jun 5, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    hmm, mines about 300 megs, do you mind going into a little more detail on which directory/files is taking up so much space?

    cPanel.net Support Ticket Number:
     
  3. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mbelitar
    here is the info inside spool :


    root@mine [/var/spool]# du -sh *
    16k anacron
    8.0k at
    20k cron
    2.7G exim
    8.0k lpd
    8.0k mail
    1.1M postfix
    root@mine [/var/spool]# cd exim
    root@mine [/var/spool/exim]# du -sh *
    284k db
    4.0k exim-daemon.26.pid-bd
    4.0k exim-daemon.pid
    140k exim-process.info
    1.6G input
    1.1G msglog

    cPanel.net Support Ticket Number:
     
  4. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    That just means that you're holding a lot of mail in the mail queue. Nothing to really worry about unless the partition is running out of disk space. Try cleaning out the Exim DBs, verify that your resolv.conf is setup correctly and then try to deliver all of the messages in the queue. That will most likely clear up a lot of space.

    cPanel.net Support Ticket Number:
     
  5. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mbelitar
    How to clean Exim DBs without worried my partition get error ?

    cPanel.net Support Ticket Number:
     
  6. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Code:
    /usr/sbin/exim_tidydb -t 1d /var/spool/exim retry > /dev/null
    /usr/sbin/exim_tidydb -t 1d /var/spool/exim reject > /dev/null
    /usr/sbin/exim_tidydb -t 1d /var/spool/exim wait-remote_smtp > /dev/null
    cPanel.net Support Ticket Number:
     
  7. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mbelitar
    Can i cron that command to run once a week ?

    How to do that ?

    cPanel.net Support Ticket Number:
     
  8. pingo

    pingo Well-Known Member

    Joined:
    Nov 16, 2002
    Messages:
    430
    Likes Received:
    0
    Trophy Points:
    16
Loading...

Share This Page