当前位置:网站首页>tengine 内核参数
tengine 内核参数
2022-07-06 04:16:00 【istan1ey】
tengine内核参数
tcp_max_syn_backlog: 16384
端口最大 backlog 内核限制。此参数限制 服务端应用程序 可以设置的端口最大 backlog 值 (对应于端口的 syn_backlog 和 backlog 队列长度)。动机是在内存有限的服务器上限制/避免应用程序配置超大 backlog 值而耗尽内核内存。如果应用程序设置 backlog 大于此值,操作系统将自动将之限制到此值。(tengine listen backlog : 2048)
tcp_abort_on_overflow: 0
当 tcp 建立连接的 3 路握手完成后,将连接置入 ESTABLISHED 状态并交付给应用程序的 backlog 队列时,会检查 backlog 队列是否已满。若已满,通常行为是将连接还原至 SYN_ACK 状态,以造成 3 路握手最后的 ACK 包意外丢失假象 —— 这样在客户端等待超时后可重发 ACK —— 以再次尝试进入 ESTABLISHED 状态 —— 作为一种修复/重试机制。如果启用 tcp_abort_on_overflow 则在检查到 backlog 队列已满时,直接发 RST 包给客户端终止此连接 —— 此时客户端程序会收到 104 Connection reset by peer 错误。
tcp_tw_timeout:3
同下
tcp_max_tw_buckets :600000
同下
4.14.0-1.0.0.2.el7
tcp_tw_timeout:3
timewait连接快速回收,增强建连能力
tcp_max_syn_backlog:30000
同上
tcp_abort_on_overflow :0
同上
tcp_max_tw_buckets :600000
timewait连接最大数量,避免突发导致tw过多,增强建连能力
边栏推荐
- Solution to the problem that the root account of MySQL database cannot be logged in remotely
- Maxay paper latex template description
- Record the pit of NETCORE's memory surge
- CertBot 更新证书失败解决
- Several important classes in unity
- How to solve the problem of slow downloading from foreign NPM official servers—— Teach you two ways to switch to Taobao NPM image server
- 2/10 parallel search set +bfs+dfs+ shortest path +spfa queue optimization
- [face recognition series] | realize automatic makeup
- 2327. Number of people who know secrets (recursive)
- C. The Third Problem(找规律)
猜你喜欢

About some basic DP -- those things about coins (the basic introduction of DP)

How many of the 10 most common examples of istio traffic management do you know?
![[Key shake elimination] development of key shake elimination module based on FPGA](/img/47/c3833c077ad89d4906e425ced945bb.png)
[Key shake elimination] development of key shake elimination module based on FPGA

The Research Report "2022 RPA supplier strength matrix analysis of China's banking industry" was officially launched

1291_Xshell日志中增加时间戳的功能
![[PSO] Based on PSO particle swarm optimization, matlab simulation of the calculation of the lowest transportation cost of goods at material points, including transportation costs, agent conversion cos](/img/41/27ce3741ef29e87c0f3b954fdef87a.png)
[PSO] Based on PSO particle swarm optimization, matlab simulation of the calculation of the lowest transportation cost of goods at material points, including transportation costs, agent conversion cos

DM8 backup set deletion
![[FPGA tutorial case 11] design and implementation of divider based on vivado core](/img/39/f337510c2647d365603a8485583a20.png)
[FPGA tutorial case 11] design and implementation of divider based on vivado core
![[tomato assistant installation]](/img/06/672a616d4fc2a43b83054eb1057628.jpg)
[tomato assistant installation]

题解:《单词覆盖还原》、《最长连号》、《小玉买文具》、《小玉家的电费》
随机推荐
Stable Huawei micro certification, stable Huawei cloud database service practice
Slow SQL fetching and analysis of MySQL database
IDEA编译JSP页面生成的class文件路径
脚本生命周期
20、 EEPROM memory (AT24C02) (similar to AD)
About some basic DP -- those things about coins (the basic introduction of DP)
Fundamentals of SQL database operation
[adjustable delay network] development of FPGA based adjustable delay network system Verilog
使用JS完成一个LRU缓存
Lambda expression learning
Global and Chinese markets for otolaryngology devices 2022-2028: Research Report on technology, participants, trends, market size and share
[disassembly] a visual air fryer. By the way, analyze the internal circuit
asp. Core is compatible with both JWT authentication and cookies authentication
1008 circular right shift of array elements (20 points)
Use js to complete an LRU cache
Basic use of MySQL (it is recommended to read and recite the content)
颠覆你的认知?get和post请求的本质
记一次excel XXE漏洞
Viewing and verifying backup sets using dmrman
【按鍵消抖】基於FPGA的按鍵消抖模塊開發