Re: server startup overhead

2007-05-26 Thread Gabriel Stein
Hei Howard! A question: How do you setup the lastmod directive on slapd.conf? ON or OFF? cheers. On 5/25/07, Howard Chu [EMAIL PROTECTED] wrote: Eric Irrgang wrote: Is there a way (with or without attaching a debugger) to find out what my IDL cache and DN cache is doing? Using a debugger,

server startup overhead

2007-05-25 Thread Eric Irrgang
I continue to have trouble with getting a freshly started server to be responsive. One problem in particular is one that I thought had been resolved some time ago but is apparently biting me right now... With the hdb backend (at least in OL 2.3.34 and OL 2.3.35) if you perform a search with

Re: server startup overhead

2007-05-25 Thread Adam Tauno Williams
I continue to have trouble with getting a freshly started server to be responsive. One problem in particular is one that I thought had been resolved some time ago but is apparently biting me right now... With the hdb backend (at least in OL 2.3.34 and OL 2.3.35) if you perform a search

Re: server startup overhead

2007-05-25 Thread Howard Chu
Eric Irrgang wrote: I continue to have trouble with getting a freshly started server to be responsive. One problem in particular is one that I thought had been resolved some time ago but is apparently biting me right now... With the hdb backend (at least in OL 2.3.34 and OL 2.3.35) if you

Re: server startup overhead

2007-05-25 Thread Howard Chu
Eric Irrgang wrote: Is there a way (with or without attaching a debugger) to find out what my IDL cache and DN cache is doing? Using a debugger, set a breakpoint inside any of the backend functions. When the bdb pointer is set up, print out its data. The bdb-bi_cache structure records all

Re: server startup overhead

2007-05-25 Thread Eric Irrgang
Well, once an (objectclass=*) search finishes the ou=people,dc=basedn searches run fast again. Unfortunately it takes over half an hour to run the first time and I have to make sure that during that time no one has access to cause extra threads to start searching. On Fri, 25 May 2007, Eric

Re: server startup overhead

2007-05-25 Thread Eric Irrgang
Searching for objectclass=* and only asking for the entryDN attribute is almost an order of magnitude faster than searching for everything. I like the idea of searching for a non-existent value of an unindexed attribute. It is 40% faster than the objectclass=* search (down to 16 minutes) but

Re: server startup overhead

2007-05-25 Thread Eric Irrgang
Is there a way (with or without attaching a debugger) to find out what my IDL cache and DN cache is doing? -- Eric Irrgang - UT Austin ITS Unix Systems - (512)475-9342