Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Sep 2002
    Posts
    42

    Default /var full

    Hello,

    My /var dir keeps filling up and I cannot lower it. I try it goes down and 2 days later back up to 86%

    Any assistance would be greatful!

    Thanks and God Bless!
    D A V I D
    Email/MSN: dgtech@riverview.net ICQ: 51140109
    Domain: dgtechnology.com

    "I still miss my ex, but my aim is improving"

  2. #2
    Member
    Join Date
    Apr 2003
    Posts
    479

    Default

    what's it filling with? Logs? Also, how big is it?

  3. #3
    BANNED
    Join Date
    Feb 2004
    Posts
    349

    Default

    Originally posted by elleryjh
    Also, how big is it?
    Lol! Now thats a personal question!

  4. #4
    Member
    Join Date
    Nov 2002
    Location
    NL
    Posts
    5

    Default

    Do the following:

    # cd /var;du -sh *

    You should see a list of dirs with the size behind each..

    The "log" map is usually eating up lots of space.

    If your var partition isn't big, I recommend creating a new map on the /backup or /home or any other partition with alot free space and create a symlink, chown the folder and touch the required files
    PlexWeb.NET

  5. #5
    Member
    Join Date
    Sep 2002
    Posts
    42

    Default

    Hello,

    Here it is:

    76k arpwatch
    1.6M cache
    386M cpanel
    4.0k db
    509M lib
    4.0k local
    8.0k lock
    192M log
    16k lost+found
    0 mail
    6.1M named
    2.8M named-bak
    4.0k nis
    4.0k opt
    32k portsentry
    4.0k preserve
    12k proftpd
    4.0k proftpd.pid
    0 quota.user
    100k run
    3.4G spool
    76k tempnamed
    4.0k tmp
    28k yp
    8.0k zonefix.php

    What can I do?

    Thanks and God Bless!
    D A V I D
    Email/MSN: dgtech@riverview.net ICQ: 51140109
    Domain: dgtechnology.com

    "I still miss my ex, but my aim is improving"

  6. #6
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Looks like your exim mail queue and message log is what's taking up all the space.
    /var/spool/exim/msglog/
    and
    /var/spool/exim/input/


    You can safely delete any files in those directories older than 3 days.

    Check the size of those 2 folders and see how old the files in them go back to.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  7. #7
    Member
    Join Date
    Nov 2002
    Location
    NL
    Posts
    5

    Default

    Originally posted by mind-field
    386M cpanel
    192M log
    3.4G spool
    Those are the ones that usually grown. It looks like your box is really affected by the worms that are abusing mailservers.

    If you have a 2nd harddrive or another partition with lots of space, you could create a new "spool" map, chown it with the right users and create a symlink on the /var partition.

    This does not solve your problem, but gives the spoolmap more room in case it needs to grow.

    I recommend cleaning up the spool every now and then OR add a cron job for a daily clean up
    PlexWeb.NET

Similar Threads & Tags
Similar threads

  1. /var getting full
    By ullalla in forum Optimization
    Replies: 9
    Last Post: 08-11-2011, 01:36 PM
  2. /var 88% full
    By screege in forum Optimization
    Replies: 6
    Last Post: 10-20-2010, 06:13 PM
  3. /var is 80% full due to /var/log/btmp
    By discovery in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-27-2010, 02:26 AM
  4. /var full
    By hikaro in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-05-2007, 02:08 PM
  5. /var 84% full
    By dgs in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-18-2002, 07:56 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube