
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/1... Apparently during the time it was hang today,this command succeeded. any suggestions on how to check if gerrit service is hang? Eyal.

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/1...
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.

already done and working. ----- Original Message -----
From: "Dan Kenigsberg" <danken@redhat.com> To: "Eyal Edri" <eedri@redhat.com> Cc: "infra" <infra@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/1...
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.

On 06/04/2012 05:34 PM, 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/1...
Apparently during the time it was hang today,this command succeeded.
any suggestions on how to check if gerrit service is hang?
Eyal. _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
lets see if gitweb via gerrit is an indication. please monitor this as well: http://gerrit.ovirt.org/gitweb?p=test.git;a=shortlog

----- Original Message -----
From: "Itamar Heim" <iheim@redhat.com> To: "Eyal Edri" <eedri@redhat.com> Cc: "infra" <infra@ovirt.org> Sent: Tuesday, June 5, 2012 4:12:49 PM Subject: Re: testing if gerrit.ovirt.org is up/hang
On 06/04/2012 05:34 PM, 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/1...
Apparently during the time it was hang today,this command succeeded.
any suggestions on how to check if gerrit service is hang?
Eyal. _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
lets see if gitweb via gerrit is an indication. please monitor this as well: http://gerrit.ovirt.org/gitweb?p=test.git;a=shortlog
ok. btw, i managed to catch the gerrit downtime today and see what wget hang. added timeout to fail the test after 1 min (usually takes 1-2 secs)

On 06/05/2012 04:14 PM, Eyal Edri wrote:
lets see if gitweb via gerrit is an indication. please monitor this as well: http://gerrit.ovirt.org/gitweb?p=test.git;a=shortlog
ok.
btw, i managed to catch the gerrit downtime today and see what wget hang. added timeout to fail the test after 1 min (usually takes 1-2 secs)
afaik, today was different than yesterday. (unless someone restarted gerrit to release the hang, which was the problem yesterday). today i think it was just a network issue at amazon
participants (3)
-
Dan Kenigsberg
-
Eyal Edri
-
Itamar Heim