perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Förtsch <torsten.foert...@gmx.net>
Subject Re: automatically restart httpd
Date Tue, 23 Apr 2013 20:42:46 GMT
On 23/04/13 17:49, Ryan Perry wrote:
> I've been plagued by some bug that makes a call to LWP stop working:
> "Can't connect to 192.168.0.222 (Bad hostname)"

If you can catch the error when it occurs, you can call
$r->child_terminate to terminate the process after the current request.
The parent apache then starts a fresh copy.

Torsten

Mime
View raw message