[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: weird performance issue



Jacob Walcik wanted us to know:

>yes.  i have an incredibly small ldap directory (189 records, all
>users or groups), and it takes several minutes for a full ldapsearch
>to be returned.

Wow.  That's incredibly discouraging.

>first thought was that this was an indexing issue, but none of the
>additional indexes i've tried to create have seemed to make any
>difference whatsoever.

If you shut slapd down and do a slapcat of the directory, does it give
you what you expected?  Is there any garbage output?

Run:
  tcpdump -n -p -s 1500 -X port 389
and then do an ldapsearch and see if there is that same long pause
between the question and the answer.

I'd also stop the slapd daemon, and start it manually with -d -1 and see
if you can figure out what it's doing while it's taking so long to find
the results.
-- 
Regards...		Todd
  We should not be building surveillance technology into standards.
  Law enforcement was not supposed to be easy.  Where it is easy, 
  it's called a police state.             -- Jeff Schiller on NANOG
Linux kernel 2.6.8.1-12mdkenterprise   2 users,  load average: 0.31, 0.21, 0.18