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

Re: slow shutdowns

matthew sporleder wrote:
I'm running a pretty large slapd 2.3.23 (3G-5G or so) and shutdown is
taking anywhere from twenty minutes to an hour.  (I'm still waiting
for a shutdown and hoping for an hour)

I was just wondering what exactly was happening.  I suspect that it's
something in bdb_db_close(), but I'm not sure what's really going on
since truss is just sitting around and prstat reports the pid in

My guess is that it's walking the entire cache and free-ing it, but I
would expect the memory to change or the truss to return free's in
that case.  Any ideas?  My last log messages are:
daemon: shutdown requested and initiated.
slapd shutdown: waiting for 0 threads to terminate

Attach to it with gdb and get a stack trace.

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