Re: CPU utilization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eddie C wrote:
The best way to handle performance issues is look in the acccess log for notes=U. These are unindexed searches. Its amazing to add the index and then watch the processor move from 99% to 0% thats what happened with one of our applications.

It is definately a good idea to make different usernames for you different applications. If you give each application a different login it later allows you to go back and write individual ACI's. If all your applications share the same login you will eventually have to move all applications to a different user.

Here is a question for all. Does anyone know of a log tool specifically for LDAP logs? I think there are big possibilites for something like this.
bin/slapd/admin/bin/logconv.pl can help diagnose some problems like this.

Edward



On 1/26/07, *David Boreham* <david_list@xxxxxxxxxxx <mailto:david_list@xxxxxxxxxxx>> wrote:

    Renato Ribeiro da Silva 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 ?
    >
    >
    Look in the access log. If there is an application loading the server
    then its operations will  show up in quantity in the log.
    Also try running the 'pstack' command on the slapd process.
    This will give you a stack trace for where the CPU is being
    burned, which in turn may indicate the cause.


    --
    Fedora-directory-users mailing list
    Fedora-directory-users@xxxxxxxxxx
    <mailto:Fedora-directory-users@xxxxxxxxxx>
    https://www.redhat.com/mailman/listinfo/fedora-directory-users


------------------------------------------------------------------------

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux