webserver - Tomcat server.xml connection timeout configuration -


i have read connection timeout in server.xml close connection in case of timeout not stop thread going processing request. in case achieving closing connection ?? not sure how resources occupied connection, thought closing connection release socket(some memory). want understand real advantage of flag.

the apache tomcat connectiontimout described in documentation

the number of milliseconds connector wait, after accepting connection, request uri line presented. default value 60000 (i.e. 60 seconds).

it defines amount of time connection held open. question of why close connections, again apache documentation,

setting communication timeouts important improve communication process. detect problems , stabilise distributed system.

in short, achieving stability , effective error logging making sure connection pool clean.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -