On Mon, 23 Dec 2002, Rich Bowen wrote: > The docs claim that MinSpareThreads defaults to 250, and MaxSpareThreads > defaults to 500, for the worker MPM. However the dist config file lists > 25 and 75. This latter seems more in line with the docs for > ThreadsPerChild, which list 25 threads per child as the default. I've > been pawing through the code, but I'm not having much luck locating > where these default values are set. All I can find is a place where > min_spare_threads is set to 1 if it is 0 or less in the config, and > similar things for the other above-listed directives. I can't find any > actual default values listed. If someone could point me in the right > direction, or tell me whether the docs or the default config are correct > on this point, that would be helpful. Thanks.
IRC transcript follows: <Rias> L1914 worker.c <DrBacchus> Rias: Ahhhh. <DrBacchus> And what are those set to <Rias> #define DEFAULT_MIN_FREE_DAEMON 3 <Rias> #define DEFAULT_THREADS_PER_CHILD 25 <DrBacchus> Rias: Where the heck is that? <Rias> in mpm_default.h <DrBacchus> Oh, mpm_default. Got it. <Rias> #define DEFAULT_MAX_FREE_DAEMON 10 <Rias> so 75 and 250 <DrBacchus> OK. So neither the docs nor the default config are correct. <DrBacchus> Good. <Rias> nope <Rias> :) <Rias> that's not good ;) <DrBacchus> Will fix. -- Rich Bowen Apache - mod_perl - Perl - CGI http://www.ApacheAdmin.com/
