[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
performance problem with sldap
> Hello!
> I'm running into the performance problem with sldap.
> I have a database with 200,000 entries in there.
>
> When I run continues search very often I'm getting following:
>
>
> ldap_bind: Can't contact LDAP server
> ldap_bind: Can't contact LDAP server
> ldap_bind: Can't contact LDAP server
> ldap_bind: Can't contact LDAP server
> ldap_bind: Can't contact LDAP server
> 4200
>
>
>
> Below is configuration of my server
>
> # $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.6 2001/04/20
> 23:32:43 kurt Exp $
> #
> # See slapd.conf(5) for details on configuration options.
> # This file should NOT be world readable.
> #
> include /opt/openldap-2.0.14/etc/openldap/schema/core.schema
>
> # Define global ACLs to disable default read access.
>
> # Do not enable referrals until AFTER you have a working directory
> # service AND an understanding of referrals.
> #referral ldap://root.openldap.org
>
> pidfile /opt/openldap-2.0.14/var/slapd.pid
> argsfile /opt/openldap-2.0.14/var/slapd.args
>
> concurrency 2
> threads 4
>
> # Load dynamic backend modules:
> # modulepath /opt/narus/openldap-2.0.14/libexec/openldap
> # moduleload back_ldap.la
> # moduleload back_ldbm.la
> # moduleload back_passwd.la
> # moduleload back_shell.la
>
>
> #######################################################################
> # ldbm database definitions
>
> #######################################################################
>
> database ldbm
> suffix "o=NARUS,c=US"
> #suffix "dc=my-domain,dc=com"
> #suffix "o=My Organization Name,c=US"
> rootdn "cn=Manager,o=ORG,c=US"
> #rootdn "cn=Manager,dc=my-domain,dc=com"
> #rootdn "cn=Manager,o=My Organization Name,c=US"
> # Cleartext passwords, especially for the rootdn, should
> # be avoid. See slappasswd(8) and slapd.conf(5) for details.
> # Use of strong authentication encouraged.
> rootpw secret
> # The database directory MUST exist prior to running slapd AND
> # should only be accessible by the slapd/tools. Mode 700
> recommended.
> directory /opt/openldap-2.0.14/var/openldap-ldbm
> # Indices to maintain
> # index objectClass eq
> index default pres,eq
> index objectClass,sn,cn
> cachesize 100000000
> dbcachesize 320000000
>
>
> Does anyone know what's happening?
>
>
> Thanks a lot in advance!
>
> Best Regards,
> Aleksander Sheynkman
>
>