Skip to content
Discussion options

You must be logged in to vote

So after more troubleshooting and reading of the javadoc I think I understand now what is happening. To answer you question first, yes I am using org.eclipse.microprofile.context.ManagedExecutor, and no I am not changing this for dev/prod; quarkus.thread-pool.max-threads.

What happens is that, by default quarkus.thread-pool.core-threads is 1, meaning that a single thread stays alive forever. When the ManagedExecutor does multipe runAsync(). Threads are getting created, and those thread lives idle for the configured quarkus.thread-pool.keep-alive-time once the keepalive is reached for those thread, as far as I can see, their thread number is never reused thus incrementing.

Why we did not s…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@manofthepeace
Comment options

Answer selected by manofthepeace
@mkouba
Comment options

mkouba Apr 20, 2023
Collaborator

@manofthepeace
Comment options

@mkouba
Comment options

mkouba Apr 20, 2023
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants