Connector configuration in Tomcat

Source: Internet
Author: User

<Connector port = "8080"

Protocol = "org. apache. coyote. http11.Http11NioProtocol"

Executor = "atatthreadpool"Name of the thread pool used by the connector

Compression = "on"Compression

CompressionMinSize = "2048"Minimum compression ratio

MaxThreads = "30000"Maximum number of threads

Minprocessors: Increase the minimum number of requestsTomcatProcessing capability

Maxprocessors: Maximum concurrency

MinSpareThreads = "512"Minimum number of idle threads for initialization

MaxSpareThreads = "2048"Maximum number of idle threads

EnableLoopups = "false"DisableDNSQuery

RedirectPort = "8443"Ing Port

AcceptCount = "35000"Maximum number of accepted requests

Debug = "0"

ConnectionTimeout = "40000"Unit: milliseconds

DisableUploadTimeout = "true"

URIEncoding = "UTF-8"Prevent website garbled characters

UseBodyEncodingForURL = "true"/>

       


This article is from the "frequently used documentation" blog, please be sure to keep this source http://yujianglei.blog.51cto.com/7215578/1574166

Connector configuration in Tomcat

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.