Subject: port-i386/34464: The slapd daemon ( openldap ) is frozen during an important update of data with an MP kernel
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <cedric.devillers@script.univ-paris7.fr>
List: netbsd-bugs
Date: 09/04/2006 11:25:00
>Number:         34464
>Category:       port-i386
>Synopsis:       The slapd daemon ( openldap ) is frozen during an important update of data with an MP kernel
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 04 11:25:00 +0000 2006
>Originator:     Cedric DEVILLERS
>Release:        NetBSD 3.0
>Organization:
University Paris VII
>Environment:
NetBSD 3.0 NetBSD 3.0 (GENERIC.MPACPI) #0: Mon Dec 19 01:23:45 UTC 2005  builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC.MPACPI i386

>Description:
On a system with NetBSD 3.0 MP, the openldap daemon use 99% of CPU, and remains in this state, during an important update of the data. This problem seems related to MP kernel, because with a SP kernel, this problem does not appear.

Computer : Dell PowerEdge 1850 mono processor ( MP kernel because hyperthreading )

NetBSD 3.0 MPACPI
packages : db-4.4.20
           openldap-2.3.23

The openldap use the bdb backend.
>How-To-Repeat:
Updating a lot of data in the ldap and the process uses CPU more and more and does not do anything any more.
>Fix:
Use a SP kernel but it's not acceptable.