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

Re: Koji bandaid



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

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


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