Results 1 to 7 of 7

Thread: What is the purpose of this directory?

  1. #1
    tbullock is offline Advanced Member
    Join Date
    Oct 2005
    Location
    Calgary, AB
    Posts
    232
    Rep Power
    9

    Default What is the purpose of this directory?

    /opt/zimbra/dspam/var/dspam/data/z/i/zimbra/zimbra.sig

    Can I delete the contents of it?
    Cheers,

    Travis

    "Let's look at this from a standpoint of "Status". What exactly, on the Space Craft, IS working?"
    -Flight Control, Apollo 13

  2. #2
    tbullock is offline Advanced Member
    Join Date
    Oct 2005
    Location
    Calgary, AB
    Posts
    232
    Rep Power
    9

    Default

    OK.

    Instead of intelligently waiting for a reply, I went ahead and:

    su zimbra
    rm -rvf /opt/zimbra/dspam/var/dspam/data/z/i/zimbra/zimbra.sig/*
    mkdir zimbra.sig
    chmod 770 /opt/zimbra/dspam/var/dspam/data/z/i/zimbra/zimbra.sig
    chown zimbra:zimbra /opt/zimbra/dspam/var/dspam/data/z/i/zimbra/zimbra.sig

    I hope that was not a bad thing, but it certainly has made a difference to performace. By about 1000%.

    I started noticing, like what happened a few months ago when I was running an older version of Zimbra on FC3, that mail was beginning to backlog in the mail queue.

    I had a suspicion after the upgrade to FC5 and OSS V4 that this dspam directory may have been causing the severe performace degredation.

    These are all suspicions with no real proof as I don't have the skillset to actually prove it. All I can say is cleaning up that dspam directory 'appears' to have made my Zimbra perform a lot better.

    I also suspect that FC may also be a villan in this sad tale woe. I think next time I build Zimbra it will be on RHEL.

    Cheers,
    Cheers,

    Travis

    "Let's look at this from a standpoint of "Status". What exactly, on the Space Craft, IS working?"
    -Flight Control, Apollo 13

  3. #3
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,491
    Rep Power
    56

    Default

    Quote Originally Posted by tbullock View Post
    I also suspect that FC may also be a villan in this sad tale woe. I think next time I build Zimbra it will be on RHEL.
    There's a reason Zimbra only support RHEL, SLES MAC OS X, I think you've just hit the proverbial nail on the head.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    pacsteel is offline Active Member
    Join Date
    Oct 2006
    Location
    Montana
    Posts
    38
    Rep Power
    8

    Default

    Quote Originally Posted by tbullock View Post
    /opt/zimbra/dspam/var/dspam/data/z/i/zimbra/zimbra.sig

    Can I delete the contents of it?
    On my system, there is a cron job to do so every day at 1:00--well, except for the last 7 days worth .
    0 1 * * * find /opt/zimbra/dspam/var/dspam/data/z/i/zimbra/zimbra.sig/ -type f -name \*sig -mtime +7 -exec rm {} \; > /dev/null 2>&1
    If your cron job is broken somehow, you could be building up a huge number of hash files. Since the output of the cleanup is directed to /dev/null, you wouldn't know--other than by having a performance problem because the directory gets so full.

    Right now I have 7 days worth : 71,577, who knows how many would be there if the cron job wasn't working correctly.

  5. #5
    scottnelson is offline Special Member
    Join Date
    Jun 2006
    Location
    Washington DC
    Posts
    124
    Rep Power
    9

    Default

    Quote Originally Posted by pacsteel View Post
    On my system, there is a cron job to do so every day at 1:00--well, except for the last 7 days worth . If your cron job is broken somehow, you could be building up a huge number of hash files. Since the output of the cleanup is directed to /dev/null, you wouldn't know--other than by having a performance problem because the directory gets so full.

    Right now I have 7 days worth : 71,577, who knows how many would be there if the cron job wasn't working correctly.
    Hm, don't even have this as a cronjob for some reason. ( shrug )
    I am still running 3.14, maybe they added in a later release?
    Added now.
    Ya'll are great!! Pays to lurk around here....... ;-)

    Scotty

  6. #6
    scottnelson is offline Special Member
    Join Date
    Jun 2006
    Location
    Washington DC
    Posts
    124
    Rep Power
    9

    Default

    Quote Originally Posted by scottnelson View Post
    Hm, don't even have this as a cronjob for some reason. ( shrug )
    I am still running 3.14, maybe they added in a later release?
    Added now.
    Ya'll are great!! Pays to lurk around here....... ;-)

    Scotty
    How about these files?
    Lotsa space here as well....

    Scotty



    /opt/zimbra/db/data:
    total 327432
    -rw-rw---- 1 zimbra zimbra 104857600 Dec 21 23:30 ib_logfile0
    -rw-rw---- 1 zimbra zimbra 104857600 Dec 21 23:30 ib_logfile1


    /opt/zimbra/logger/db/data/trash
    -rw-rw---- 1 zimbra zimbra 10087 Jun 13 2006 smtp-bin.000001
    -rw-rw---- 1 zimbra zimbra 319 Jun 13 2006 smtp-bin.000002
    -rw-rw---- 1 zimbra zimbra 1326660 Jun 13 2006 smtp-bin.000003
    -rw-rw---- 1 zimbra zimbra 135901 Jun 13 2006 smtp-bin.000004
    -rw-rw---- 1 zimbra zimbra 267757 Jun 14 2006 smtp-bin.000005
    -rw-rw---- 1 zimbra zimbra 106012 Jun 14 2006 smtp-bin.000006
    -rw-rw---- 1 zimbra zimbra 10406098 Jun 14 2006 smtp-bin.000007
    -rw-rw---- 1 zimbra zimbra 5582990 Jun 14 2006 smtp-bin.000008
    on and on amd on to todays date


    /opt/zimbra/logger/db/data
    -rw-rw---- 1 zimbra zimbra 886677 Aug 8 04:04 smtp-bin.000060
    -rw-rw---- 1 zimbra zimbra 4566521 Aug 9 04:03 smtp-bin.000061
    -rw-rw---- 1 zimbra zimbra 6003646 Aug 10 07:47 smtp-bin.000062
    -rw-rw---- 1 zimbra zimbra 3699364 Aug 10 23:46 smtp-bin.000063
    -rw-rw---- 1 zimbra zimbra 46759 Aug 11 00:09 smtp-bin.000064
    -rw-rw---- 1 zimbra zimbra 55309 Aug 11 00:25 smtp-bin.000065
    -rw-rw---- 1 zimbra zimbra 762584 Aug 11 04:03 smtp-bin.000066
    on and on amd on to todays date


    Scotty

  7. #7
    pacsteel is offline Active Member
    Join Date
    Oct 2006
    Location
    Montana
    Posts
    38
    Rep Power
    8

    Default

    I dunno Scotty,
    Yep, different versions--I'm on 403--have different file placements.

    • /opt/zimbra/logger/db/data/trash
      I don't even have the directory
    • /opt/zimbra/db/data
      has the same files (same size even) as yours, along with about a hundred (what look like) compressed mailbox files.
    • /opt/zimbra/logger/db/data
      has a couple of ib_logfile* files, but the datestamp is the last reboot, and they are 'only' 5mb

    It looks like the zimbra folks have added quit a bit of 'cleanup' to the product since 314

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. centos 5 zimbra 4.5.6 no statistics
    By rutman286 in forum Installation
    Replies: 9
    Last Post: 08-14-2007, 09:30 AM
  2. Replies: 9
    Last Post: 04-14-2007, 08:31 AM
  3. Replies: 5
    Last Post: 03-01-2007, 03:20 AM
  4. Help: Fullbackup error!
    By victorLeong in forum Administrators
    Replies: 1
    Last Post: 08-02-2006, 01:56 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
  •