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-----
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Hi to all, i have a problem with passwordExpirationTime. the problem is: my fedora-ds is set to " password expires after 180 days. and every user have "passwordExpirationTime: 20070807102527Z" but when i try to import this messagge appear "The error sent by the server was 'Object class violation. single-valued attribute "passwordExpirationTime" has multiple values". so if i delete the attribute "passwordExpirationTime" from the user, import work fine, but the date for the expiration password is set automatically by fedora-ds to "19001023000000Z ( or simil )". How i shoud set the ntp or the right date from fedora-ds 1.0.4 ??? thanks to all
Di Giambelardini Gabriele wrote:
Hi to all, i have a problem with passwordExpirationTime. the problem is: my fedora-ds is set to " password expires after 180 days. and every user have "passwordExpirationTime: 20070807102527Z" but when i try to import
How are you trying to import? What command? What arguments?
this messagge appear "The error sent by the server was 'Object class violation. single-valued attribute "passwordExpirationTime" has multiple values". so if i delete the attribute "passwordExpirationTime" from the user, import work fine, but the date for the expiration password is set automatically by fedora-ds to "19001023000000Z ( or simil )". How i shoud set the ntp or the right date from fedora-ds 1.0.4 ??? thanks to all
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
from console and command line, ldif:
dn: uid=testd@test.it,ou=People,dc=test,dc=it stato: nuovo passwordExpirationTime: 20070701102527Z **************** give problem ********* givenName: TEST objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetorgperson objectClass: "my objectClass" reparto: REPARTO userPin: osP8tqi3 mailQuota: 251658243S mailMessageStore: /var/vmail/test.it/t/e/s/t/Maildir uid: test@test.it mail: test@test.it cn: REPARTO homeDirectory: /var/vmail userPassword: {CRYPT}$1$JOXbkPlU$L5RTfr56Milp54GTs.
Di Giambelardini Gabriele wrote:
Hi to all, i have a problem with passwordExpirationTime. the problem is: my fedora-ds is set to " password expires after 180 days. and every user have "passwordExpirationTime: 20070807102527Z" but when i try to import
How are you trying to import? What command? What arguments?
this messagge appear "The error sent by the server was 'Object class violation. single-valued attribute "passwordExpirationTime" has multiple values". so if i delete the attribute "passwordExpirationTime" from the user, import work fine, but the date for the expiration password is set automatically by fedora-ds to "19001023000000Z ( or simil )". How i shoud set the ntp or the right date from fedora-ds 1.0.4 ??? thanks to all
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Di Giambelardini Gabriele System/Network Administrator __________________________________________ FABARIS s.r.l. Cel. +39 3488504467 Tel. +39 0765 22181 - Fax +39 0765 410100 Via G. Mameli, 90 02047 Poggio Mirteto (RI) Filiale: Viale dell'Università, 25 00185 Roma (RM) www.fabaris.it __________________________________________
Di Giambelardini Gabriele wrote:
from console and command line, ldif:
dn: uid=testd@test.it,ou=People,dc=test,dc=it stato: nuovo passwordExpirationTime: 20070701102527Z **************** give problem
givenName: TEST objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetorgperson objectClass: "my objectClass" reparto: REPARTO userPin: osP8tqi3 mailQuota: 251658243S mailMessageStore: /var/vmail/test.it/t/e/s/t/Maildir uid: test@test.it mail: test@test.it cn: REPARTO homeDirectory: /var/vmail userPassword: {CRYPT}$1$JOXbkPlU$L5RTfr56Milp54GTs.
Try using ldif2db from the command line (or ldif2db.pl)
Di Giambelardini Gabriele wrote:
Hi to all, i have a problem with passwordExpirationTime. the problem is: my fedora-ds is set to " password expires after 180 days. and every user have "passwordExpirationTime: 20070807102527Z" but when i try to import
How are you trying to import? What command? What arguments?
this messagge appear "The error sent by the server was 'Object class violation. single-valued attribute "passwordExpirationTime" has multiple values". so if i delete the attribute "passwordExpirationTime" from the user, import work fine, but the date for the expiration password is set automatically by fedora-ds to "19001023000000Z ( or simil )". How i shoud set the ntp or the right date from fedora-ds 1.0.4 ??? thanks to all
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Di Giambelardini Gabriele System/Network Administrator __________________________________________ FABARIS s.r.l. Cel. +39 3488504467 Tel. +39 0765 22181 - Fax +39 0765 410100 Via G. Mameli, 90 02047 Poggio Mirteto (RI) Filiale: Viale dell'Università, 25 00185 Roma (RM) www.fabaris.it __________________________________________
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
389-users@lists.fedoraproject.org