Results 1 to 3 of 3

Thread: 80GB ldap database

  1. #1
    Join Date
    May 2013
    Rep Power

    Default 80GB ldap database

    No that is not a typo in the title.

    I am running Release 8.0.3.GA.5664.UBUNTU12.64 UBUNTU12_64 FOSS edition and my
    /opt/zimbra/data/ldap/mdb/db/data.mdb is exactly 80 Gigabytes. Which is especially
    surprising since the install is on a 20GB virtual machine.

    A fsck on the drive shows up clean. The end of the data file seems to be all null bytes
    so I assume that it is a sparse file and doesn’t actually take up that much room on disk.
    However when backing up those sparse sectors suddenly become real and I have a very
    large backup.

    The machine has a total of 23 accounts on it and it seems to be working just fine otherwise.

    The allocated size reported by 'ls -ks' is 880(kb), and 'du --block-size=1' reports 901120
    which is exactly 880kb

    Clearly 80 GB is to big, but how go I go about fixing it?

    The truncate command will cut it down to size but is it safe to do so?

    Thanks for any and all assistance.

  2. #2
    Join Date
    May 2013
    Rep Power


    I seem to have found my own solution.

    I guess I should have searched first.

  3. #3
    Join Date
    May 2007
    Rep Power


    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    Zimbra :: the leader in open source messaging and collaboration

Similar Threads

  1. ldap database went from 97meg to 86gig
    By samgann in forum Administrators
    Replies: 114
    Last Post: 06-14-2013, 11:28 AM
  2. Replies: 3
    Last Post: 01-28-2013, 08:28 PM
  3. Extending LDAP database
    By frost983 in forum Developers
    Replies: 3
    Last Post: 11-02-2010, 06:46 AM
  4. How do I browse Zimbra LDAP database?
    By williamn in forum Administrators
    Replies: 4
    Last Post: 04-16-2008, 01:47 AM
  5. change ldap database
    By Grejao in forum Administrators
    Replies: 1
    Last Post: 12-07-2007, 07:39 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