From b5a17637cb088ea3785b173e46c9836363372afe Mon Sep 17 00:00:00 2001 From: zzz Date: Mon, 3 Aug 2009 14:18:55 +0000 Subject: [PATCH] * Wrapper: - Extend timeout to 20s (was 5s) - Shorten ping interval to 5m (was 10m) --- installer/resources/wrapper.config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/installer/resources/wrapper.config b/installer/resources/wrapper.config index 295811d9e..3f07e7c85 100644 --- a/installer/resources/wrapper.config +++ b/installer/resources/wrapper.config @@ -158,8 +158,10 @@ wrapper.jvm_exit.timeout=30 # Let's change the default from 60 to 15 seconds and see if anyone moans.. wrapper.restart.delay=15 -wrapper.ping.interval=600 -wrapper.ping.timeout=605 +wrapper.ping.interval=300 +# The ping timeout must be at least 5 seconds longer than the value of wrapper.ping.interval. +# Extend this if you are getting 'JVM appears hung' shutdowns. +wrapper.ping.timeout=320 # use the wrapper's internal timer thread. otherwise this would # force a restart of the router during daylight savings time as well