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

Re: [Xen-users] Xen hearbeat and automatic restarts?

Josiah Bryan wrote:
if((time - (stat('/tmp/myheartbeat')) > 120) # seconds to wait before killing and restarting the domu on a missed heartbeat
Oops..syntax was wrong! Should have been:

if((time - (stat('/tmp/myheartbeat')[9]) > 120)

I was thinking it, just never reached my fingers in that first email. Sorry!

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.