perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@postman.hyperreal.org
Subject cvs commit: modperl mod_perl.pod
Date Tue, 25 Aug 1998 21:01:19 GMT
dougm       98/08/25 14:01:18

  Modified:    .        mod_perl.pod
  Log:
  add note about PERL_DESTRUCT_LEVEL
  
  Revision  Changes    Path
  1.12      +19 -1     modperl/mod_perl.pod
  
  Index: mod_perl.pod
  ===================================================================
  RCS file: /export/home/cvs/modperl/mod_perl.pod,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- mod_perl.pod	1998/08/25 18:48:21	1.11
  +++ mod_perl.pod	1998/08/25 21:01:17	1.12
  @@ -126,6 +126,10 @@
   
   =head1 RESTARTING
   
  +=over 4
  +
  +=item PerlFreshRestart
  +
   By default, if a server is restarted 
   (ala kill -USR1 `cat logs/httpd.pid`), Perl scripts and modules are
   not reloaded.  To reload B<PerlRequire>'s, B<PerlModule>'s, other
  @@ -134,6 +138,20 @@
   
    PerlFreshRestart On  
   
  +=item PERL_DESTRUCT_LEVEL
  +
  +With Apache versions 1.3.0 and higher, mod_perl will call the
  +perl_destruct() Perl API function during the child exit phase.
  +This will cause proper execution of B<END> blocks found during server
  +startup along with invoking the B<DESTROY> method on global objects
  +who are still alive.  It is possible that this operation may take a
  +long time to finish, causing problems during a restart.  If your code
  +does not contain and B<END> blocks or B<DESTROY> methods which need to
  +be run during child server shutdown, this destruction can be avoided by
  +setting the I<PERL_DESTRUCT_LEVEL> environment variable to C<-1>.
  +
  +=back
  +
   =head1 ENVIRONMENT
   
   Under CGI the Perl hash C<%ENV> is magical in that it inherits
  @@ -767,7 +785,7 @@
   
   =head1 REVISION
   
  -$Id: mod_perl.pod,v 1.11 1998/08/25 18:48:21 dougm Exp $
  +$Id: mod_perl.pod,v 1.12 1998/08/25 21:01:17 dougm Exp $
   
   =head1 AUTHOR
   
  
  
  

Mime
View raw message