Squid Timeout Configuration Explained

Source: Internet
Author: User

Connect_timeout

Official explanation: TCP's Build-time timeout

Applicable occasions: Squid back source and source station built-in timeout time, applicable to the return source direction.

Default configuration: Connect_timeout 1 minute

Request_timeout

Official explanation: The request time-out period after the connection is established.

Application scenario: After the client and squid are connected, squid determines the time-out of the client request, that is, how long squid has not read the data sent by the client to time out.

Default configuration: request_timeout 5 minutes

Read_timeout

Official explanation: Read data time-out, only valid for back-source interruption

Application scenario: Squid and the source station established a successful connection, and sent out the request data, read the source station sent back the response time-out.

Default configuration: Read_timeout minutes

Pconn_timeout

Official explanation: Idle connection hold Time

Application scenario: Squid and the source station established long connection, with the source station to maintain idle long connection time.

Default configuration: Pconn_timeout 1 minute

Persistent_request_timeout

Official explanation: Long connection waits for the next request to arrive time-out

Application Scenario: Squid establishes a long connection with the client, the current request processing ends, and the time-out waiting for the next request to arrive.

Dns_timeout

Official explanation: DNS Query time-out

Default configuration: Dns_timeout 2 minutes

Positive_dns_ttl

Official explanation: The correct DNS cache expiration time

Applicable scenario: The DNS cache expires with a smaller value that returns the TTL for the configuration item and DNS resolution, and the value cannot be less than Negative_dns_ttl

Default configuration: Positive_dns_ttl 6 hours

Negative_dns_ttl

Official explanation: Error DNS parsing cache time

Default configuration: Negative_dns_ttl 1 minute


This article is from the "Network Favorites" blog, so be sure to keep this source http://liyaoyi.blog.51cto.com/442933/1743906

Squid Timeout Configuration Explained

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.