Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2002
    Posts
    686
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default /var fills up all the time

    Im getting a lot of problems on one server wiht the /var partition filling up all the time but im having troubles tracking down the cause of it.

    ive cleared out the ususal suspects like /var/tmp and /var log but im not getitng anywhere

    im wondering if there is a way to recursively search all the folders of /var to identify large files?

    I know ls -ltr will display the details of one folder but how do i search all at once?

    can anyone shed some light on this for me

    TIA

  2. #2
    Member
    Join Date
    Sep 2003
    Posts
    658

    Default

    check your mail logs

    /var/log/exim

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2002
    Posts
    686
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Thanks but as ive said ive already cleared out /var/log

    and my mail logs are only a combined 48Mb currently

  4. #4
    Member
    Join Date
    Sep 2003
    Posts
    658

    Default

    you can see which directory that are using the most by running

    du -h -s /var/*

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2002
    Posts
    686
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    ah yes thats what i was looking for thanks

    and culprit found... 5Gb in /var/lib/mysql

Similar Threads & Tags
Similar threads

  1. SpamAssassin fills up /tmp with a bunch of files...
    By darren.nolan in forum E-mail Discussions
    Replies: 29
    Last Post: 02-12-2009, 09:57 AM
  2. Replies: 1
    Last Post: 07-31-2008, 02:24 AM
  3. mail/new fills up exponentially
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-18-2008, 04:49 PM
  4. /home/.cpan/ fills up with garbage
    By sehh in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 09-30-2007, 10:13 AM
  5. Writes wrong time in /var/log/messages
    By MikeMc in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-09-2002, 09:53 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube