monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monit_http


From: Rory Toma
Subject: Re: monit_http
Date: 17 Feb 2003 16:01:32 -0800

> > Just out of curiousity, what version of gcc are you using?
> 
> In this case I was using the RedHat's idiotic 2.96 release for RH 7.3
> for building monit. (I normally use (GCC) 3.2.1). But this problem is
> almost certainly not a compiler issue.

Probably not, nor is it a glibc issue either. I'll have to poke in the
kernel to see what's going on.

> 
> > My machine is reasonably fast. For now, I'm adding this:
> > 
> > if (Run.init)
> >     exit(1);
> > 
> > to the failure of create_server_socket in engine.c:start_httpd
> > I'm going to add this locally, as it fixes a problem we're seeing, and I
> > can investigate as to why this happens to me on different systems.
> 
> That's a fair thing to do. BTW, how long do you have to wait before
> monit can bind the server socket again after you do a skill -9 monit?
> If the wait is in seconds, the best thing to do, I agree, is to just
> exit, but if it's short it may be worth looping a few times in

It's from a fraction of a second to seconds. I'll check in the exit if
Run.init and I'll see if I can find the root cause of the problem before
doing more.

-- 
Rory Toma               address@hidden
VP of Run Level 5       http://www.trs80.net
Digeo Digital           http://www.digeo.com

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]