-
1. Re: Should Undertow Timeout Kill IO Thread Process? (Wildfly 8.2.0)
ctomc Oct 10, 2016 10:09 AM (in response to mcowan)1 of 1 people found this helpfulThread just returns back to worker/io pool.
Threads are almost never destroyed.
-
2. Re: Should Undertow Timeout Kill IO Thread Process? (Wildfly 8.2.0)
mcowan Oct 10, 2016 11:21 AM (in response to ctomc)Thanks for the reply
So is it simply the responsibility of the servlet programmer to ensure no request lasts forever?
-
3. Re: Should Undertow Timeout Kill IO Thread Process? (Wildfly 8.2.0)
ctomc Oct 10, 2016 4:22 PM (in response to mcowan)1 of 1 people found this helpfulMike Cowan wrote:
Thanks for the reply
So is it simply the responsibility of the servlet programmer to ensure no request lasts forever?
By default there is some timeout for how long the servlet can execute before server "kills" it.
Not sure what default timeout is, but there is.
-
4. Re: Should Undertow Timeout Kill IO Thread Process? (Wildfly 8.2.0)
mcowan Oct 11, 2016 9:25 AM (in response to ctomc)I have seen threads live over 30 mins, which is a bit of a worry to me.
I did check the documentation for a worker thread timeout but didn't find one. I tried transaction timeout, session timeout and listener timeout (some out of desperation) but none seemed to kill the worker threads.
Looking at the XNIO documentation for worker threads, Im beginning to think there might not be a time out at all.