In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
How to understand / etc/sysctl.conf parameters, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
Analysis of linux:/etc/sysctl.conf kernel configuration parameters: https://blog.csdn.net/mengzhisuoliu/article/details/49644533
Oracle database kernel.shmmax and kernel.sem settings: https://blog.csdn.net/hkyw000/article/details/53486940
Kernel.sem parameter setting: https://blog.csdn.net/heizistudio/article/details/72828319
Fs.file max = 999999
# indicates the maximum number of handles that a process (such as a worker process) may open at the same time, directly limiting the maximum number of concurrent connections
Net.ipv4.tcp_tw_reuse = 1
# 1 means to allow a TIME-WAIT connection in the state of socket to be reused for a new connection. It makes sense for the server because there are a large number of TIME-WAIT-state connections
Net.ipv4.tcp_keepalive_time = 600,
# how often TCP sends keepalive messages when keepalive is enabled. The default is 2 hours. Make it smaller to clear useless connections more quickly.
Net.ipv4.tcp_fin_timeout = 30
# maximum time for socket to remain in FN-WAIT-2 status when the server actively closes the link
Net.ipv4.tcp_max_tw_buckets = 5000
# the maximum number of TIME-WAIT sockets allowed. If you exceed some numbers, the TIME-WAIT socket will be cleared immediately and a warning message will be printed. The default is 180000, and too many TIME-WAIT sockets will slow down webserver
Net.ipv4.ip_local_port_range = 1024 61000
# range of values for local ports (excluding the remote end of the connection) in UDP and TCP connections
Net.ipv4.tcp_rmem = 4096 32768 262142
Net.ipv4.tcp_wmem = 4096 32768 262142
# minimum, default and maximum values of the TCP receive / send cache
Net.core.netdev_max_backlog = 8096
# when the speed of packets received by the Nic is faster than that processed by the kernel, there will be a queue to save these packets. This parameter is the maximum value of the queue.
Net.core.rmem_default = 262144
Net.core.wmem_default = 262144
# default value of kernel socket receive / send cache
Net.core.rmem_max = 2097152
Net.core.wmem_max = 2097152
# maximum value of kernel socket receive / send cache
Net.ipv4.tcp_syncookies = 1
# solve the SYN attack of TCP. Independent of performance
Net.ipv4.tcp_max_syn_backlog = 1024
# the maximum length of the SYN request queue during the establishment phase of the three-way handshake. The default is 1024. Set larger to queue requests that are too late to process when busy, without losing client requests.
Net.ipv4.tcp_timestamps=1
Net.ipv4.tcp_tw_recycle=1
Net.ipv4.ip_local_port_range = 10000 65000
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.