Dropwizard 2.1.1 hangs on 1-core host intermittently #6265
yongzhao15
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
5 days after we downgraded service hosts from 4-core to 1-core, we started to notice that dropwizard hangs intermittently. The symptom is service still accept web requests but doesn't process any. client will timeout on such host. so far it happened on 5 out of 100+ hosts.
based on locahost:/metrics and threads on the problem host
based locahost:/threads, 2 remaining threads are acceptor and selector.
there's no worker threads in TIMED_WAITING state, eg on a healthy host.
we checked 4-core host: there're 2 selectors vs 1 selector on 1-core host.
Does 2 selectors provide some kind of redundancy? ie if one malfunctioned, the other can fill the gap. If so, could adding "selectorThreads: 2" to applicationConnectors configuration solve our problem?
Beta Was this translation helpful? Give feedback.
All reactions