Linux: syscfg: network:inet_peer_threshold

inet_peer_threshold,默认值就是64K

https://www.kernel.org/doc/html/latest/networking/ip-sysctl.html

这个一般人应该用的非常少,因为个人电脑,很难说会达到这么多的peer量。

如果抛开,"INET peer storage"这个标题,这个参数的解释第一句还以为是和内存相关的参数。虽然和内存是有关联!这里的storage只是INET peer可以存储多少个peer的storage。如果超过这个量,就会主动删除掉比较旧的记录。

clike 复制代码
INET peer storage
inet_peer_threshold - INTEGER
    The approximate size of the storage. Starting from this threshold entries will be thrown aggressively. This threshold also determines entries' time-to-live and time intervals between garbage collection passes. More entries, less time-to-live, less GC interval.
相关推荐
郭源潮14 分钟前
《Muduo网络库:实现TcpServer类终章》
服务器·网络·c++·网络库
gtr202018 分钟前
Ubuntu24.04 最小化发布 需要删除的内容
linux
jiayi_19991 小时前
Linux 容器安装 conda 和 pip
linux·conda·pip
半夏知半秋1 小时前
mongodb的复制集整理
服务器·开发语言·数据库·后端·学习·mongodb
一周困⁸天.1 小时前
Redis 主从复制
linux·redis
ayaya_mana2 小时前
CentOS 7/8/9 一键安装 Python 3.10+ 并配置默认版本
linux·python·centos
The Chosen One9852 小时前
【Linux】Linux权限讲解 :写给文件的一封情书
linux·运维·服务器
IT 小阿姨(数据库)2 小时前
PostgreSQL pg_stat_bgwriter 视图各个字段详解
linux·数据库·sql·postgresql·centos
机器学习之心3 小时前
基于双向时序卷积网络与门控循环单元(BiTCN-GRU)混合模型的时间序列预测MATLAB代码
网络·matlab·gru·bitcn-gru
风语者日志3 小时前
[LitCTF 2023]Vim yyds
linux·编辑器·vim