[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#7362) back-mdb: slapadd -q fails



--On Wednesday, August 22, 2012 4:44 PM +0000 quanah@zimbra.com wrote:

> --On Wednesday, August 22, 2012 4:40 PM +0000 openldap-its@OpenLDAP.org
> wrote:
>
>>
>
> data.mdb is zero sized:
>
> mail:/opt/zimbra/data/ldap/mdb/db # ls -l
> total 4
> -rw------- 1 zimbra zimbra    0 2012-08-22 12:32 data.mdb
> -rw------- 1 zimbra zimbra 8192 2012-08-22 12:32 lock.mdb
>
> mail:/opt/zimbra/data/ldap/mdb/db # df -h .
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/system-zimbra
>                        39G   33G  6.7G  83% /opt/zimbra
>
>
> maxsize is 84GB, but the actual DB will be < 26MB when it is finished
> being  created.  Is this because maxsize > total free disk space?

This is definitely not an OpenLDAP bug.  Apparently some OSes block max 
allocation, even if blocking it is disabled.  This particular server is 
running SLES11 SP1:

Linux mail 2.6.32.49-0.3-default #1 SMP 2011-12-02 11:28:04 +0100 x86_64 
x86_64 x86_64 GNU/Linux

Something at the OS level is blocking the mdb memory allocation.  This same 
issue does not occur on other SLES11 installations we have, so I'm somewhat 
at a loss to explain it.

--Quanah



--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration