https://bz.apache.org/bugzilla/show_bug.cgi?id=59650
--- Comment #4 from Ravi Sanwal <rsan...@gmail.com> --- Can it at least give the user some control put a cap on the number of threads? May be I am not explaining my problem correctly. Regardless. Tomcat NIO2 connector still doesn't follow the rules of a defined executor service. Why are the async channel group threads processing requests? They are not supposed to. There is a dedicated executor for that. Moreover, if this is allowed, what's the point of having an executor at all. One of the reasons people use an executor is to limit the number of request being processed concurrently. If we can't limit this by using an executor with bounds, then the server may just get overwhelmed with unbounded number of requests. Anyway, there is still a way to limit the number of threads by not using an executor but setting the bounds on number of threads on the connector itself so that is an internal executor thus passing the ExecutorService check. So we may have to resort to using that. We should at lease fix the connector documentation for this behavior and explain that it is better to not use an external executor by an internal one specific to the connector. -- 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