当前位置:网站首页>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过多,增强建连能力
边栏推荐
- 题解:《单词覆盖还原》、《最长连号》、《小玉买文具》、《小玉家的电费》
- When debugging after pycharm remote server is connected, trying to add breakpoint to file that does not exist: /data appears_ sda/d:/segmentation
- Global and Chinese markets for endoscopic drying storage cabinets 2022-2028: Research Report on technology, participants, trends, market size and share
- . Net interprocess communication
- [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
- About some basic DP -- those things about coins (the basic introduction of DP)
- Deep learning framework installation (tensorflow & pytorch & paddlepaddle)
- The global and Chinese market of negative pressure wound therapy unit (npwtu) 2022-2028: Research Report on technology, participants, trends, market size and share
- Solutions: word coverage restoration, longest serial number, Xiaoyu buys stationery, Xiaoyu's electricity bill
- BOM - location, history, pop-up box, timing
猜你喜欢

10 exemples les plus courants de gestion du trafic istio, que savez - vous?

1291_ Add timestamp function in xshell log

《2022年中国银行业RPA供应商实力矩阵分析》研究报告正式启动

Comprehensive ability evaluation system

Basic use of MySQL (it is recommended to read and recite the content)

View 工作流程

MySQL learning record 13 database connection pool, pooling technology, DBCP, c3p0

JVM garbage collector concept
![[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

MySQL master-slave replication
随机推荐
Brief tutorial for soft exam system architecture designer | general catalog
One question per day (Mathematics)
/usr/bin/gzip: 1: ELF: not found/usr/bin/gzip: 3: : not found/usr/bin/gzip: 4: Syntax error:
2327. 知道秘密的人数(递推)
Le compte racine de la base de données MySQL ne peut pas se connecter à distance à la solution
Solution of storage bar code management system in food industry
Codeforces Round #770 (Div. 2) B. Fortune Telling
User datagram protocol UDP
Proof of Stirling formula
[adjustable delay network] development of FPGA based adjustable delay network system Verilog
Maxay paper latex template description
CertBot 更新证书失败解决
Chinese brand hybrid technology: there is no best technical route, only better products
Query the number and size of records in each table in MySQL database
Stack and queue
[Key shake elimination] development of key shake elimination module based on FPGA
10个 Istio 流量管理 最常用的例子,你知道几个?
Ipv4中的A 、B、C类网络及子网掩码
DM8 archive log file manual switching
Hashlimit rate control