当前位置:网站首页>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过多,增强建连能力
边栏推荐
- Use js to complete an LRU cache
- 食品行业仓储条码管理系统解决方案
- QML和QWidget混合开发(初探)
- Detailed explanation of serialization and deserialization
- P3500 [POI2010]TES-Intelligence Test(二分&离线)
- 2/13 qaq~~ greed + binary prefix sum + number theory (find the greatest common factor of multiple numbers)
- P3033 [usaco11nov]cow steelchase g (similar to minimum path coverage)
- MySQL transaction isolation level
- Slow SQL fetching and analysis of MySQL database
- How to execute an SQL statement in MySQL
猜你喜欢
R note prophet
Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage
解决“C2001:常量中有换行符“编译问题
TCP/IP协议里面的网关地址和ip地址有什么区别?
What is the difference between gateway address and IP address in tcp/ip protocol?
MySQL master-slave replication
Comprehensive ability evaluation system
题解:《单词覆盖还原》、《最长连号》、《小玉买文具》、《小玉家的电费》
综合能力测评系统
[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
随机推荐
Global and Chinese market of plasma separator 2022-2028: Research Report on technology, participants, trends, market size and share
[Zhao Yuqiang] deploy kubernetes cluster with binary package
. Net interprocess communication
MySQL learning record 13 database connection pool, pooling technology, DBCP, c3p0
P3033 [usaco11nov]cow steelchase g (similar to minimum path coverage)
How to execute an SQL statement in MySQL
Yyds dry goods inventory hcie security Day11: preliminary study of firewall dual machine hot standby and vgmp concepts
POI add border
查询mysql数据库中各表记录数大小
Unity中几个重要类
Proof of Stirling formula
Tips for using dm8huge table
Figure application details
Interface idempotency
HotSpot VM
Comprehensive ability evaluation system
Overturn your cognition? The nature of get and post requests
JVM garbage collector concept
asp. Core is compatible with both JWT authentication and cookies authentication
R note prophet