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

Sane defaults for Xnio. #1569

Closed
whitingjr opened this issue Apr 3, 2020 · 2 comments
Closed

Sane defaults for Xnio. #1569

whitingjr opened this issue Apr 3, 2020 · 2 comments

Comments

@whitingjr
Copy link
Contributor

whitingjr commented Apr 3, 2020

Currently the configuration for Xnio is missing any settings for either io or worker pool sizes.
Resulting in hundred's of threads in a running server.

@whitingjr
Copy link
Contributor Author

whitingjr commented Apr 4, 2020

Here is a stack dump of the Indy process when idle after a stress test has stopped. It can be seen there are around 482 jvm threads.
For a jvm that is running in a shared resource environment (cloud) the thread count is seems excessively high. What it means is that the jvm will be overwhelmed as requests come in. Over time the jvm throughput may appear to decrease as the jvm threads start thrashing.
The setting of lower default values will throttle the number of threads. Unless these settings are over-riden for a system that is known to provide more compute resources.

@whitingjr
Copy link
Contributor Author

A PR has been created to update the devel environment.

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