[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [Mason] subcomponents seem to have a different INC list sometimes? Shane McCarron Tue Dec 02 15:01:15 2008

On Tue, Dec 2, 2008 at 4:36 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote:

> On Tue, Dec 2, 2008 at 5:26 PM, Shane McCarron <[EMAIL PROTECTED]>
> wrote:
> > While we DO support mod_perl 1, in the case of
> > these customers they are both using modern versions of Apache 2 and
> mod_perl
> > 2.  In either case, since SOME of our modules compile just fine, and it
> only
> > falls over in a subcomponent, I remain mystified!
> Are you using PerlOptions +Parent?

We are not.  I would hope the customer did not add that on their own...
Seems unlikely.  However, we have asked them to send us their complete
httpd.conf collection - might shed more light.

> Is your "use lib" being run in the parent process before any requests come
> in?

Yes - it is in a file (ATMHandler.pm) that gets brought in via a PerlRequire
statement in the httpd.conf file.  Presumably that means it is getting
compiled and the BEGIN block executed during server startup.  Or does that
happen as each child process starts up?  I can never keep that straight.

> Another thing to check is if you're running out of filehandles:
> http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html#Can_t_locate_F_TestFilter_in_str_consume_pm__in_C__INC____

Interesting (and troubling) suggestion.  We will look into that!

Shane McCarron
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Mason-users mailing list