The behavior of the backlog argument on TCP sockets changed with Linux 2.2. Now it specifies the queue length for completely established sockets waiting to be accepted, instead of the number of incomplete connection requests. The maximum length of
Introduction: In Linux,/proc/sys/net/core/somaxconn this parameter, a good parameter of the kernel in Linux SomaxconnLook at its parsing:For a TCP connection, the server and client need to have a three-time handshake to establish a network
Reprinted from: Click to open linkIn Linux,/proc/sys/net/core/somaxconn this parameter, a good parameter of the kernel in Linux SomaxconnLook at its parsing:For a TCP connection, the server and client need to have a three-time handshake to establish
After some hard work, I will summarize it.ListenParametersBacklog.
PS: server environment:Ubuntu12.04. Client does not matter: IMac OS X 10.7.
Let's take a look at $ man listen, which contains a passage:
If the backlog argument is greater than
Warning Information solution after Redis is started
Solutions for Redis-related problems.
1st cases: after we started the Redis server, we will see three warnings. If we didn't see them, it would be good, but I did. If you see it, you cannot ignore
Directory
1. Linux Kernel Parameter Annotation
2. Two Kernel Parameter Modification Methods
3. kernel Optimization Parameter production Configuration
Parameter explanations are collected and organized on the network. Common optimization parameters
Speaking of the backlog, you will remember the listen backlog parameter in socket programming, which is the backlog that is processed in the Linux kernel?int listen (int sockfd, int backlog)Mans ListenYou can see an explanation about listen. THE
Restrictions on the maximum number of concurrent socket connections in Linux 1. modify the number of files that can be opened by a user process on the Linux platform, regardless of the client program or the server program, when processing highly
Redis use very widely, I no longer wordy, I follow the online tutorial want to install on Linux, began the pit, online bought a Linux centos7.3, drip cloud, giant pit incomparable Ah, do not recommend that everyone use this! Redis is 4.0,1. Log in
The purpose of this article is to adjust the UNIX IP stack to more effectively prevent multiple types of attacks today, detailing
Describes some of the recommended settings for network services such as HTTP or Routing in UNIX Service systems, where
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.