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

[Fwd: Re: (ITS#4329) Error in test008-concurrency in AIX]



Final confirmation.

-------- Original Message --------
Subject: 	Re: (ITS#4329) Error in test008-concurrency in AIX
Date: 	Thu, 12 Jan 2006 19:03:12 +0000 (GMT)
From: 	repas@pyxis.pt
To: 	Howard Chu <hyc@symas.com>
References: 	<fcd3f8495f04.43c69975@cliente.artelecom.pt> 
<43C69C21.50007@symas.com>



Thanks all. Just for the record, it passed test008 with th following 
configuration
time(seconds)        unlimited
file(blocks)         unlimited
data(kbytes)         524288
stack(kbytes)        32768
memory(kbytes)       32768
coredump(blocks)     2097151
nofiles(descriptors) 2000
 
That is, the only element I changed was data(kbytes) from 131072 to 524288


----- Original Message -----
From: Howard Chu
Date: Thursday, January 12, 2006 6:13 pm
Subject: Re: (ITS#4329) Error in test008-concurrency in AIX
To: repas@pyxis.pt
Cc: openldap-its@OpenLDAP.org

 > 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/
 >
 >
 >

-- 
  -- 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/