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

Re: slapd hangs on startup

Peter Mogensen wrote:

This issue has been bugging me for a while, but I can't find anything
about it when googling.

I have a slapd 2.3.x server which has been taking longer and longer to
start. Lately it has ben 45 min. for a restart.
With strace you can just see it waiting for a futex:

Process 22740 attached - interrupt to quit
futex(0x56274bd8, FUTEX_WAIT, 22742, NULL

... then suddenly it starts to listen and answer queries.

What can slapd be waiting for?

Use gdb and find out.


  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/