From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwHca-0005cE-T1 for qemu-devel@nongnu.org; Tue, 21 Apr 2009 11:10:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwHcW-0005ae-5y for qemu-devel@nongnu.org; Tue, 21 Apr 2009 11:10:52 -0400 Received: from [199.232.76.173] (port=53093 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwHcW-0005aa-0n for qemu-devel@nongnu.org; Tue, 21 Apr 2009 11:10:48 -0400 Received: from sj-iport-6.cisco.com ([171.71.176.117]:12102) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1LwHcV-0002jg-EP for qemu-devel@nongnu.org; Tue, 21 Apr 2009 11:10:47 -0400 Message-ID: <49EDE1EF.4070203@cisco.com> Date: Tue, 21 Apr 2009 09:10:39 -0600 From: "David S. Ahern" MIME-Version: 1.0 Subject: Re: [Qemu-devel] resetting a stale VNC connection References: <49EDC3B4.7030508@cisco.com> <49EDCC6F.1020703@redhat.com> In-Reply-To: <49EDCC6F.1020703@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel@nongnu.org 'egrep -r SO_KEEPALIVE qemu' did not turn up any hits for the VNC code. Can it be enabled within qemu via command line arg? I am not aware of an OS setting to enable keepalives for all sockets. Is there one in RHEL5? david Avi Kivity wrote: > David S. Ahern wrote: >> Is there a monitor command (or other method) to force a VNC client >> connection to close? >> >> It looks like the vnc code does not use keepalive probes. If the >> connection is left hanging the VNC server will never drop it. I have hit >> this condition a couple of times when a VPN connection drops while the >> vncviewer is connected to a VM. >> >> Specific software version at the moment is kvm-81. >> > > Why not just enable tcp keepalives? >