ACL performance problems

Roman Yushin <[email protected]> Thu, 20 Oct 2005 22:43:46 +0400
Newsgroups gmane.mail.jamm.user
Message-ID <[email protected]>
Hello. I am using Jamm+postfix+openldap.
I have 5 virtual domains and approx. 200 mail acounts.
I  have noticed than slapd is running very slow if ACL is switched on.
(CPU usage is 50-80% and i can't work with my server)
If i only switch off ACL (just commennt it all), CPU usage of slapd 
falls to 3-5%.

How can i fix this problem?
Perhaps, my idexes are wrong?

slapd.conf indexes:
index  default       pres,eq
index  objectClass   pres,eq
index  mail,cn,jvd       pres,eq,sub,subinitial
index  uidNumber     pres,eq
index  gidNumber     pres,eq
index  memberUid     pres,eq
index  roleOccupant  pres,eq



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl