Results 1 to 4 of 4

Thread: [SOLVED] Ballooning hdd usage

  1. #1
    dwmtractor's Avatar
    dwmtractor is offline Moderator
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    9

    Default [SOLVED] Ballooning hdd usage

    OK, this seems a little weird to me. I have 4.5.10 installed on a PIII 1.4GHz system with 2 GB RAM and software Linux RAID, 68GB partition mounted as / handling everything but swap. Performance is good, no complaints at all.

    I have roughly 30 accounts ranging in size from barely there to 400+ MB, but if I go down the Server Statistics page on the admin UI and add the current mailbox sizes up I get roughly 2.3 GB of total messages in store. However, I'm using the Simple Shell Script backup method, and the size of my backup file (which is a tar and gzipped copy of an rsync'ed directory of /opt/zimbra) has been steadily growing. That 2.3GB of messages plus the Zimbra programs are now taking up 4.3 GB COMPRESSED size, which seems rather out of line to me.

    I have checked the files that have bloated badly in the past, and neither is particularly monstrous. /opt/zimbra/log/zmmtaconfig.log is about 31 MB, and /opt/zimbra/db/data/ib_logfile0 and ib_logfile1 are 104 MB each. Browsing around I simply can't find an excuse for a whole gig (or more, given compression of the backup) of excess bytage.

    Can anyone point me in the right direction to see where the bloat might be happening?

    Cheers,

    Dan

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

    Default

    What's the size of your /opt/zimbra directory, what's the size of your backup before you compress it and does it make any difference if you do just the cold backup part of that script?

    I noticed that backup script doesn't have some of the rsync option that I'd rather keep on my backup of Zimbra, I'm not sure what the rsync defaults but I use the following options: avrlHKpogDt - it's the same options used in this script.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    dwmtractor's Avatar
    dwmtractor is offline Moderator
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    9

    Default

    You know, Bill, it's interesting what obvious things we overlook sometimes. . .if I do du -h on /opt/zimbra it's only 3.8 GB, but on /backup/zimbra it's 8.2 GB. Obviously, something is not working right on my rsync.

    I based my rsync commands in the backup script on the command reference in the man page, which states that -a is equal to -rlptgoD; hence the fewer letters.

    I took a closer look at the man pages and the command for delete should have just been "--delete" not "-e --delete". The result is my old junk wasn't deleting. I just tried the rsync at command line using
    Code:
    rsync -avHK --delete /opt/zimbra/ /backup/zimbra
    and my /backup/zimbra went right back down to the same size as /opt/zimbra after deleting a WHOLE lot of junk.

    So the problem was in my rsync syntax--and the embarrassing thing is that it's already correct on the wiki page (I think it's my writing) and I had it wrong on my own server. . ..

    Thanks

    Dan

  4. #4
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    I pulled -e out a while ago Open Source Edition Backup Procedure - History - Zimbra :: Wiki
    Quote Originally Posted by mmorse
    (-e would need to be "-e ssh" or "-e rsh" or an alternative is "--rsh=ssh" or path - but we don't need a remote shell anyways as src and dest are local - let them use their env settings plus ssh slower)
    So you tried -e --delete while it's usually expecting something like -e --rsh=ssh
    Last edited by mmorse; 12-27-2007 at 10:48 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. High CPU usage on server and client
    By jack-Z in forum Administrators
    Replies: 10
    Last Post: 01-07-2009, 10:12 PM
  2. Mozilla and memory usage
    By Klug in forum Developers
    Replies: 2
    Last Post: 03-17-2008, 03:52 AM
  3. Replies: 0
    Last Post: 11-03-2007, 01:32 PM
  4. Client Memory Usage
    By jwilso2 in forum Users
    Replies: 13
    Last Post: 07-16-2007, 06:10 PM
  5. per domain bandwidth usage
    By reza225 in forum Administrators
    Replies: 0
    Last Post: 05-17-2007, 01:18 PM

Posting Permissions

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