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

Excessive thread create/destroy #79

Open
jakelandis opened this issue Dec 19, 2017 · 0 comments
Open

Excessive thread create/destroy #79

jakelandis opened this issue Dec 19, 2017 · 0 comments

Comments

@jakelandis
Copy link
Contributor

While investigating a different issue, I noticed that this plugin creates and destroys threads at a very high rate.

With this config:

bin/logstash -e "input { generator { threads => 4 } } output { http { url => 'http://127.0.0.1:8080' http_method => post } }" 

~ 3,000 threads were create within 10 minutes

image

There doesn't seem to any leaking here, but the creation of that many threads should be avoided in favor of a thread pool.

Also, this may be related to odd slow down happening at #62

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

1 participant