Hello Perrin and Lionel,
Lionel MARTIN wrote:
Unless I'm mistaken, and even if there is only one (child) Apache
process and several thread under Windows (winnt MPM), the only
directive that can be used is MaxRequestsPerChild and not
MaxRequestsPerThread.
It is not possible to restart individual threads (and associated Perl
Interpreteers), but only restart the child (which means restarting all
the threads at once). So, basically, the value indicated by
MaxRequestsPerChild is shared among all threads. (and its defaults
value is 0, which means that your child is never restarted because of
having handled too many requests).
Makes sense. I've tried inserting:
MaxRequestsPerThread 2
to httpd.conf, but it complains that 'perhaps misspelled or defined by a
module not included in the configuration'. Which is quite true: I don't
see any <IfModule> tags for WinNT. Any suggestions?
That's a bit of pity, because that's like an "all or nothing"
behaviour, you can't kill individual threads because they are growing
too much.
I know. It's the curse of being a Windows developer. We're all screwed.