Version-Release number of selected component (if applicable): openldap-servers-2.2.13-8.el4_6.1 How reproducible: sometimes 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: http://www.openldap.org/its/index.cgi/Software%20Bugs?id=3188 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.
Created attachment 271291 [details] reproducer Usage: - 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 `/tmp/test.pid`".
Created attachment 271311 [details] patch
I did not notice any problem with the memory consumption, it seems to me there is no leak.
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 release.
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. http://rhn.redhat.com/errata/RHBA-2008-0701.html