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

[Xen-users] xl/qemu/tapdisk2 port issue



Hi,


We are seeing a very strange thing with the port we are using 33000. Our daemon hvmmgrd uses port 33000 but when hvmmgrd dies, xl/qemu-dm/tapdisk2 processes grab that port and we are not able to restart our daemon.


Why does qemu-dm/xl/tapdisk2 go after our port? We have tried changing to different port numbers but the  qemu-dm/xl/tapdisk2 processes are going after that port only. It almost feels like kernel is giving back last freed port. But why?


lc-4:/tmp # netstat -tulp --numeric-port

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name

tcp        0      0 *:16111                 *:*                     LISTEN      31651/ssc_podd

tcp        0      0 *:111                   *:*                     LISTEN      13173/rpcbind

tcp        0      0 *:54001                 *:*                     LISTEN      31601/cardmgr

tcp        0      0 *:22                    *:*                     LISTEN      13848/sshd

tcp        0      0 *:7800                  *:*                     LISTEN      21380/dlm_hostd

tcp        0      0 *:680                   *:*                     LISTEN      1351/bamc

tcp        0      0 *:111                   *:*                     LISTEN      13173/rpcbind

tcp        0      0 *:22                    *:*                     LISTEN      13848/sshd

tcp        0      0 *:11008                 *:*                     LISTEN      21354/save_techd

tcp        0      0 *:33000                 *:*                     LISTEN      26475/hvmmgrd

udp        0      0 *:111                   *:*                                 13173/rpcbind

udp        0      0 127.0.0.2:123           *:*                                 14957/ntpd

udp        0      0 localhost:123           *:*                                 14957/ntpd

udp        0      0 *:123                   *:*                                 14957/ntpd

udp        0      0 *:625                   *:*                                 13173/rpcbind

udp        0      0 *:679                   *:*                                 1351/bamc

udp        0      0 *:111                   *:*                                 13173/rpcbind

udp        0      0 localhost:123           *:*                                 14957/ntpd

udp        0      0 fe80::ff:fe01:308%6:123 *:*                                 14957/ntpd

 

// kill hvmmgrd


lc-4:~ # netstat -tulp --numeric-ports

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name

tcp        0      0 *:5900                  *:*                     LISTEN      8300/qemu-dm

tcp        0      0 *:5901                  *:*                     LISTEN      11985/qemu-dm

tcp        0      0 *:16111                 *:*                     LISTEN      31651/ssc_podd

tcp        0      0 *:111                   *:*                     LISTEN      13173/rpcbind

tcp        0      0 *:54001                 *:*                     LISTEN      31601/cardmgr

tcp        0      0 *:22                    *:*                     LISTEN      13848/sshd

tcp        0      0 *:7800                  *:*                     LISTEN      21380/dlm_hostd

tcp        0      0 *:680                   *:*                     LISTEN      1351/bamc

tcp        0      0 *:111                   *:*                     LISTEN      13173/rpcbind

tcp        0      0 *:22                    *:*                     LISTEN      13848/sshd

tcp        0      0 *:11008                 *:*                     LISTEN      21354/save_techd

tcp        0      0 *:33000                 *:*                     LISTEN      8265/tapdisk2

udp        0      0 *:111                   *:*                                 13173/rpcbind

udp        0      0 127.0.0.2:123           *:*                                 14957/ntpd

udp        0      0 localhost:123           *:*                                 14957/ntpd

udp        0      0 *:123                   *:*                                 14957/ntpd

udp        0      0 *:625                   *:*                                 13173/rpcbind

udp        0      0 *:679                   *:*                                 1351/bamc

udp        0      0 *:111                   *:*                                 13173/rpcbind

udp        0      0 localhost:123           *:*                                 14957/ntpd

udp        0      0 fe80::ff:fe01:308%6:123 *:*                                 14957/ntpd

udp        0      0 *:123                   *:*                                 14957/ntpd

udp        0      0 *:625                   *:*                                 13173/rpcbind



Thanks,

/Saurabh 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.