We run version 2.4.16 on two RHEL4 platforms in master-master configuration. One of our nodes regularly reports a segfault and exits. The log is shown below. This is a production platform so we run minimal logging for performance reasons.
We have been running openldap in this configuration for 2 years without a problem. The issues started after we applied as schema change and added more users accounts to the system.
The schema changes we straight-forward. We added a few optional attributes to existing objects and added one new object to our schema. Nothing that required data fixes. Our schema provides an auxiliary user account object that we use with the standard "account" object. We have a number of additional objects that are related user authentication and authorization. We applied these same changes in various development and testing environments without problem.
The other thing we did was add a lot of users accounts. Prior to this release we had some 6000 users accounts. Now we have over 15000 user accounts. We are concerned that our problem may be related to the additional load from these users. We are planning further grow in the user-base. One thing I should mention is that our system is more write-heavy that the NIS replacement system. We change attributes on the account record on every authentication request.
We suspect this might be replication related because when we dump (using slapcat) and compare the two nodes, one user account record is missing from the node with the segfaults. This weekend we plan to rebuild this node from the slapcat output of the other. We hope this will resolve our problem.
Mar 21 00:59:02 msgeuroha slapd: slapd startup succeeded
Mar 21 01:47:29 msgeuroha kernel: slapd[19367]: segfault at 0000000000000048 rip 0000003e67507c3c rsp 0000000040e7f318 error 4
Mar 21 01:53:58 msgeuroha slapd: slapd startup succeeded
Mar 21 03:46:54 msgeuroha kernel: slapd[14167]: segfault at 0000000000000048 rip 0000003e67507c3c rsp 0000000040e7f318 error 4
Mar 21 03:51:34 msgeuroha slapd: slapd startup succeeded
Mar 21 09:10:34 msgeuroha kernel: slapd[6834]: segfault at 0000000000000048 rip 0000003e67507c3c rsp 0000000040e7f318 error 4
--DS