[concurrency-interest] Thread pools threads exhausted?
robertlazarski at gmail.com
Mon Jan 19 16:27:47 EST 2009
On Mon, Jan 19, 2009 at 6:13 PM, Joe Bowbeer <joe.bowbeer at gmail.com> wrote:
> Note that submit throws the exception, which will throw an exception to the
> caller of readUrl. You won't receive the future if the submission is
Wow, now I understand. My submit() was outside the try / catch block
and could have silently failed. Thanks for pointing that out.
> I would strictly avoid manipulating the executor's queue while the executor
> is running.
OK, I removed that code.
> I would catch RejectedExecution in readUrl for starters in order to verify
> and diagnose the problem. Then I would consider selecting a different
> rejected execution handler, if that solves the problem.
Sounds good, all I can do now is wait until the problem happens again.
More information about the Concurrency-interest