[karmic] [PATCH] slapd hangs at 100% cpu and is unkillable
Bug #485026 reported by
Andreas Hasenack
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap |
Fix Committed
|
Undecided
|
Unassigned | ||
openldap (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
slapd-2.
Steps to reproduce:
1. apt-get install slapd
2. "ldapmodify -H ldapi:/// -Y EXTERNAL < base.ldif" (file attached to this ticket)
3. the ldapmodify hangs and slapd consumes all available cpu
4. slapd can now only be killed with the -9 signal
I tried to cut down the base.ldif as much as possible. I had a much bigger ldif file before.
I suspect a race or an ordering issue, because removing any one of the overlays makes the ldapmodify work.
To post a comment you must log in.
Interesting, looks like ordering is an issue.
In this order, slapd hangs: refint, olcDatabase= {1}hdb, cn=config" syncprov, olcDatabase= {1}hdb, cn=config"
adding new entry "olcOverlay=
adding new entry "olcOverlay=
adding new entry "o=example,c=us" <---- HANGS
In this other order, it works: syncprov, olcDatabase= {1}hdb, cn=config" refint, olcDatabase= {1}hdb, cn=config"
adding new entry "olcOverlay=
adding new entry "olcOverlay=
adding new entry "o=example,c=us"
Note: when testing again, you need to clear the database and the config, or just purge slapd and reinstall. Running that ldapmodify command twice in a row won't work.