Re: PerlRequire script starts two times - how to avoid this

[prev] [thread] [next] [Date index for 2004/11/18]

From: Stas Bekman
Subject: Re: PerlRequire script starts two times - how to avoid this
Date: 03:34 on 18 Nov 2004
Marcin Kosewski wrote:
> Hi Gurus,
> 
> I'm using Apache 1.3.33 with mod_perl 1.29. In Apache httpd.conf file I'm
> loading external perl directives using:
>     PerlRequire startup.pl
> 
> I've checked, that during apache startup 'startup.pl' runs two times. And
> I want, that this script runs only once (because I'm allocating there
> shared memory areas for later use).
> 
> So, question is: how to force Apache to run this script exactly once during
> startup.

http://perl.apache.org/docs/1.0/guide/config.html#Apache_Restarts_Twice_On_Start

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: PerlRequire script starts two times - how to avoid this
Stas Bekman 03:34 on 18 Nov 2004

Apache::Session delete error
Bart Simpson 23:00 on 18 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52