Skip to content
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

Hystrix showing multiple daemon thread #1349

Closed
mohan-mishra opened this issue Sep 14, 2016 · 6 comments
Closed

Hystrix showing multiple daemon thread #1349

mohan-mishra opened this issue Sep 14, 2016 · 6 comments

Comments

@mohan-mishra
Copy link

mohan-mishra commented Sep 14, 2016

@mattrjacobs @benjchristensen While debugging, I am able to find the below thread dump in eclipse.
The used threads are not getting terminated resulting in load on server

Daemon Thread [HystrixTimer-3] (Running)    
Daemon Thread [hystrix-BUS_BUSINDIA-3] (Running)    
Daemon Thread [HystrixTimer-4] (Running)    
Daemon Thread [hystrix-BUS_BUSINDIA-4] (Running)    
Daemon Thread [RxComputationScheduler-2] (Running)  
Daemon Thread [hystrix-BUS_BUSINDIA-5] (Running)    
Daemon Thread [hystrix-BUS_BUSINDIA-6] (Running)    
Daemon Thread [hystrix-BUS_BUSINDIA-7] (Running)    
Daemon Thread [hystrix-BUS_BUSINDIA-8] (Running)    
Daemon Thread [hystrix-BUS_BUSINDIA-9] (Running)    
Daemon Thread [hystrix-BUS_BUSINDIA-10] (Running)   
Daemon Thread [hystrix-BUS_BUSINDIA-11] (Running)   
@mohan-mishra
Copy link
Author

mohan-mishra commented Sep 14, 2016

Also the daemon thread count is getting increased each time I am executing a hystrix command. It appears as if the threads which have been used are not getting terminated. Can you please suggest a fix or a work around for this as because of this server is facing load due to occupied threads

@mukteshkrmishra
Copy link

I was wondering what is this BUSINDIA thread is ?

@mohan-mishra
Copy link
Author

mohan-mishra commented Sep 14, 2016

This is the name of my command group

@mukteshkrmishra any idea how to terminate the threads after there work is done?

On Thu, Sep 15, 2016 at 12:31 AM, mukteshkrmishra notifications@github.com
wrote:

I was wondering what is this BUSINDIA thread is ?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1349 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJaTgQ0l5EOL2psrd6vdS8ALUrKXSWkYks5qqESOgaJpZM4J8kNx
.

@mukteshkrmishra
Copy link

Ideally this should be be the idea behavior, however matt or ben can comment on it further.

@mattrjacobs
Copy link
Contributor

I think this is a duplicate of #1242. Is that correct?

@mohan-mishra
Copy link
Author

yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants