References: <1467430368-25437-1-git-send-email-selva.nair@...277...> From: Arne Schwabe Message-ID: <94cf2582-6f60-4b3f-0675-c362f2d91238@...1227...> Date: Sat, 2 Jul 2016 17:32:59 +0200 MIME-Version: 1.0 In-Reply-To: Subject: Re: [Openvpn-devel] [PATCH] Exponentially backoff on repeated connect retries List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit To: Selva Nair , openvpn-devel@lists.sourceforge.net > And why sighup? Shouldn't just limiting sec be enought. SIGHUP has many > side effects. I don't think we should trigger these for connection time. > > > With default setting this results in a SIGHUP after some hours and also > the last intervals with 5120s are too big for default settings. I would > aim for something lower like five or ten minutes. I think a bit about that and I think a good way to specify exponential back is something like connect-retry 5 1800, which would mean "scale back up to 1800s" and maybe default that option to connect-retry 5 300. That also allows specifying larger connect-retry values without backoff. E.g. connect-retry 60 60 Arne