[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: setting up time- & sizelimit
i'm using openldap 2.1.29 with bdb-4.2.52,
the settings where set in my slapd.conf.
i'm testing with j-meter (java) so i dont need a ldap.conf in this case
because i would like to simulate a heavy load on my ldapserver to
measure the response time, i use 25 threads wich are looped 40 times
with searchfilter uid=*.
there are about 700 userentrys under the ou=people,dc=xxxx,dc=de subtree
which is the search base im this case.
the server stops responding after answering 242 times, the response time
is between 8 and 180 msec for each answer
after this (magical)number is reached the server stops responding, after
killing the test everything starts to work again.
g* olli
>> hello mailinglist,
>>
>> i'm trying to set the time and sizelimit for
>> some performance testing to unlimited
>>
>> timelimit -1
>> sizelimit -1
>>
>> my openldap server stops after 242 answerd requests with this message
>>
>> ====> bdb_cache_return_entry_r( 703 ): returned (0)
>> send_search_result: err=4 matched="" text=""
>> send_ldap_response: msgid=2 tag=101 err=4
>> ber_flush: 14 bytes to sd 252
>> 0000: 30 0c 02 01 02 65 07 0a 01 04 04 00 04 00
0....e........
>> ldap_write: want=14, written=14
>> 0000: 30 0c 02 01 02 65 07 0a 01 04 04 00 04 00
0....e........
>> conn=239 op=1 SEARCH RESULT tag=101 err=4 nentries=1 text=
>>
>> even if i set both values to somthing like 1000000000
>
>
>1) version of the server?
>2) where are you setting the limit (what file, what statements)?
>3) stops? stops the search, crashes, what's happening? is 242
>a relevant number to your database? the log you show seems
>to be related to returning 1 entry along with the timelimit
>exceeded error; how long does it take to return that entry?
>
>p.
>--
>Pierangelo Masarati
>mailto:pierangelo.masarati@sys-net.it
>
>
> SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax:
+390382476497
>