You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/05/01 16:09:05 UTC

[Bug 53174] JIO default maxConnections is not a good default

https://issues.apache.org/bugzilla/show_bug.cgi?id=53174

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Read the following for background:
http://tomcat.markmail.org/thread/wmirgjskvkm4x52k

re point 1 - r1099855 should ensure that the behaviour is the same for both
Tomcat 6 and Tomcat 7.

re point 2 - That is true for write but not true for read. With maxConnections
> maxThreads and blocking IO there is always the risk that a connection with
data to read is unable to acquire a thread while all threads are tied up by
connections without data to read.

Reverting the fix has significant impact since it opens up the risk of problems
as described in the thread from a year ago.

With the increasing move towards async, there is an increasinglg strong
argument for making NIO rather than BIO the default and potentially going as
far as dropping the BIO connector all together but that is a debate that
belongs on the dev list not on this issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.