[Date Prev][Date Next]
Re: Question about Cygwin OpenLDAP
Thank-you for replying...
Matthew Hardin wrote:
Wow, even though I compiled OpenLDAP server with the --without-threads
flag there are threads being created, saw five threads running.
Slapd is multi-threaded and so never forks except on startup when it is
detaching itself from its control tty. In NT (cygwin) that's not really
relevant because it usually runs as a service. New threads are created
as needed up to the maximum allowable number, which currently defaults
to 16. Slapd continues to use threads running under cygwin.
Interesting, so on cygwin, does the --without-threads even have an
effect? Because when I do not use --without-threads the server hangs
when exiting. BTW I am using the pure cygwin compile, not with the
To prove whether or not slapd is creating multiple threads, just look at it
with a good system monitoring tool, such as Taskinfo 2000. That will let
you see what the slapd process is doing, including how many thread are
active at any given time.