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

Re: calloc failure

At 07:34 PM 8/31/99 -0700, Yuri Rabover wrote:
>I am using the latest OpenLDAP, 1.2.6 on Solaris 2.6. I am testing
>the performance and robustness aspects to see whether it'd satisfy
>our requirements. During one of the tests I was running 2 ldapadd
>commands adding about 100 entries each. It reliably causes the server
>to exit sometimes, with the following diagnostics:

Try OPENLDAP_REL_ENG_1_2 (available via AnonCVS
http://www.openldap.org/software/repo.html).  It includes
a number of memory management fixes that are being tested
for release.

>calloc of 709707071 elems of 4 bytes failed

That strikes me as a bit large.  ~2.5 GB.   You might
insert an abort in ch_malloc.c where this message is
printed from such that you can obtain a stack back
trace from the core dump.
>The number seems to be the same.
>I ran it with the maximum logging level, doesn't seem to correlate
>with any of the messages. I am using SleepyCAT 2.7.7 as a backend.

Haven't tested BDB 2.7.7 yet.