Re: automatically restart httpd

Ryan Perry <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAByX2tjptNjm4v5K6vbesD9joVSUEHNDDNBEMgLmpkHMBJ1Wqg@mail.gmail.com>
except I use a threaded MPM so I can't use child_terminate.  Is there
another method similar to that?


On Tue, Apr 23, 2013 at 3:42 PM, Torsten Förtsch
<[email protected]>wrote:

> 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
>



-- 
*Ryan Perry*
Technology Director
RestoreHealth
1289 Deming Way
Madison, WI 53717
608.833.7046 ext 700
[email protected]
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.