On Sat, Feb 03, 2007 at 11:54:49AM -0800, Vagrant Cascadian wrote: > Package: nbd-server > Version: 1:2.8.7-3 > Severity: normal > > when using nbd-server with the "-a timeout" option, it will often > disconnect running nbd-client instances that have merely been inactive > for a while. it would be much, much more useful if it implemented some > sort of "ping" to determine if the nbd-client instance is still there, > just not very active. > > the workaround is just to have the machine running an nbd-client make > nbd accesses periodically just to keep the connection alive... but > that's kind of ugly.
Or just do not use it at all. nbd-server does set the SO_KEEPALIVE socket option, which will do such keepalive requests every once in a while. However, for that to kick in, it takes two hours (by default), and then you still need a number of probes before it is actually disconnected and the server killed. Anyhow, if you want to write a patch that makes the -a option more useful, feel free... but that would probably also require a kernel patch, which I don't maintain. -- <Lo-lan-do> Home is where you have to wash the dishes. -- #debian-devel, Freenode, 2004-09-22 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]