<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18904"></HEAD>
<BODY>
<DIV><SPAN class=687490120-11052010><FONT size=2 face=Arial>Hi 
all,</FONT></SPAN></DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 face=Arial>I have seen a weird 
behavior of my DS (1.1.2). It has a very small database (only about 2300 
objects). A client performed a one-level search retrieving the children. The 
server find 114 objects, but the search was very slow:</FONT></SPAN></DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial>[06/May/2010:12:23:11 +0000] conn=127 op=149 SRCH base=&lt;base&gt; 
scope=1 
filter="(&amp;(&amp;(objectClass=&lt;xyz&gt;)(&lt;att1&gt;=value))(!(&lt;att2&gt;=TRUE)))" 
</FONT></SPAN></DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 face=Arial>yes, the filter is a 
bit complex, but both attribute types &lt;att1&gt; and &lt;att2&gt; are indexed. 
This search usually is fast. It looks to me that the server is already in a 
funny state.</FONT></SPAN></DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial>...</FONT></SPAN></DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial>[06/May/2010:12:23:17 +0000] conn=127 op=149 RESULT err=3 tag=101 
nentries=114 etime=7</FONT></SPAN></DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 face=Arial>When the client gets 
the results, it iterates over those and gets its children, 
like:</FONT></SPAN></DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial>[06/May/2010:12:23:17 +0000] conn=127 op=150 SRCH base=&lt;dn of 
result from previous SRCH&gt;&nbsp;scope=1 
filter="(&amp;(&amp;(objectClass=&lt;uvw&gt;)(&lt;attr3&gt;=*))(!(&lt;attr2&gt;=TRUE)))" 
attrs=ALL.</FONT></SPAN></DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 face=Arial>Those searches are 
quick:</FONT></SPAN></DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial>[06/May/2010:12:23:17 +0000] conn=127 op=150 RESULT err=0 tag=101 
nentries=1 etime=0</FONT></SPAN></DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 face=Arial>but somehow the 
server does not process on of the requests, when the client iterates over the 
results:</FONT></SPAN></DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial>[06/May/2010:12:23:18 +0000] conn=127 op=263 SRCH base=&lt;dn of 
result from previous SRCH&gt;&nbsp;scope=1 
filter="(&amp;(&amp;(objectClass=&lt;uvw&gt;)(&lt;attr3&gt;=*))(!(&lt;attr2&gt;=TRUE)))" 
attrs=ALL.<BR>[06/May/2010:12:23:18 +0000] conn=127 op=263 RESULT err=0 tag=101 
nentries=1 etime=0<BR>[06/May/2010:12:23:26 +0000] conn=127 op=265 SRCH 
base=&lt;dn of result from previous SRCH&gt;&nbsp;scope=1 
filter="(&amp;(&amp;(objectClass=&lt;uvw&gt;)(&lt;attr3&gt;=*))(!(&lt;attr2&gt;=TRUE)))" 
attrs=ALL.</FONT></SPAN></DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial>[06/May/2010:12:23:26 +0000] conn=127 op=265 RESULT err=0 tag=101 
nentries=0 etime=0<BR></FONT></SPAN></DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 face=Arial>You can see that the 
server skipped op=264. It looks to me that the request came in, but somehow the 
server joked up, before it could log the request in access. </FONT></SPAN></DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 face=Arial>Has anybody seen 
such a behavior before?</FONT></SPAN></DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=687490120-11052010><FONT size=2 face=Arial>-Reinhard</DIV>
<DIV><BR></DIV></FONT></SPAN>
<DIV><SPAN class=687490120-11052010><FONT size=2 
face=Arial></FONT></SPAN>&nbsp;</DIV></BODY></HTML>