Re: slapd hangs on startup

Howard Chu <[email protected]>
Newsgroups gmane.network.openldap.general
Message-ID <[email protected]>
Peter Mogensen wrote:
> Hi,
>
> 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.

http://www.openldap.org/faq/data/cache/59.html

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.