Re: [Fedora-directory-users] CPU utilization

Renato Ribeiro da Silva
Mon, 29 Jan 2007 11:27:49 -0000

Thank you.
The problem was really related to indexes.
I indexed the attribute gidnumber and the CPU utilization decreased a lot.

Best Regards,
Renato.

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> We were seeing similar CPU utilization recently. The problem turned out to
> be a lack of indexes. The web app for looking up people had changed
> recently and was doing substring matches on two attributes that were not
> indexed at all, much less for substrings.  Once I created the indexes, CPU
> utilization dropped from 99% to under 2%. You might check your access logs
> to see what sorts of searches are being done and confirm that you have
> indexes in place to speed things up.
>
>   -paul
>
> - --On Friday, January 26, 2007 10:18:25 AM -0200 Renato Ribeiro da Silva
> <capareci@uol.com.br> wrote:
>
> > I''m having questions about CPU utilization of Directory
Server. The
> > process ns-slapd take 99.9% of CPU almost all the time. Is there any
way
> > to know why this is happening? Any performance counter ( DS Console )
can
> > show me the answer ? Is is possible to know the apps that are using
the
> > Directory in this moment ?
> >
> > Best Regards,
> > Renato
> >
> >
> > --
> > Fedora-directory-users mailing list
> > Fedora-directory-users@redhat.com
> > https://www.redhat.com/mailman/listinfo/fedora-directory-users
> >
>
>
> - --
> Paul D. Engle                | Rice University
> Sr. Systems Administrator    | Information Technology - MS119
> (713) 348-4702               | P.O. Box 1892
> pengle@rice.edu              | Houston, TX 77251-1892
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
>
> iD8DBQFFuglNCpkISWtyHNsRAir0AKDzxxAfdzWuP8cENHFo08pWoHwfpgCg/YcK
> Nw7zT5Msb6b3eakxPaAOEys> =mcCv
> -----END PGP SIGNATURE-----