curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <jor...@jordanzimmerman.com>
Subject Re: "Connection timed out for connection string" flooded the app log
Date Tue, 03 May 2016 15:04:31 GMT
What is your connection timeout set to?

-Jordan

> On May 3, 2016, at 9:21 AM, Alvaro Gareppe <agareppe@gmail.com> wrote:
> 
> Well.. I want to see them because I want to know if we have connection issues. the thing
is with that many is just flooding the log and the notification framewore I´m using 
> 
> The session timeout in the connectionBuilder is set to 60000. Is there any other parm
that I should change ?
> 
> On Mon, May 2, 2016 at 12:33 PM, Jordan Zimmerman <jordan@jordanzimmerman.com <mailto:jordan@jordanzimmerman.com>>
wrote:
> Your session length might be small. Anyway, if you don’t want to see these add “-Dcurator-dont-log-connection-problems=true”.
> 
>> On May 2, 2016, at 10:28 AM, Alvaro Gareppe <agareppe@gmail.com <mailto:agareppe@gmail.com>>
wrote:
>> 
>> I'm getting this ERROR that is OK, because I lost connection, but it is getting printed
like 6 timer per MILLISECOND!.. what configuration can cause that ??? cause maybe is something
that I have poorly configured. but dont know what it could be
>> 
>> 
>> The version I'm using is: 2.9.1
>> 
>> Here is a little abstract of what happened:
>> 
>> **2016-05-01 02:21:09,071-Curator-Framework-0 ERROR curator.ConnectionState- Connection
timed out for connection string (APP01:2189,APP02-A:2189,APP02-B:2189) and timeout (15000)
/ elapsed (15664)
>> org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss
>>                 at org.apache.curator.ConnectionState.checkTimeouts(ConnectionState.java:195)
>>                 at org.apache.curator.ConnectionState.getZooKeeper(ConnectionState.java:87)
>>                 at org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:115)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.performBackgroundOperation(CuratorFrameworkImpl.java:821)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.backgroundOperationsLoop(CuratorFrameworkImpl.java:807)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.access$300(CuratorFrameworkImpl.java:63)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl$4.call(CuratorFrameworkImpl.java:267)
>>                 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>                 at java.lang.Thread.run(Thread.java:745)
>> **2016-05-01 02:21:09,071-Curator-Framework-0 ERROR curator.ConnectionState- Connection
timed out for connection string (APP01:2189,APP02-A:2189,APP02-B:2189) and timeout (15000)
/ elapsed (15664)
>> org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss
>>                 at org.apache.curator.ConnectionState.checkTimeouts(ConnectionState.java:195)
>>                 at org.apache.curator.ConnectionState.getZooKeeper(ConnectionState.java:87)
>>                 at org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:115)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.performBackgroundOperation(CuratorFrameworkImpl.java:821)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.backgroundOperationsLoop(CuratorFrameworkImpl.java:807)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.access$300(CuratorFrameworkImpl.java:63)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl$4.call(CuratorFrameworkImpl.java:267)
>>                 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>                 at java.lang.Thread.run(Thread.java:745)
>> **2016-05-01 02:21:09,071-Curator-Framework-0 ERROR curator.ConnectionState- Connection
timed out for connection string (APP01:2189,APP02-A:2189,APP02-B:2189) and timeout (15000)
/ elapsed (15664)
>> org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss
>>                 at org.apache.curator.ConnectionState.checkTimeouts(ConnectionState.java:195)
>>                 at org.apache.curator.ConnectionState.getZooKeeper(ConnectionState.java:87)
>>                 at org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:115)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.performBackgroundOperation(CuratorFrameworkImpl.java:821)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.backgroundOperationsLoop(CuratorFrameworkImpl.java:807)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.access$300(CuratorFrameworkImpl.java:63)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl$4.call(CuratorFrameworkImpl.java:267)
>>                 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>                 at java.lang.Thread.run(Thread.java:745)
>> **2016-05-01 02:21:09,071-Curator-Framework-0 ERROR curator.ConnectionState- Connection
timed out for connection string (APP01:2189,APP02-A:2189,APP02-B:2189) and timeout (15000)
/ elapsed (15664)
>> org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss
>>                 at org.apache.curator.ConnectionState.checkTimeouts(ConnectionState.java:195)
>>                 at org.apache.curator.ConnectionState.getZooKeeper(ConnectionState.java:87)
>>                 at org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:115)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.performBackgroundOperation(CuratorFrameworkImpl.java:821)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.backgroundOperationsLoop(CuratorFrameworkImpl.java:807)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.access$300(CuratorFrameworkImpl.java:63)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl$4.call(CuratorFrameworkImpl.java:267)
>>                 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>                 at java.lang.Thread.run(Thread.java:745)
>> **2016-05-01 02:21:09,071-Curator-Framework-0 ERROR curator.ConnectionState- Connection
timed out for connection string (APP01:2189,APP02-A:2189,APP02-B:2189) and timeout (15000)
/ elapsed (15664)
>> org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss
>>                 at org.apache.curator.ConnectionState.checkTimeouts(ConnectionState.java:195)
>>                 at org.apache.curator.ConnectionState.getZooKeeper(ConnectionState.java:87)
>>                 at org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:115)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.performBackgroundOperation(CuratorFrameworkImpl.java:821)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.backgroundOperationsLoop(CuratorFrameworkImpl.java:807)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.access$300(CuratorFrameworkImpl.java:63)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl$4.call(CuratorFrameworkImpl.java:267)
>>                 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>                 at java.lang.Thread.run(Thread.java:745)
>> **2016-05-01 02:21:09,071-Curator-Framework-0 ERROR curator.ConnectionState- Connection
timed out for connection string (APP01:2189,APP02-A:2189,APP02-B:2189) and timeout (15000)
/ elapsed (15664)
>> org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss
>>                 at org.apache.curator.ConnectionState.checkTimeouts(ConnectionState.java:195)
>>                 at org.apache.curator.ConnectionState.getZooKeeper(ConnectionState.java:87)
>>                 at org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:115)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.performBackgroundOperation(CuratorFrameworkImpl.java:821)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.backgroundOperationsLoop(CuratorFrameworkImpl.java:807)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl.access$300(CuratorFrameworkImpl.java:63)
>>                 at org.apache.curator.framework.imps.CuratorFrameworkImpl$4.call(CuratorFrameworkImpl.java:267)
>>                 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>                 at java.lang.Thread.run(Thread.java:745)
>> 
>> 
>> -- 
>> Ing. Alvaro Gareppe
>> agareppe@gmail.com <mailto:agareppe@gmail.com>
> 
> 
> 
> -- 
> Ing. Alvaro Gareppe
> agareppe@gmail.com <mailto:agareppe@gmail.com>

Mime
View raw message