> A site I run uses a fair variety of different programs, the most common > of which are run through Apache::Registry. To cut the memory overhead, > however, less commonly used programs are run through Apache::PerlRun.
I would not expect PerlRun to use less memory than Registry. > Both the Registry and PerlRun programs use a common module which defines > a few subroutines and a selection of exported variables. These variables > are in the module as globals (ie: no "my" declaration), but with a "use > vars" to get them through strict. Does the module have a package name? Are you exporting the variables from it? Seeing some code would help. > 200 OK > The server encountered an internal error or misconfiguration... > ...More information about this error may be available in the > server error log. That just means the error happened after the initial header was sent. > The error log indicates every time > that this is due to a global set in my module that remains undef for the > program that tries to call it (and an open that dies on failure requires > the global). Again, some code would help. I suspect you are getting bitten by namespace collisions: http://perl.apache.org/guide/porting.html#Name_collisions_with_Modules_and - Perrin