[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: 2.2.15 proxycache problem QUERY NOT CACHEABLE



Howard Chu wrote:
Andre Konopka wrote:

Pierangelo Masarati wrote:

This error means LDAP_INSUFFICIENT_ACCESS; you should post
your entire slapd.conf (the database portion, at least). Full logs (-d -1)
might help as well.



Okay, here's the config file


allow bind_v2 database ldap lastmod off suffix "c=de" uri "ldap://x2se.presse-data.de:389/";

overlay proxycache
proxyCache bdb 1000000 1 1000 100

The main database (back-ldap in this case) must have a rootdn. The proxycache overlay uses the rootdn so that it will have full privileges over the cache database. Without a rootdn, nothing works.


After adding 'rootdn' it works fine and I was very impressed.
But after playing around a while I found that the server doesn't do anything but updating his cache...
You can reproduce this behaviour by just typing single character in the 'search mask' of the address book so you usally get 100 entries back. I tried typing a, b c d e f g h and so on and after a while the server doesn't answer anymore. It takes a very long time before the server comes back to work (approx. 10Min)


Many slapd subprcesses are running....


root 4924 1 0 15:25 ? 00:00:00 /opt/pdldap/openldap/libexec/sla
root 4925 4924 0 15:25 ? 00:00:00 /opt/pdldap/openldap/libexec/sla
root 4926 4925 0 15:25 ? 00:00:00 /opt/pdldap/openldap/libexec/sla
root 4927 4925 0 15:25 ? 00:00:01 /opt/pdldap/openldap/libexec/sla
root 5020 4925 0 15:29 ? 00:00:00 /opt/pdldap/openldap/libexec/sla
root 5021 4925 0 15:29 ? 00:00:01 /opt/pdldap/openldap/libexec/sla
root 5022 4925 0 15:29 ? 00:00:01 /opt/pdldap/openldap/libexec/sla
root 5023 4925 0 15:29 ? 00:00:02 /opt/pdldap/openldap/libexec/sla
root 5024 4925 0 15:29 ? 00:00:00 /opt/pdldap/openldap/libexec/sla
root 5025 4925 0 15:29 ? 00:00:00 /opt/pdldap/openldap/libexec/sla
root 5026 4925 0 15:29 ? 00:00:00 /opt/pdldap/openldap/libexec/sla
root 5027 4925 0 15:29 ? 00:00:01 /opt/pdldap/openldap/libexec/sla
root 5028 4925 0 15:29 ? 00:00:00 /opt/pdldap/openldap/libexec/sla
root 5029 4925 0 15:29 ? 00:00:00 /opt/pdldap/openldap/libexec/sla
root 5030 4925 0 15:29 ? 00:00:00 /opt/pdldap/openldap/libexec/sla
root 5031 4925 0 15:29 ? 00:00:00 /opt/pdldap/openldap/libexec/sla
root 5032 4925 0 15:29 ? 00:00:01 /opt/pdldap/openldap/libexec/sla
root 5033 4925 0 15:29 ? 00:00:00 /opt/pdldap/openldap/libexec/sla
root 5034 4925 0 15:29 ? 00:00:01 /opt/pdldap/openldap/libexec/sla




Any idea???


Best regards

Andre