DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] problem vhost-user sockets
@ 2015-12-15 12:41 Pavel Fedin
  2015-12-15 14:04 ` Yuanhan Liu
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Fedin @ 2015-12-15 12:41 UTC (permalink / raw)
  To: dev; +Cc: 'Ilya Maximets', 'Dyasly Sergey'

 Hello!

 I have a question regarding vhostuser. If we cannot bind to a socket, why do we simply fail with error instead of just unlink()ing
the path before binding?

 This causes a very annoying problem with ovs. After ovs is stopped (i use supplied system integration), these sockets are not
removed. Looks like ovs just exits without correct cleanup. This effectively causes my vhostuser interfaces to go down until i clean
them up manually. And i have to do it after every ovs restart, every system reboot, etc. It is very annoying.
 I understand that the app should really do correct cleanup upon exit. But what if it abnormally crashes because of some reason
(bug, attack, etc)? Shouldn't it be able to automatically recover?

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-12-16  1:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-15 12:41 [dpdk-dev] problem vhost-user sockets Pavel Fedin
2015-12-15 14:04 ` Yuanhan Liu
2015-12-15 14:21   ` Pavel Fedin
2015-12-15 16:37     ` Xie, Huawei
2015-12-16  1:31     ` Yuanhan Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).