[sheepdog] [PATCH 2/2] sheep: remove timeout for socket pool
Liu Yuan
namei.unix at gmail.com
Thu Jun 7 17:20:42 CEST 2012
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
More information about the sheepdog
mailing list