Issue 7109 - Slapd Freezing
Summary: Slapd Freezing
Status: VERIFIED SUSPENDED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.23
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-10 17:04 UTC by nikolay.bogdanov@flant.ru
Modified: 2021-06-07 16:47 UTC (History)
0 users

See Also:


Attachments
debug.tar (110.00 KB, application/x-tar)
2011-12-20 06:21 UTC, nikolay.bogdanov@flant.ru
Details

Note You need to log in before you can comment on or make changes to this issue.
Description nikolay.bogdanov@flant.ru 2011-12-10 17:04:01 UTC
Full_Name: Nikolay Bogdanov
Version: 2.4.23
OS: Debian/Ubuntu
URL: ftp://ftp.openldap.org/incoming/sysinfo.txt
Submission from: (NULL) (95.221.182.198)


Dear �olleagues,
We used open ldap for three years. But some weeks ago we disided to
restructurate our LDAP server. We did it, but  there are a lot of users in the
company. So we enabled the "rwm" overlay and added "oldDn" field in a schema.
Futhermore, we use "memberof" overlay. As a result users can bind with their old
dn. But after that slapd stops with deadlock everyday. What can you advice for
us? And what information should we provide to solve this problem? (strace, gdb
log, db_stat or something else?)
With best regards, Nikolay Bogdanov. CJSC Flant.
Comment 1 Hallvard Furuseth 2011-12-10 19:06:55 UTC
nikolay.bogdanov@flant.ru writes:
> Version: 2.4.23
> (...) What can you advice for us?

Upgrade, building from the source at www.openldap.org.
There are several possibly-related bugfixes since 2.4.23.

Then report back whether nor not that fixed the problem.  If it is:

> And what information should we provide to solve this problem? (strace, gdb
> log, db_stat or something else?)

Server log from slapd, and gdb 'thread apply all backtrace'.

Unfortunately OpenLDAP installation strips debugging symbols by default,
which makes backtraces nearly useless.  You can prevent that by
configuring with
	    ./configure --enable-memberof ac_cv_prog_STRIP=:

-- 
Hallvard

Comment 2 Quanah Gibson-Mount 2011-12-12 20:04:13 UTC
--On Saturday, December 10, 2011 7:07 PM +0000 h.b.furuseth@usit.uio.no 
wrote:

> Unfortunately OpenLDAP installation strips debugging symbols by default,
> which makes backtraces nearly useless.  You can prevent that by
> configuring with
> 	    ./configure --enable-memberof ac_cv_prog_STRIP=:

You can also do it at install time by simply typing:

make install STRIP=""

--Quanah



--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Comment 3 nikolay.bogdanov@flant.ru 2011-12-13 08:43:46 UTC
Dear Colleagues,
we compiled new ldap (2.4.28) on weekend and started in production, but problem does not solved. Now i trying to collecl debug info.
best regards, Nikolay Bogdanov. CJSC Flant.

Comment 4 Hallvard Furuseth 2011-12-14 08:29:13 UTC
I wrote:
>> And what information should we provide to solve this problem? (strace, gdb
>> log, db_stat or something else?)
> 
> Server log from slapd, and gdb 'thread apply all backtrace'.

Eh, I forgot the obvious one: slapd's configuration, minus any passwords.

-- 
Hallvard

Comment 5 nikolay.bogdanov@flant.ru 2011-12-20 06:21:03 UTC
Hello.
This is some debug info, that we collect. Also, now we have two ldap 
servers. Stable without rwm for some servicies, like a e-mail server and 
current (2.4.28) with rwm for users. So we can collect debuginfo easily.

With best regards, Nikolay Bogdanov. CJSC Flant.

Comment 6 Quanah Gibson-Mount 2017-03-29 22:28:46 UTC
moved from Incoming to Software Bugs
Comment 7 Quanah Gibson-Mount 2021-06-07 16:47:07 UTC
Multiple fixes made to slapo-rwm in the 2.5 release.  If this still occurs with that release please follow up.