Geoffrey Young wrote:

However open_logs and post_config running 4 times doesn't seem right, and mod_perl has no control over it. Could you try to set a breakpoint in modperl_hook_post_config and look at the traces with an aim to figure out why this happens four times? Remember that apache restarts itself, so 2 times is the right answer.


I don't know that you can necessarily say that. win32 is it's own mpm, so its model might be quite different than what we ordinarily expect on unix. as you said, we have little if any control over it.

Well, it sounds wrong, because if you write a handler which opens logs it should happen only twice by design. I admit I know nothing about winnt mpm, but it's possible that nobody has used those phases on winnt mpm and therefore didn't notice the problem. So it's quite possible that there is a bug in the mpm. It'd be nice if someone who's using this mpm would ask httpd-dev, and hopefully the list will be so kind to reply.


the multiple END running is obviously a bug on our side of river.

<handwaving>
perhaps asking httpd-dev or coming up with a pure C module for those hooks would shed some light. the ORA apache book has a module that hooks into everything, and might be a simple way to test it


http://examples.oreilly.com/apache3/

</handwaving>

there is also mod_example.c which is written for this reason I think.



__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to