Hello,
doing an unindexed search with filter (uid=*ab*) the connection hang until the 389
Directory Server closes the connection after a long time (40 minutes or more) with error
11 (Resource temporarily unavailable).
After setting nsslapd-errorlog-level to 1 the following output was written to the error
log:
389-Directory/1.3.3.10 B2015.141.1211
...
[30/May/2015:16:34:57 +0200] id2entry - => id2entry(498)
[30/May/2015:16:34:57 +0200] id2entry - <= id2entry 34c1510, dn
"uid=kenz,ou=people,dc=ukl,dc=uni-freiburg,dc=de" (cache)
[30/May/2015:16:34:57 +0200] id2entry - <= id2entry( 498 ) 34c1510 (disk)
[30/May/2015:16:34:57 +0200] - re_exec (kenz) 0
[30/May/2015:16:34:57 +0200] id2entry - => id2entry(499)
[30/May/2015:16:34:57 +0200] id2entry - <= id2entry 19752c0, dn
"uid=martens,ou=people,dc=ukl,dc=uni-freiburg,dc=de" (cache)
[30/May/2015:16:34:57 +0200] id2entry - <= id2entry( 499 ) 19752c0 (disk)
[30/May/2015:16:34:57 +0200] - --> pagedresults_is_timedout
[30/May/2015:16:34:57 +0200] - <-- pagedresults_is_timedout: -
[30/May/2015:16:34:57 +0200] - re_exec (martens) 0
[30/May/2015:16:34:57 +0200] id2entry - => id2entry(500)
[30/May/2015:16:34:57 +0200] id2entry - <= id2entry 7f0c5c3711b0, dn
"uid=martinj,ou=people,dc=ukl,dc=uni-freiburg,dc=de" (cache)
[30/May/2015:16:34:57 +0200] id2entry - <= id2entry( 500 ) 7f0c5c3711b0 (disk)
[30/May/2015:16:34:57 +0200] - re_exec (martinj) 0
[30/May/2015:16:34:57 +0200] - --> pagedresults_is_timedout
[30/May/2015:16:34:57 +0200] - <-- pagedresults_is_timedout: -
[30/May/2015:16:34:58 +0200] - --> pagedresults_is_timedout
[30/May/2015:16:34:58 +0200] - <-- pagedresults_is_timedout: -
[30/May/2015:16:34:58 +0200] - --> pagedresults_is_timedout
[30/May/2015:16:34:58 +0200] - <-- pagedresults_is_timedout: -
...
nsslapd-lookthroughlimit was set to 500. After looking through 500 entries the 389
Directory Server stopped looking through the entries and called
"pagedresults_is_timedout" for a long time (40 minutes or more).
Why does the 389 Directory Server not sent an error message and disconnects immediately?
Kind regards
Gerd
-----------------------------------------------------------------------------
UNIVERSITAETSKLINIKUM FREIBURG
Klinikrechenzentrum
Agnesen-Strasse 6-8, 79106 Freiburg
Telefon +49 761 270 22900 / Fax +49 761 270 20660
gerd.kessler(a)uniklinik-freiburg.de
http://www.uniklinik-freiburg.de