[ovs-dev] [PATCH v2 RFC] ovs-lib: try to call exit before killing

2015-12-15 Thread Ilya Maximets
While killing OVS may not free all allocated resources. Eample: Socket for vhost-user port will stay in a system after 'systemctl stop openvswitch' and opening that port after restart will fail. Signed-off-by: Ilya Maximets --- version 2: * added '-T 1' *

Re: [ovs-dev] [PATCH v2 RFC] ovs-lib: try to call exit before killing

2015-12-15 Thread Ben Pfaff
On Wed, Dec 16, 2015 at 09:50:56AM +0300, Ilya Maximets wrote: > While killing OVS may not free all allocated resources. > > Eample: > Socket for vhost-user port will stay in a system > after 'systemctl stop openvswitch' and opening > that port after restart will fail. > > Signe

Re: [ovs-dev] [PATCH v2 RFC] ovs-lib: try to call exit before killing

2015-12-15 Thread Ilya Maximets
On 16.12.2015 09:53, Ben Pfaff wrote: > On Wed, Dec 16, 2015 at 09:50:56AM +0300, Ilya Maximets wrote: >> While killing OVS may not free all allocated resources. >> >> Eample: >> Socket for vhost-user port will stay in a system >> after 'systemctl stop openvswitch' and opening >> t

Re: [ovs-dev] [PATCH v2 RFC] ovs-lib: try to call exit before killing

2015-12-16 Thread Ben Pfaff
On Wed, Dec 16, 2015 at 09:58:56AM +0300, Ilya Maximets wrote: > > > On 16.12.2015 09:53, Ben Pfaff wrote: > > On Wed, Dec 16, 2015 at 09:50:56AM +0300, Ilya Maximets wrote: > >> While killing OVS may not free all allocated resources. > >> > >> Eample: > >>Socket for vhost-user port will stay

Re: [ovs-dev] [PATCH v2 RFC] ovs-lib: try to call exit before killing

2015-12-16 Thread Ilya Maximets
On 16.12.2015 11:27, Ben Pfaff wrote: > On Wed, Dec 16, 2015 at 09:58:56AM +0300, Ilya Maximets wrote: >> >> >> On 16.12.2015 09:53, Ben Pfaff wrote: >>> On Wed, Dec 16, 2015 at 09:50:56AM +0300, Ilya Maximets wrote: While killing OVS may not free all allocated resources. Eample: >>>

Re: [ovs-dev] [PATCH v2 RFC] ovs-lib: try to call exit before killing

2015-12-16 Thread Ben Pfaff
On Wed, Dec 16, 2015 at 12:07:23PM +0300, Ilya Maximets wrote: > On 16.12.2015 11:27, Ben Pfaff wrote: > > On Wed, Dec 16, 2015 at 09:58:56AM +0300, Ilya Maximets wrote: > >> > >> > >> On 16.12.2015 09:53, Ben Pfaff wrote: > >>> On Wed, Dec 16, 2015 at 09:50:56AM +0300, Ilya Maximets wrote: >

Re: [ovs-dev] [PATCH v2 RFC] ovs-lib: try to call exit before killing

2015-12-16 Thread Ilya Maximets
On 16.12.2015 13:02, Ben Pfaff wrote: > On Wed, Dec 16, 2015 at 12:07:23PM +0300, Ilya Maximets wrote: >> On 16.12.2015 11:27, Ben Pfaff wrote: >>> On Wed, Dec 16, 2015 at 09:58:56AM +0300, Ilya Maximets wrote: On 16.12.2015 09:53, Ben Pfaff wrote: > On Wed, Dec 16, 2015 at 09:

Re: [ovs-dev] [PATCH v2 RFC] ovs-lib: try to call exit before killing

2015-12-16 Thread Ben Pfaff
On Wed, Dec 16, 2015 at 01:31:03PM +0300, Ilya Maximets wrote: > > > On 16.12.2015 13:02, Ben Pfaff wrote: > > On Wed, Dec 16, 2015 at 12:07:23PM +0300, Ilya Maximets wrote: > >> On 16.12.2015 11:27, Ben Pfaff wrote: > >>> On Wed, Dec 16, 2015 at 09:58:56AM +0300, Ilya Maximets wrote: > > >>

Re: [ovs-dev] [PATCH v2 RFC] ovs-lib: try to call exit before killing

2015-12-16 Thread Ilya Maximets
On 16.12.2015 15:21, Ben Pfaff wrote: > On Wed, Dec 16, 2015 at 01:31:03PM +0300, Ilya Maximets wrote: >> >> >> On 16.12.2015 13:02, Ben Pfaff wrote: >>> On Wed, Dec 16, 2015 at 12:07:23PM +0300, Ilya Maximets wrote: On 16.12.2015 11:27, Ben Pfaff wrote: > On Wed, Dec 16, 2015 at 09:58:56A