[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4329) Error in test008-concurrency in AIX
Clearly your process' memory size limit is too small. I would just set
it to "unlimited". test008 will make slapd spawn 16 threads; in back-bdb
each of those threads will consume at least 8MB and probably more so
right away you need at least 128MB but you currently have the limit set
at 32MB.
Too bad AIX doesn't ship with saner defaults, this problem comes up
quite often. Since there is no software bug here, this ITS will be closed.
repas@pyxis.pt wrote:
> Thanks for you help.
> At the end of the slapd.l.log there is the following error:
>
> bdb_dn2entry("dc=example,dc=com")
> <= key_change 0
> => key_change(ADD,a)
> bdb_idl_insert_key: a [8ce7eb72]
> search_candidates: base="dc=example,dc=com" (0x00000001) scope=2
> <= key_change 0
> => key_change(ADD,a)
> ch_malloc of 8388608 bytes failed
> Assertioinsert_key:, fil7b0ch_ma
> loc.c, line 57
> <= key_c
>
>
>
> As to the process size limit, I'ld like to add the following info:
> - I'm running as root
> - The output of ulimit -a is:
> # ulimit -a
> time(seconds) unlimited
> file(blocks) unlimited
> data(kbytes) 131072
> stack(kbytes) 32768
> memory(kbytes) 32768
> coredump(blocks) 2097151
> nofiles(descriptors) 2000
> - As to the maximum number of processes/per user, although it is
> irrelevant in this case as I am root,
> # lsattr -El sys0 | grep maxuproc
> maxuproc 512 Maximum number of PROCESSES
> allowed per user True
> - I checked the file testrun/slapd.1.log and found the following
> (partial listing)
> ...
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
OpenLDAP Core Team http://www.openldap.org/project/