https://bz.apache.org/bugzilla/show_bug.cgi?id=63078

--- Comment #25 from Rainer Jung <rainer.j...@kippdata.de> ---
Small addition: I think Rémy mentioned that we are currently using an unlimited
queue for the executor. It is one of the patterns I typically do not like much,
because then problems will go unnoticed for a long time and the queue can
consume unbounded memory.

Wouldn't it be better to limit the queue and log any exception resulting from
the queue being full? I haven't checked though, whether there's a reasonable
default queue size (it might depend on the number of context to deploy and the
number of threads doing the work). But except for unusual cases a queue of
length 20 might suffice (plus configurability and docs).

WDYT?

Regards,

Rainer

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to