[Date Prev][Date Next]
Re: 2.2.15 MASSIVE performance problems with proxycache enabled
Andre Konopka wrote:
with the help of this list I configured a LDAP Proxy Server with
overlay proxycache. My aim is to speed up Netscape/Outlook Address
First I was really impressed about the increasing performance...
But I found that if you query the LDAP-Server with just a few parallel
queries slapd is only updating his cache and doesn't answer any
How to reproduce...
Just open Netscape Addressbook and enter a single character in the
search field. Normally you get back around 100 entries.
The next time you enter the same letter, say 'a', you can see how fast
the answer is available. Now try the same with 'b', 'c' and so on.
Very soon you will see that slapd gives you no answer anymore. If you
are patient enough you will see that slapd comes back after 5-10
minutes or so...
Here ist the slapd.conf
proxyCache bdb 1000000 2 1000 100
checkpoint 64 5
index objectClass eq
index cn,sn,givenName,mail pres,eq,sub
You have configured the proxycache to use back-bdb but you have not
properly configured the back-bdb parameters. You've chosen 1000000
entries for the size of the proxycache but only 500 entries for the
back-bdb entry cache. Most likely you haven't set up a proper DB_CONFIG
either. You're probably also checkpointing too frequently, which is also
slowing down the server because you're flushing the BDB cache all the time.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
Symas: Premier OpenSource Development and Support