[Date Prev][Date Next]
RE: Slaves taking up 100% cpu
--On Tuesday, January 20, 2004 6:06 PM -0800 Howard Chu
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Quanah
--On Tuesday, January 20, 2004 4:50 PM -0800 Jeff Leung
> Considering that we never specify a search filter, would
> an index with:
> index objectclass eq
> be sufficient (after a slapindex of course)?
Are you saying you never retrieve data from your ldap server?
Any type of
data retrieval requires a filter.
Can you provide me any type of data on how you pull data from
(I assume you must be pulling data from it.. Storing data and never
accessing it makes no sense..)?
Sounds like he's doing base searches on specific DNs, and the filter
defaults to (objectclass=*) when nothing else is provided. In this case,
attribute indexing is irrelevant since only the DN is being used to
locate the entry of interest.
Ah, I can see that could be possible... Although I don't think searching on
DN would spike the CPU. I'm still curious to see what type of searches are
being done (because I'm 99% certain he must be doing some type of search,
DN or otherwise. ;) ). It is hard of course, to really know what is
happening here without any type of output... I'd like to see some debugging
Principal Software Developer
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html