Thread: SLAPD.EXE taking a lot of CPU Time

This question is answered. Helpful answers available: 3. Correct answers available: 1.


Permlink Replies: 3 - Pages: 1 - Last Post: Sep 8, 2008 2:56 AM Last Post By: YM
JeremieR

Posts: 35
Registered: 03/11/08
SLAPD.EXE taking a lot of CPU Time
Posted: Sep 5, 2008 8:16 AM
 
Click to report abuse...   Click to reply to this thread Reply
Hi all,

I'm getting this stange issue on our Dev Boxes, when trying to launch a business rule, a process called slapd.exe (Open Ldap) takes up to 50 / 60 % of CPU time and it takes about 1 to 2 min for the prompts on the business rules to appear.
The system just seems to hang ...

Please let me know if you know how to resolve this,

Cheers,

Jeremie
JohnGoodwin

Posts: 6,655
Registered: 10/09/07
Re: SLAPD.EXE taking a lot of CPU Time
Posted: Sep 5, 2008 9:17 AM   in response to: JeremieR in response to: JeremieR
Helpful
Click to report abuse...   Click to reply to this thread Reply
Hi,

I came across tip for speeding up OpenLdap a while ago, I have never tested it as I have never found the need to but here it is :-

Stop the OpenLdap service

Open slapd.conf which is under SharedServices\openLDAP\

Locate

# Indices to maintain
index objectClass eq
index cn,ou,cssIdentity,member,cssRoleDN,cssProductCode,cssVersion eq
index cssDisplayNameDefault eq,sub

and add

index uniqueMember eq

Save/Close

run slapindex.exe -f c:\<location to slapd.conf>\slapd.conf

Start up OpenLdap service again.

Though this doesn't explain the reason why you are suddenly getting performance issues, do you have a large amount of native users/groups ?
If you are on 9.3.1 have you tried Sync Native Directory from Shared Services.

Cheers

John
http://john-goodwin.blogspot.com/
JeremieR

Posts: 35
Registered: 03/11/08
Re: SLAPD.EXE taking a lot of CPU Time
Posted: Sep 8, 2008 2:26 AM   in response to: JohnGoodwin in response to: JohnGoodwin
 
Click to report abuse...   Click to reply to this thread Reply
John,

Thanks for your reply ! Trying this out now !
I am on 9.3.1. I had tried syncing the users in Shared Services but will give it another go.
We are using MSAD and a native groups. The size of the Berkeley DB is about 4/5 Mb ... So I'm not sure that would be the issue.
We are on 9.3.1. I had tried syncing the users in Shared Services but will give it another go.
I'll let you know the outcome.
Thanx
YM

Posts: 53
Registered: 01/14/08
Re: SLAPD.EXE taking a lot of CPU Time
Posted: Sep 8, 2008 2:52 AM   in response to: JeremieR in response to: JeremieR
Helpful
Click to report abuse...   Click to reply to this thread Reply
Hello,

We had the same problem. I also recommend you to create indexes for Berkley DB. There is a patches for Shared Services (7020560 9.3.1.0.01 or 7020732 9.3.1.0.03, I'm not sure) with instructions how to create indexes.

Regards,
YM

Edited by: user614618 on Sep 8, 2008 1:56 PM
Legend
Guru Guru : 2500 - 1000000 pts
Expert Expert : 1000 - 2499 pts
Pro Pro : 500 - 999 pts
Journeyman Journeyman : 200 - 499 pts
Newbie Newbie : 0 - 199 pts
Oracle ACE Director
Oracle ACE Member
Oracle Employee ACE
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums