Go LoadRunner Error Code 10053 & Tomcat Connector (connector) optimization

Source: Internet
Author: User

loadrunner hint error: Error:socket0-software caused connection abort. Error code:10053.

In today's testing process found that the socket request connection always error, code is 10053,google after the problem has been resolved. The key point is the configuration of one of the parameters of the Web server (tomcat/jboss). "Maxkeepaliverequests"

Maxkeepaliverequests the maximum number of requests for HTTP requests that can be made for a single connection, with a default value of 100. If you set its value to 0, you can support unlimited transfer requests within a single connection. In fact, there is no client program that requests too many pages in a single connection and usually does not reach this limit to complete the connection.

Knowing the cause of the problem, the solution is good. You can modify or add the configuration of the connector (<connector .../>) in the Tomcat configuration file server.xml.

<connector port= "8090" protocol= "http/1.1"
connectiontimeout= "20000"
maxkeepaliverequests= "0"
redirectport= "8443"/>

maxkeepaliverequests= "0" means that an unlimited transfer request will be supported within a single connection

other parameters of the connector configuration:

Minprocessors: Minimum number of idle connection threads for improved system processing performance with a default value of 10
Maxprocessors: Maximum number of connection threads, which is the maximum number of requests concurrently processed, with a default value of 75
Acceptcount: Maximum number of connections allowed, should be greater than or equal to Maxprocessors, default value is 100
Enablelookups: Whether to reverse the domain name, the value is: TRUE or false. To improve processing power, set to False
ConnectionTimeout: Network connection time-out, unit: milliseconds. Set to 0 to never time out, so the setting is hidden. It can usually be set to 30000 milliseconds. The parameters associated with the maximum number of connections are maxprocessors and Acceptcount. If you want to increase the number of concurrent connections, both parameters should be increased.
Redirectport: Specifies the forwarding port. If the front-end port only supports NON-SSL requests, in scenarios where secure communication is required, the customer request is forwarded to the Redirectport port of SSL
Enablelookups: If set to true to support domain name resolution, the IP address can be resolved to host name. The Request.getremotehost method is called in the Web app to return the client hostname. Default value is True

Go LoadRunner Error Code 10053 & Tomcat Connector (connector) optimization

Related Article

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.