[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Search timings
So is there a loglevel that I can set that will show me search times for each search?
currently I have it set at 256 and get:
Aug 12 23:13:46 etsx1 slapd[4112]: conn=0 fd=8 ACCEPT from IP=17.216.21.43:54290
(IP=0.0.0.0:389)
Aug 12 23:13:46 etsx1 slapd[4112]: conn=0 op=0 BIND dn="" method=128
Aug 12 23:13:46 etsx1 slapd[4112]: conn=0 op=0 RESULT tag=97 err=0 text=
Aug 12 23:13:46 etsx1 slapd[4112]: conn=0 op=1 SRCH base="o=apple" scope=2
filter="(cn=*smith*)"
Aug 12 23:13:48 etsx1 slapd[4112]: conn=0 op=1 SEARCH RESULT tag=101 err=4 nentries=999
text=
Aug 12 23:14:46 etsx1 slapd[4112]: conn=0 op=2 UNBIND
Aug 12 23:14:46 etsx1 slapd[4112]: conn=0 fd=8 closed
Is there a way to get on the result line how long it took to return the results? (SunOne
shows this down to the second or millisecond if you want it). It makes it easy to run stats
on the server logs and see potential problems.
Also, what about unindexed searches? is there a tag that shows up if I do an unindexed
search somewhere?
thanks,!
- Gary