Results 1 to 8 of 8

Thread: /var/tmp filling up on OS X Server

  1. #1
    Join Date
    Mar 2007
    Posts
    26
    Rep Power
    8

    Default /var/tmp filling up on OS X Server

    Hi,

    I'm running Zimbra 4.5.6_GA_1044 on a Mac OS X server.

    Everything is fine, except I had a server freeze the other day when it ran out of disk space. Looking around I see that Zimbra has filled up /var/tmp with 61GB of data!:

    Code:
    zimbra$ du -h -d0 /var/tmp/
     61G    /var/tmp/
    Looking in /var/tmp, I see loads of entries like:

    Code:
    drwx------   11 zimbra  wheel  374 Nov 20 20:03 clamav-ff417d6bdad399986cce8869614861d8
    Inside of which is:

    Code:
    zimbra$ ls -l /var/tmp/clamav-ff417d6bdad399986cce8869614861d8/
    total 42624
    -rw-rw-rw-   1 zimbra  wheel     17992 Nov 20 20:03 COPYING
    -rw-rw-rw-   1 zimbra  wheel   4736103 Nov 20 20:03 main.db
    -rw-rw-rw-   1 zimbra  wheel      3083 Nov 20 20:03 main.fp
    -rw-rw-rw-   1 zimbra  wheel    640977 Nov 20 20:03 main.hdb
    -rw-rw-rw-   1 zimbra  wheel       318 Nov 20 20:03 main.info
    -rw-rw-rw-   1 zimbra  wheel   2333904 Nov 20 20:03 main.mdb
    -rw-rw-rw-   1 zimbra  wheel  14072345 Nov 20 20:03 main.ndb
    -rw-rw-rw-   1 zimbra  wheel       217 Nov 20 20:03 main.zmd
    Should these files not be deleted on a regular basis? Is there a cron job I should be adding? I've looked around on the forum but don't see anything relevant.

    Thanks in advance,

    Mezza

  2. #2
    Join Date
    Dec 2007
    Posts
    2
    Rep Power
    8

    Default Same problem under Red Hat

    We're running the same version of Zimbra as you but under Red Hat. We started having this same problem this past Friday. This did coincide with some other updates to the server, but as of yet, I've not determined how any of those updates could have affected Zimbra.

    Have you been able to determine the cause the of this problem?

  3. #3
    Join Date
    Mar 2007
    Posts
    26
    Rep Power
    8

    Default /var/tmp

    Hi Derek,

    It's wierd, but since deleting all the subdirectories and restarting Zimbra, all seems well now.

    No new clamd created subdirectories. My suspicion is that clamd must have gone awol for a period, but I'm currently speculating.

    Mezza

  4. #4
    Join Date
    Dec 2007
    Posts
    2
    Rep Power
    8

    Default

    Thanks for the reply. I deleted the tmp files and restarted the server, but unfortunately the tmp files started to quickly come back. I'll try updating to 4.5.10 and see if that solves the problem.

  5. #5
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    The version of clamav included in 4.5.6 has been proven troublesome - mezza, if you haven't already you should update to 4.5.10 as well.
    (Of course, if doing so doesn't solve the problem for you then we need to know about it!)

  6. #6
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    10

    Default

    4.5.6 also had a problem where a couple of log files were growing to insane proportions due to over-verbose logging. You really ought to get off that version ASAP. See this thread for details.

    Dan

  7. #7
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    For instance what most people experienced: http://www.zimbra.com/forums/install...such-file.html
    The /var/tmp filling up is a new one, but it's generally easier if your on the most recent version before we spend too much time troubleshooting

  8. #8
    Join Date
    May 2007
    Posts
    31
    Rep Power
    8

    Default

    I'm having the same problem with the /tmp directory filling up. Mine is currently 186GB, and all the files begin with kv and are owned by zimbra. None seem to be older than 11/20/07. Is it safe to just delete these? Where are they coming from?

    I'll be upgrading today or tomorrow, but I'd like to dump all these files if I can. My /opt/zimbra folder is about 24GB, so I'll be looking into the log files, too.

    Mike
    Last edited by Mike Oliveri; 12-04-2007 at 07:30 AM.

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 01:42 AM
  2. [SOLVED] Server migration/move for OS steps I used
    By newmember in forum Migration
    Replies: 0
    Last Post: 09-06-2007, 11:57 PM
  3. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 08:46 PM
  4. Error 256 on Installation
    By RuinExplorer in forum Installation
    Replies: 5
    Last Post: 10-19-2006, 10:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •