Re: Undefined subroutine &UNIVERSAL::ref::_hook called at /ModPerl/RegistryCooker.pm line 288

Vincent Veyron <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Fri, 16 Jun 2017 11:59:14 -0700
[email protected] wrote:

> Hey there, I'm getting random but sequential internal server errors,
> which Apache logs showing: 
> 
> Undefined subroutine &UNIVERSAL::ref::_hook called at
> /usr/local/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm
> line 288 
> 
> After refreshing the browser, the errors may continue a few times and
> then resolve themselves. Later on they return. 

That could be because of apache forking new processes to serve requests : the faulty process shows the error, then your next request is served by a new process which compiles for some reason.

You might want to try to run in single process mode :

https://perl.apache.org/docs/general/control/control.html#Running_a_Server_in_Single_Process_Mode


-- 
					Bien à vous, Vincent Veyron 

https://compta.libremen.com
Logiciel libre de comptabilité générale en partie double
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.