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

openldap 2.1.25 crashes on ch_malloc on a HPUX 11



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm trying to upgrade my old 2.0 openldap to a 2.1.25. I compiled
db-4.2.52 and openldap-2.1.25 using gcc 3.0.1 without errors.
Configuring and viewing with my ldapbrowser works fine, but when I
start my apache proxy server, the ldapserver crashes on

connection_get(32)
connection_get(32): got connid=20
connection_read(32): checking for input on id=20
ber_get_next
ldap_read: want=8, got=8
~ 0000: 30 4c 02 01 04 6e 47 04 0L...nG.
ch_malloc of 8388608 bytes failed
ldap_read: want=70, got=70
~ 0000: 1d 63 6e 3d 50 52 4f 58 59 2c 6f 75 3d 47 72 6f .cn=PROXY,ou=Gro
~ 0010: 75 70 73 2c 6f 3d 76 6c 61 66 6f 2e 62 65 30 26 ups,o=vlafo.be0&
~ 0020: 04 06 6d 65 6d 62 65 72 04 1c 75 69 64 3d 70 78 ..member..uid=px
~ 0030: 76 2c 6f 75 3d 50 65 6f 70 6c 65 2c 6f 3d 76 6c v,ou=People,o=vl
~ 0040: 61 66 6f 2e 62 65 afo.be
ber_get_next: tag 0x30 len 76 contents:
ber_dump: buf=0x40186e70 ptr=0x40186e70 end=0x40186ebc len=76
~ 0000: 02 01 04 6e 47 04 1d 63 6e 3d 50 52 4f 58 59 2c ...nG..cn=PROXY,
~ 0010: 6f 75 3d 47 72 6f 75 70 73 2c 6f 3d 76 6c 61 66 ou=Groups,o=vlaf
~ 0020: 6f 2e 62 65 30 26 04 06 6d 65 6d 62 65 72 04 1c o.be0&..member..
Assertion failed: 0030: 75 69 64 3d 70 78 76 2c 6f 75 3d 50 65 6f
70 6c uid=pxv,ou=Peopl
0 0040: 65 2c 6f 3d 76 6c 61 66 6f 2e 62 65 e,o=vlafo.be
, file ch_malloc.c, line 38
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
./startSlapd.ksh[3]: 18293 Abort(coredump)


The crash occurs after a couple of pages have been loaded, so I
suspect a memory leak somewhere, no ? The output above was generated
with -d 255 .

The memory consumption increases dramatically while the server is
running. The crash occurs when VSS memory usage reaches 128 Mb. Is it
possible that db tries to cache too much in memory ? Is there a way to
limit this ?

Any help would be appreciated !

Peter.

- --
Peter Van Biesen
Adj. Sysadmin V.F.S.I.P.H.

tel: +32 (0) 2 225 85 70
fax: +32 (0) 2 225 85 88
e-mail: peter.vanbiesen@vlafo.be
PGP: http://www.vlafo.be/pgpkeys/peter.vanbiesen@vlafo.be.pub.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAbVFPHtEPd3S05zgRAg0jAJ9uu5azEMX8AwfpDqqYFkz99HAKgQCgvceF
vsgDP7EcVEGqwHrP6jCz3G4=
=vcWn
-----END PGP SIGNATURE-----