testing if gerrit.ovirt.org is up/hang

Eyal Edri eedri at redhat.com
Tue Jun 5 11:26:01 UTC 2012


already done and working.


----- Original Message -----
> From: "Dan Kenigsberg" <danken at redhat.com>
> To: "Eyal Edri" <eedri at redhat.com>
> Cc: "infra" <infra at ovirt.org>
> Sent: Tuesday, June 5, 2012 2:20:42 PM
> Subject: Re: testing if gerrit.ovirt.org is up/hang
> 
> On Mon, Jun 04, 2012 at 10:34:06AM -0400, Eyal Edri wrote:
> > hi,
> > 
> > i want to enhance the job that monitors gerrit.ovirt.org.
> > 
> > today it just do 'wget -v -d gerrit.ovirt.org':
> > 
> > http://jenkins.ovirt.org/view/system-monitoring/job/check_gerrit_ovirt_org/10214/console
> > 
> > Apparently during the time it was hang today,this command
> > succeeded.
> > 
> > any suggestions on how to check if gerrit service is hang?
> 
> It's the classical question, how can you tell if a program is dead or
> just very very slow.
> 
> The usual answer is "define a timeout".
> 
>     wget -v -d --timeout 5 gerrit.ovirt.org
> 
> currently fails after a minute or two of trying. BTW, you could add
> `date` before and after `wget` to see if that's the case.
> 
> Dan.
> 



More information about the Infra mailing list