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

Re: (ITS#4702) out-of-memory on huge DB ?



  Quanah Gibson-Mount wrote:

> 4GB is the memory limit on 32-bit Solaris, IIRC.  Just like it is  
> 2GB on 32-bit linux.  Try building everything 64-bit.

Hello again.

Today I've rebuilt everything 64-bit

To have a "fast shot", I've load a 1m dn, then I've ulimit -d 96304   
the data memory for user.

After a some minutes slapcat:

slapcat -f openldap/slapd.conf |gzip > delete-me.ldif
ch_malloc of 16396 bytes failed
Assertion failed: 0, file ch_malloc.c, line 57
Abort (core dumped)

and a second try:

slapcat -f openldap/slapd.conf  > delete-me.ldif
bdb_db_open: unclean shutdown detected; attempting recovery.
bdb_db_open: Recovery skipped in read-only mode. Run manual recovery  
if errors are encountered.
ch_malloc of 16396 bytes failed
Assertion failed: 0, file ch_malloc.c, line 57
Abort (core dumped)

at crash moment, with top: size=180M res=176M

Now, the question: Huge LDAP only possible with big RAM ? :D


Other ideas? :/


Paolo