tomcat7 - What are acceptCount, maxConnections and maxThreads in Tomcat HTTP connector configuration? -


this configuration i'm using

 <connector port="8080" protocol="http/1.1"            connectiontimeout="20000"            redirectport="8443" acceptcount="1000" maxconnections="500" /> 

i have read doc can't able understand, please explain example if possible, , relationship between them.

acceptcount -- maximum queue length incoming connection requests when possible request processing threads in use. requests received when queue full refused. default value 100.

redirectport -- if connector supporting non-ssl requests, , request received matching <security-constraint> requires ssl transport, catalina automatically redirect request port number specified here.

maxconnections -- maximum number of connections server accept , process @ given time. when number has been reached, server accept, not process, 1 further connection.

connectiontimeout -- number of milliseconds connector wait, after accepting connection, request uri line presented

acceptcount line waiting popular nightclub full. (maxconnections) when people leave maxconnections goes down allowing more people connect acceptcount waiting list. connection timeout how long wait request. can either make line longer (acceptcount) or make nightclub larger (maxconnections)

redirect port how/where handles redirect due security restraint.


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -