当前位置:网站首页>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过多,增强建连能力
边栏推荐
- Tips for using dm8huge table
- Lambda expression learning
- E. Best Pair
- PTA tiantisai l1-078 teacher Ji's return (15 points) detailed explanation
- 《2022年中国银行业RPA供应商实力矩阵分析》研究报告正式启动
- Fedora/rehl installation semanage
- Stable Huawei micro certification, stable Huawei cloud database service practice
- 2327. 知道秘密的人数(递推)
- 食品行业仓储条码管理系统解决方案
- Basic knowledge of binary tree, BFC, DFS
猜你喜欢

查询mysql数据库中各表记录数大小

图应用详解

How to solve the problem of slow downloading from foreign NPM official servers—— Teach you two ways to switch to Taobao NPM image server

Record an excel xxE vulnerability

Yyds dry goods inventory hcie security Day11: preliminary study of firewall dual machine hot standby and vgmp concepts

Slow SQL fetching and analysis of MySQL database

MySql數據庫root賬戶無法遠程登陸解决辦法

题解:《单词覆盖还原》、《最长连号》、《小玉买文具》、《小玉家的电费》

Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage

JVM garbage collector concept
随机推荐
10個 Istio 流量管理 最常用的例子,你知道幾個?
Global and Chinese markets for MRI safe implants 2022-2028: technology, participants, trends, market size and share Research Report
脚本生命周期
Lora gateway Ethernet transmission
MySql数据库root账户无法远程登陆解决办法
Yyds dry goods inventory web components series (VII) -- life cycle of custom components
PTA tiantisai l1-078 teacher Ji's return (15 points) detailed explanation
Slow SQL fetching and analysis of MySQL database
Global and Chinese markets for medical gas manifolds 2022-2028: Research Report on technology, participants, trends, market size and share
DM8 archive log file manual switching
[tomato assistant installation]
记一次excel XXE漏洞
QML和QWidget混合开发(初探)
1291_Xshell日志中增加时间戳的功能
JVM garbage collector concept
TCP/IP协议里面的网关地址和ip地址有什么区别?
Global and Chinese markets for patent hole oval devices 2022-2028: Research Report on technology, participants, trends, market size and share
P3500 [poi2010]tes intelligence test (two points & offline)
/usr/bin/gzip: 1: ELF: not found/usr/bin/gzip: 3: : not found/usr/bin/gzip: 4: Syntax error:
Brief tutorial for soft exam system architecture designer | general catalog