Re: [ovs-dev] [PATCH] ovs-lib: Wait for a longer time after SIGKILL.

2013-03-27 Thread Gurucharan Shetty
On Wed, Mar 27, 2013 at 3:38 PM, Ben Pfaff wrote: > On Wed, Mar 27, 2013 at 02:30:05PM -0700, Gurucharan Shetty wrote: >> Currently, when we stop a daemon, we first send it SIGTERM. >> If SIGTERM did not work within ~5 seconds, we send a SIGKILL. >> After sending SIGKILL, we wait only for 4 second

Re: [ovs-dev] [PATCH] ovs-lib: Wait for a longer time after SIGKILL.

2013-03-27 Thread Ben Pfaff
On Wed, Mar 27, 2013 at 02:30:05PM -0700, Gurucharan Shetty wrote: > Currently, when we stop a daemon, we first send it SIGTERM. > If SIGTERM did not work within ~5 seconds, we send a SIGKILL. > After sending SIGKILL, we wait only for 4 seconds, before giving > up. > > If the system is exteremely

[ovs-dev] [PATCH] ovs-lib: Wait for a longer time after SIGKILL.

2013-03-27 Thread Gurucharan Shetty
Currently, when we stop a daemon, we first send it SIGTERM. If SIGTERM did not work within ~5 seconds, we send a SIGKILL. After sending SIGKILL, we wait only for 4 seconds, before giving up. If the system is exteremely busy, there is a chance that a process is not killed by the kernel within 4 sec