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

Re: [Nbd] nbd hangs when disconnection the network



On Thu, Jan 19, 2006 at 09:54:13AM -0600, Roy Keene wrote:
> You could try changing the value of /proc/sys/net/ipv4/tcp_retries2.

Yeah, but that works on a per-system basis; if you're doing this for a
server that also has to do other stuff, it's probably better to do this
on a per-socket basis. Except, that isn't possible, unfortunately.

Just make sure you find the right balance between not timing out your
clients too early and having the raid degrade on time. It's probably not
possible to give you a good estimate of the optimal value without a look
at your requirements.

-- 
.../ -/ ---/ .--./ / .--/ .-/ .../ -/ ../ -./ --./ / -.--/ ---/ ..-/ .-./ / -/
../ --/ ./ / .--/ ../ -/ ..../ / -../ ./ -.-./ ---/ -../ ../ -./ --./ / --/
-.--/ / .../ ../ --./ -./ .-/ -/ ..-/ .-./ ./ .-.-.-/ / --/ ---/ .-./ .../ ./ /
../ .../ / ---/ ..-/ -/ -../ .-/ -/ ./ -../ / -/ ./ -.-./ ..../ -./ ---/ .-../
---/ --./ -.--/ / .-/ -./ -.--/ .--/ .-/ -.--/ .-.-.-/ / ...-.-/



Reply to: