On 06/07/2012 11:07 PM, MORITA Kazutaka wrote:

> 5 seconds is actually too short, but is it really good to remove
> timeout completely?  Without timeout, how long does send/recv/poll
> block when network error happens, and how long do guest OSes wait for
> read/write/flush to return?


How about set SO_KEEPALIVE for the connection? Let kernel handle the
heart-beat message seems to work.

For maximum tolerant timeout, I know 120s for Linux kernel, dunno other
Kernel's. Or should we set the limit to a value approximate to it, say 110s?

Maybe the combination of these two?

Thanks,
Yuan
-- 
sheepdog mailing list
sheepdog@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to