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

RE: Ldap or bdb hangs....



Hi

I think I found the reason for the connections to hang because at the logs
appear:

connection_input: conn=XXXX deferring operation: binding

That's why the connections aren't accepted by the server.... But How do we
fix this?
I've followed this thread
http://www.openldap.org/lists/openldap-devel/200402/msg00003.html but no
use!!!!!
I've changed the SO and no use!!!!! 

Are there anyone that knows about this?

HT


-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Hugo Tavares
Sent: sexta-feira, 5 de Novembro de 2004 16:43
To: openldap-software@OpenLDAP.org
Subject: RE: Ldap or bdb hangs....

HI all,

Well there are some good news, but...

With this configuration:

SLAPD.CONF

loglevel        2048
conn_max_pending        1000
idletimeout     15
sizelimit       25000
threads         64
timelimit       30

database        bdb
suffix          "dc=pt"
directory       /db

index   default pres,eq
index   objectclass
index   uid
index   uidNumber

access to * by * read 


And DB_CONFIG:

set_lg_bsize    2097152
set_lg_max      10485760
set_lg_dir      /var/log/bdb
set_cachesize   0       536870912       1
set_lk_max_locks        50000
set_lk_max_lockers      1000
set_lk_max_objects      4000
set_flags       DB_TXN_NOSYNC
set_lk_detect   DB_LOCK_YOUNGEST


Th slapadd command runs very fast... Before it took about 5minutes to insert
15000 entries... And now it take only a few seconds..... But the problems
with the searchs performance remains!!!!!!! :|

The client still take long time to response when there were more than 20/30
connections... And strangely it starts appearing at the logs:
Nov  5 15:49:27 ldap slapd[2777]: <= bdb_equality_candidates: (objectClass)
index_param failed (18) Nov  5 15:49:27 ldap slapd[2777]: <=
bdb_equality_candidates: (uid) index_param failed (18) 


BTW: Fredriksson, in my logs doesn't appear any BDB logs indicating problems
in cache or some invalid arguments


-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Hugo Tavares
Sent: sexta-feira, 5 de Novembro de 2004 14:57
To: 'Turbo Fredriksson'; openldap-software@OpenLDAP.org
Subject: RE: Ldap or bdb hangs....

Have you already solve it or discover where it came from?

Because Quanah Gibson-Mount is saying that this problems maybe come from
other areas and not only, I think, with the configuration settings, like
threading...

HT 

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Turbo Fredriksson
Sent: sexta-feira, 5 de Novembro de 2004 6:49
To: openldap-software@OpenLDAP.org
Subject: Re: Ldap or bdb hangs....

Quoting "Hugo Tavares" <htavares@vianetworks.pt>:

> The problem here is the openldap or bdb hangs for some reason, making 
> that slapd doesn't accept no more connections for a while and 
> ldapsearch is very slow... And this happen when the client establishes 
> a few 20/30 connections do the ldap server and should be handling with 
> about 400/500 connections per second...

So you're saying that your's "start working again" after "a while"? How long
roughly? Just wondering if you're having the same problem as I, or if it's
completley different...

http://www.openldap.org/lists/openldap-software/200410/msg00170.html