Skip to content

Instantly share code, notes, and snippets.

@liptga
Last active August 30, 2017 11:50
Show Gist options
  • Save liptga/825b988390fb01cc875945a28c109fe9 to your computer and use it in GitHub Desktop.
Save liptga/825b988390fb01cc875945a28c109fe9 to your computer and use it in GitHub Desktop.
Hanging thread stack example
"hystrix-xxxxxxxxxxxxxxxxxxServiceImpl-6" #155 daemon prio=5 os_prio=0 tid=0x00007fbb64506000 nid=0x7b03 runnable [0x00007fbbb85d3000]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
...
...
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:652)
...
...
at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction.call(HystrixContexSchedulerAction.java:69)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment