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

Reduce memory footprint, reduce OOMs, share threads for connected clients #18

Conversation

troyunverdruss
Copy link
Contributor

By default, each connected client gets assigned an unnamed single thread scheduled thread pool. When tens of thousands of clients are connected, this consumes a massive amount of memory, often resulting in an OOM. This change dedicates a scheduler thread and a pool of workers to be shared among all connected clients (also the thread pools are named for easier debugging in the future)

…ead scheduled thread pool. When tens of thousands of clients are connected, this consumes a massive amount of memory, often resulting in an OOM. This change dedicates a scheduler thread and a pool of workers to be shared among all connected clients (also the thread pools are named for easier debugging in the future)
@troyunverdruss
Copy link
Contributor Author

^^ Looks like the travis config is possibly broken

@flowersinthesand flowersinthesand merged commit abffc4b into cettia:master Jan 13, 2018
@flowersinthesand
Copy link
Member

@troyunverdruss Yes it was due to travis-ci/travis-ci#7884 (comment) so I'll drop oraclejdk7. Thanks for your contribution!

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

Successfully merging this pull request may close these issues.

2 participants