Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Unbounded ThreadPool is used for too many operations #2957

Closed
kolloch opened this issue Jan 12, 2016 · 0 comments
Closed

Unbounded ThreadPool is used for too many operations #2957

kolloch opened this issue Jan 12, 2016 · 0 comments
Assignees
Milestone

Comments

@kolloch
Copy link
Contributor

kolloch commented Jan 12, 2016

ThreadPoolContext provides an unbounded cached ThreadPool named context. The comment specifies that this should only be used for blocking IO operations but in reality this context is used for many operations.

This can lead to OutOfMemoryExceptions and other resource exhaustion problems.

@kolloch kolloch self-assigned this Jan 12, 2016
@kolloch kolloch added this to the 0.15.0 milestone Jan 12, 2016
kolloch pushed a commit that referenced this issue Jan 12, 2016
for selected operations.

And make it bounded ;)
kolloch pushed a commit that referenced this issue Jan 12, 2016
* use it only for blocking IO
* make it use a fixed number of threads
kolloch pushed a commit that referenced this issue Jan 12, 2016
* use it only for blocking IO
* make it use a fixed number of threads
kolloch pushed a commit that referenced this issue Jan 12, 2016
* use it only for blocking IO
* make it use a fixed number of threads
gkleiman added a commit that referenced this issue Jan 13, 2016
…dpool

Fixes #2957 - improve usage of io threadpool
@d2iq-archive d2iq-archive locked and limited conversation to collaborators Mar 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants