[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OpenLDAP 2.0.23 crashes



At 04:18 AM 2002-06-19, Ralf Narozny wrote:
>Hello all!
>
>I hope this is the right list to put my question to.
>
>I have a problem with a crashing OpenLDAP 2.0.23 on Linux version 2.4.18-pre9 (gcc version 2.95.4 (Debian prerelease)) #2 SMP.

There have been a few header changes in recent glibs which
might have an impact on socket closures...


>The slapd of the master refuses all connections from time to time. The processes in work
>are still running but all further connections fail. The slapd has to be killed with
>SIGKILL signal.

Sounds like your exhausting file descriptors.  You likely
need to bump up the limit.  Also watch your idle timers
and kernel timers for TCP closure states.

>I already switched debug on (63) and have some output on one of the occasions, but I
>don't have too much insight into the meaning of the debug messages. Can anyone tell
>me where to find informations on it?
>
>Some data on our LDAP:
>We have about 7.5 million customers in it, running 3 replica and have from 4000 to 12000
>new entries each day. So we cannot switch of that machine for a longer period than about
>10 seconds ;-)

Sounds like you need to tune the master for write-only access
(few indices), off load all the reads to slaves, and even use
slaves for backups and stuff.