Hi, On Sun, Nov 22, 2015 at 10:49:13AM -0500, Selva Nair wrote: > > (Is it actually quicker as well, so does the nssm timeout still need to > > be adjusted? Haven't seen feedback from Samuli here yet) > > > > In my tests openvpn exit processing takes only a few hundred msec, but if > exit-notify is enabled that adds about 1 to 2 seconds[*]. As that option > could be pushed as well its safer to setup nssm with a delay of 2500 msec > between ctrl-C and 'kill without prejudice' (aka Terminate).
Ah, yes. Thanks :-) (you and Samuli need to work on the NSSM setup stuff then, I don't have an eye on the windows stuff, so won't be able to track this so it's not getting lost) > [*} actually with exit-notify n, it should only take n-1 seconds to send n > notifies, but integer arithmetic makes it always a little more than n-1. > And for some reason it appears to wait a second even if another notify > doesn't have to be sent. I've not looked into that part of the code > carefully... Our timer granularity is "1 second" for most stuff, and we tend to add another second "just to be sure"... ran into this when trying to speed up client PUSH_REQUEST sending in commit afb93fac803f gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany g...@greenie.muc.de fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de
signature.asc
Description: PGP signature