Koji bandaid

Dennis Gilmore dennis at ausil.us
Tue Feb 19 13:14:10 UTC 2008


On Saturday 16 February 2008, Mike McGrath wrote:
> The koji builders don't check back in automatically[1] if they've lost a
> connection to the host.  I put this script together in an attempt to fix
> it, thought I'd post it here before sticking it on the builders.  Basic
> premis is check if its checked in in 5 minutes (should be waaay more then
> enough)  unless the box is under high load, then check 15 minutes, might
> be over kill.
>
> I'd like to run this check via cron every 5 minutes on each builder.
> Anyone have any suggested fixes or against me running this?
>
> 	-Mike
>
> [1] https://fedorahosted.org/koji/ticket/66

Looks fine to me.  its pretty conservative.  but that not a bad place to 
start.  I think we should have something similar for the hub that checks if 
it can talk to the db, and if the hub is throwing 500 errors restarts apache. 

Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-infrastructure-list/attachments/20080219/1f04cf07/attachment.sig>


More information about the Fedora-infrastructure-list mailing list