Thank you for your reply, Ben;
I should use signal 15 instead of 9 to kill the process.

> -----Original Message-----
> From: Ben Pfaff [mailto:[email protected]]
> Sent: Wednesday, May 31, 2017 11:38 PM
> To: fukaige
> Cc: [email protected]
> Subject: Re: socket handle leak when pkill/kill -9 ovsdb-server/ovs-vswitchd
> 
> On Wed, May 31, 2017 at 03:26:04AM +0000, fukaige wrote:
> > I am using ovs-2.5.2 and find there may be socket handle leak when kill
> ovsdb-server/ovs-vswitchd thread.
> > When I use “pkill -9 ovs-vswitchd” kill ovs-vswitchd thread and restart it, 
> > the
> socket file “ovs-vswitchd.12237.ctl” isn’t closed.
> 
> There's no way for a process to delete files when it's killed with signal 9.
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to