Skip to content

Instantly share code, notes, and snippets.

@Avinashachu007
Last active September 12, 2020 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Avinashachu007/2b659cd091ceb699eb34a1567788666f to your computer and use it in GitHub Desktop.
Save Avinashachu007/2b659cd091ceb699eb34a1567788666f to your computer and use it in GitHub Desktop.
Spring boot Tomcat related application.properties
#Tomcat Access log
server.tomcat.basedir=/home/avinash/logs
server.tomcat.accesslog.enabled=true
server.tomcat.accesslog.pattern=%t %a "%r" %s (%D ms)
#Tomcat Thread
server.tomcat.threads.max=1000 // Maximum No. of thread can be created. Default 200
server.tomcat.threads.min-spare=16 //Min no. of Threads(Or Strandby thread)
//Maximum no. of Connection allowed Beware if No. max thread is 1000 But Max connection is 300 then 300 requests will be
// processed concurretly remaning request will allocated to remaining threads after 300 is processed
server.tomcat.max-connections=300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment