Regards all,

I've installed mod_perl and latest version of apache.  Everything seems to
be working fine.

I have set StatINC as the PerlInitHandler in my httpd.conf so as to stat()
file and libraries which are are dependencies of scripts handled by the
modperl handler.  In addition, I have a startup file which is run early on
in my .conf to add another lib to the @inc (or is it %INC?) variable so
StatINC will check in the necessary directories.

Here is my problem:  StatINC seems to work fine several times after I
restart the server but then at some point begins to act funky.  I'll reload
a page and either/or a source file will get reloaded every time (despite
it's time not changing)  or i'll get different versions of the page popping
up (versions which existed in previous revision of my source file).  Its
from looking at my error_log that different httpd child processes are
catching the different browser requests and reloading the source files.
It is extremely frustrating to say the least as I can't understand what the
problem really is.  Logic would dictate that if a httpd child process
received a request to handle a mod-perl-script that StatINC would tell the
server to hold up for a second while it recompiles these modules and then
let it go on it's way.  It's almost as if each child process maintains it's
own seperate cached version of the modperl-covered scripts.  Is this the
case?

Does anyone have any ideas?


Reply via email to