[ovs-discuss] socket handle leak when pkill/kill -9 ovsdb-server/ovs-vswitchd

fukaige fukaige at huawei.com
Thu Jun 1 00:49:18 UTC 2017


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

> -----Original Message-----
> From: Ben Pfaff [mailto:blp at ovn.org]
> Sent: Wednesday, May 31, 2017 11:38 PM
> To: fukaige
> Cc: ovs-discuss at openvswitch.org
> 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.


More information about the discuss mailing list