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

Re: (ITS#4347) ldap hang for update



On Tue, 2006-01-17 at 21:48 +0000, li@research.att.com wrote:
> Full_Name: Li Su
> Version: 3.0

There is no version 3.0 (AFAIK); current version is 2.3.

> OS: linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (135.207.28.218)
> 
> 
> 
> When I do ldapsearch on a big objectclass which has about 6000 entires,

An objectClass cannot have 6000 entries; the objectClass is an attribute
of each entry.  Of course, 6000 entries can have the same objectClass.
Is this what you mean?  I suggest you try to explain your problem mking
sure you use appropriate terms, especially when they have a clearly
defined meaning in the X500/LDAP data model.

> it
> blocks
> the update or add to any objectclass.

Sounds like you're using the LDBM backend, and hitting the giant lock
issue.  If this is the case, then it's working as intended.  I'd note
that it's unlikely you can use the LDBM with OpenLDAP 3.0 (if there'll
ever be one) because LDBM is deprecated since OpenLDAP 2.2, I believe,
and will disappear from OpenLDAP with version 2.4.

> Is this to do with config file? How to fix?

Use back-bdb or back-hdb, if you're using back-ldbm; otherwise clarify
your problem.  Since up to now you didn't bring any evidence of a bug in
OpenLDAP software, I suggest we continue this discussion on the
openldap-software mailing list.  This ITS will be closed.

p.




Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------