When users reach the limit of threads number, the JVM will fail with simply
java.util.concurrent.CompletionException: java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
Is it possible to make this failure "nicer"? or give an indication if this is a real OOM or it hits the limit of number of threads in Linux? How other java server frameworks handle that?
When users reach the limit of threads number, the JVM will fail with simply
Is it possible to make this failure "nicer"? or give an indication if this is a real OOM or it hits the limit of number of threads in Linux? How other java server frameworks handle that?