[virt-tools-list] VirtViewer and TCP Keepalives

Christophe Fergeau cfergeau at redhat.com
Wed Sep 18 08:04:46 UTC 2013


Hey,

On Wed, Sep 18, 2013 at 06:54:14AM +0800, Colin Coe wrote:
> While I've been writing this, I've had an strace running on a remote-viewer
> session.
> ---
> [colin at fedora18 ~]$ strace -e trace=setsockopt -p 15504
> Process 15504 attached
> ---
> >From another terminal session,
> ---
>  [colin at fedora18 ~]$ ps -ef | grep strace
> colin     15534  7107  0 06:00 pts/11   00:00:00 strace -e trace=setsockopt
> -p 15504
> colin     16799 19435  0 06:34 pts/5    00:00:00 grep --color=auto strace
> [colin at fedora18 ~]$
> ---
> So the strace has been running for about 35 minutes now, and strace has not
> shown a single 'setsockopt'.

I see that you are attaching your strace session to an already running
process. The setsockopt calls are done when remote-viewer connects to the
remote host, so if the connection is already done by the time you attach
your strace session, then I would not expect to get more setsockopt calls.
Can you try running remote-viewer from the start through strace?

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20130918/6ebf2a2c/attachment.sig>


More information about the virt-tools-list mailing list