-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected client session timed out #82
Comments
Looks like it comes from a "stop the world" major GC at this time. I can finetune the GC settings, but is there a way to increase the session timeout? |
Hi
You can set session timeout in zk server by change parameter tick.
tickTime
the length of a single tick, which is the basic time unit used by ZooKeeper, as measured in milliseconds. It is used to regulate heartbeats, and timeouts. For example, the minimum session timeout will be two ticks.
…---------------
Stream Liu
[email protected]
On Jun 12, 2019, at 21:40, neterium ***@***.***> wrote:
Looks like it comes from a "stop the world" major GC at this time. I can finetune the GC settings, but is there a way to increase the session timeout?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#82?email_source=notifications&email_token=AACCWE2THTX5UTQSXSRKEC3P2D4DPA5CNFSM4HXHW232YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXQOJUI#issuecomment-501277905>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AACCWEY7VA3ATNBHIIU6BWDP2D4DPANCNFSM4HXHW23Q>.
|
@neterium I'm confused about the zk disconnect problem in my own project. why do you think it comes from major GC? can a "stop the world" major GC last for 29528ms ? appreciate for your comply:) |
I'm using version 3.6.3, with zookeeper as cluster manager.
I've started putting some pressure on our servers by increasing the workload. In terms of response time, everything is OK, the eventbus seems to absorb the trafic, no "Thread Blocked" event, etc... (The number of verticles is #cores - 1)
However, after a while it looks like the connection the ZK is lost:
How can I prevent this from happening ?
Thanks
The text was updated successfully, but these errors were encountered: