I have a problem with the ThreadPoolExecutor. It works fine for hours, but sometimes (at a random time, sometimes after 2 minutes or 3 hours) it stops executing the submitted tasks and the program hangs.
The queue is full and all corethreads are active at this time.
I simply don't know where this is coming from. Especially because it sometimes works for 3 hours while all corethreads are working all the time.
If there is anybody who has a suggestion for me, I would be very happy.
Take a look at the stack dump. This will tell you if the threads are in some blocking operation, waiting for a condition that never happens, working, or truly deadlocked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With