Bug 402651 - Openldap server crashes on high modify load
Openldap server crashes on high modify load
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: openldap (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jan Safranek
Depends On:
  Show dependency treegraph
Reported: 2007-11-28 08:20 EST by Jan Safranek
Modified: 2008-07-24 15:51 EDT (History)
1 user (show)

See Also:
Fixed In Version: RHBA-2008-0701
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-24 15:51:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
reproducer (1.43 KB, text/plain)
2007-11-28 08:27 EST, Jan Safranek
no flags Details
patch (4.10 KB, patch)
2007-11-28 08:30 EST, Jan Safranek
no flags Details | Diff

  None (edit)
Description Jan Safranek 2007-11-28 08:20:53 EST
Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
modify one attribute of one entry with multiple clients
Actual results:
slapd crashes

Expected results:
slapd lives

Additional info:
already fixed upstream:

Check closely memory consumption, it's rumored (its#3213) that there is also
memory leak when two clients modify one attribute at the same time.
Comment 1 Jan Safranek 2007-11-28 08:27:28 EST
Created attachment 271291 [details]

- install opendlap-servers
- delete any previous ldap databases (rm -rf /var/lib/ldap/*)
- use the default slapd.conf, only uncomment line "rootpw secret"
- start ldap server
- start the script - it will spawn 20 processes, modifying one attribute in
endless loop

After some time slapd hopefully dies. You can stop the clients by "kill
Comment 2 Jan Safranek 2007-11-28 08:30:50 EST
Created attachment 271311 [details]
Comment 3 Jan Safranek 2007-11-28 09:02:25 EST
I did not notice any problem with the memory consumption, it seems to me there
is no leak.
Comment 4 RHEL Product and Program Management 2007-11-28 22:54:38 EST
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
Comment 10 errata-xmlrpc 2008-07-24 15:51:01 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.