Perrin Harkins wrote:
>>i would like to prevent any of my mod_perl scripts from running longer
> 
> than
> 
>>5 seconds.  is there an elegant way to make a general timeout that
> 
> does not
> 
>>require changing all my scripts?  i run both Registry and Mason
> 
> scripts in
> 
>>my environment.
> 
> 
> You could try setting an alarm in a fixup handler.  But if you're just
> trying to prevent runaway servers, I'd suggest Apache::Resource.

or Apache::Watchdog::RunAway


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to