You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Igor Kupczyński (JIRA)" <ji...@apache.org> on 2018/08/09 08:43:00 UTC

[jira] [Commented] (CURATOR-405) Connection loss not leading to ConnectionState.LOST and causing logs to fill

    [ https://issues.apache.org/jira/browse/CURATOR-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16574487#comment-16574487 ] 

Igor Kupczyński commented on CURATOR-405:
-----------------------------------------

For what it is worth, we've seen that twice recently. In both cases the curator was connected to a ZK observer, which OOMed few minutes after the logs start to fill with {{Session timeout has elapsed while SUSPENDED}}. After restarting the observers (and bumping up the heap) and then restarting the clients everything seems to be fine.

> Connection loss not leading to ConnectionState.LOST and causing logs to fill
> ----------------------------------------------------------------------------
>
>                 Key: CURATOR-405
>                 URL: https://issues.apache.org/jira/browse/CURATOR-405
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 3.3.0
>            Reporter: Jordan Zimmerman
>            Priority: Major
>
> It's unclear how it got into this state, but a client started endlessly logging "Session timeout has elapsed while SUSPENDED". Curator 3.0 is supposed to go to LOST and inject a session expiration but it's not working in this case.
> There are millions of these:
> {code}
> [2017-05-01 18:29:34,636][WARN ][org.apache.curator.framework.state.ConnectionStateManager] Session timeout has elapsed while SUSPENDED. Injecting a session expiration. Elapsed ms: 250368206. Adjusted session timeout ms: 15000 {}
> [2017-05-01 18:29:34,637][INFO ][XXXXX] Resolved connection string from [http://localhost:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1] to [localhost:22191,localhost:22194,localhost:22192,localhost:22193/v1] with local namespace [/v1] {}
> [2017-05-01 18:29:34,637][INFO ][org.apache.zookeeper.ZooKeeperTestable] injectSessionExpiration() called {}
> [2017-05-01 18:29:34,637][WARN ][org.apache.curator.framework.state.ConnectionStateManager] Session timeout has elapsed while SUSPENDED. Injecting a session expiration. Elapsed ms: 250368207. Adjusted session timeout ms: 15000 {}
> [2017-05-01 18:29:34,637][INFO ][XXXXX] Resolved connection string from [http://localhost:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1] to [localhost:22191,localhost:22194,localhost:22192,localhost:22193/v1] with local namespace [/v1] {}
> [2017-05-01 18:29:34,637][INFO ][org.apache.zookeeper.ZooKeeperTestable] injectSessionExpiration() called {}
> [2017-05-01 18:29:34,637][WARN ][org.apache.curator.framework.state.ConnectionStateManager] Session timeout has elapsed while SUSPENDED. Injecting a session expiration. Elapsed ms: 250368207. Adjusted session timeout ms: 15000 {}
> [2017-05-01 18:29:34,637][INFO ][XXXXX] Resolved connection string from [http://localhost:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1] to [localhost:22191,localhost:22194,localhost:22192,localhost:22193/v1] with local namespace [/v1] {}
> [2017-05-01 18:29:34,637][INFO ][org.apache.zookeeper.ZooKeeperTestable] injectSessionExpiration() called {}
> [2017-05-01 18:29:34,637][WARN ][org.apache.curator.framework.state.ConnectionStateManager] Session timeout has elapsed while SUSPENDED. Injecting a session expiration. Elapsed ms: 250368207. Adjusted session timeout ms: 15000 {}
> [2017-05-01 18:29:34,637][INFO ][XXXXX] Resolved connection string from [http://localhost:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1] to [localhost:22191,localhost:22194,localhost:22192,localhost:22193/v1] with local namespace [/v1] {}
> [2017-05-01 18:29:34,637][INFO ][org.apache.zookeeper.ZooKeeperTestable] injectSessionExpiration() called {}
> [2017-05-01 18:29:34,637][WARN ][org.apache.curator.framework.state.ConnectionStateManager] Session timeout has elapsed while SUSPENDED. Injecting a session expiration. Elapsed ms: 250368207. Adjusted session timeout ms: 15000 {}
> [2017-05-01 18:29:34,638][INFO ][XXXXX] Resolved connection string from [http://localhost:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1] to [localhost:22191,localhost:22194,localhost:22192,localhost:22193/v1] with local namespace [/v1] {}
> [2017-05-01 18:29:34,638][INFO ][org.apache.zookeeper.ZooKeeperTestable] injectSessionExpiration() called {}
> [2017-05-01 18:29:34,638][WARN ][org.apache.curator.framework.state.ConnectionStateManager] Session timeout has elapsed while SUSPENDED. Injecting a session expiration. Elapsed ms: 250368208. Adjusted session timeout ms: 15000 {}
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)