conntracker监控

本文探讨了Linux系统中两个重要的网络配置参数:/proc/sys/net/nf_conntrack_max 和 /proc/sys/net/core/somaxconn 的作用及区别。前者控制并发连接的最大数量,后者设置监听套接字的最大排队长度。

这里写图片描述

/proc/sys/net/nf_conntrack_max

/proc/sys/net/core/somaxconn

上面两个文件啥区别来

C05741/softbus_server/TransSvc: NearbySocketReject# destroyList is empty. 11-26 17:34:03.266 837 41936 W C02160/hiaiserver/RUNTIME: DeviceOpen:363 Device open success. 11-26 17:34:03.269 837 41936 W C02160/hiaiserver/RUNTIME: WaitCompletion:487 engine pendingNum_.val = 0 11-26 17:34:03.269 837 41936 W C02160/hiaiserver/RUNTIME: WaitCompletion:496 engine pendingNum_.val = 0, err = 0 11-26 17:34:03.270 837 41936 W C02160/hiaiserver/RUNTIME: WaitCompletion:487 engine pendingNum_.val = 0 11-26 17:34:03.270 837 41936 W C02160/hiaiserver/RUNTIME: WaitCompletion:496 engine pendingNum_.val = 0, err = 0 11-26 17:34:03.270 837 30130 W C02160/hiaiserver/RUNTIME: ReceivingRun:423 RECV thread will be stopped 11-26 17:34:03.273 837 41936 W C02160/hiaiserver/RUNTIME: DeviceClose:377 Device close success 11-26 17:34:03.418 1297 60973 E C05741/softbus_server/TransSvc: NearbySocketReject# destroyList is empty. 11-26 17:34:04.243 737 30132 W C02801/multimodalinput/MMIService: [][operator():4673] The application main thread and event reading thread are combined, such as:programName:com.huawei.hmos.camera, pid:6055, mainThreadId:6055, readThreadId:6055 11-26 17:34:04.243 5596 5613 W C01719/com.ohos.sceneboard/ffrt: 51:WorkerStatus:484 0|1|28830 2|8|28725,28738,28787,28913,29257,29543,29818,30102 3|33|28516,28733,28790,28982,28984,28983,29143,29259,29260,29262,29263,29261,29339,29426,29483,29546,29547,29548,29549,29550,29821,29822,29823,29824,29825,29918,29982,30105,30106,30107,30108,30109,30110 5|22|28726,28727,28728,28763,28764,28793,28794,28914,28915,29025,29027,29026,29028,29029,29266,29267,29553,29554,29828,29829,30113,30114 11-26 17:34:04.243 5596 5613 W C01719/com.ohos.sceneboard/ffrt: 52:WorkerStatus:487 0|1|28830 2|8|28451,28738,28725,28787,28913,29257,29543,29818 3|30|28485,28388,28443,28516,28790,28733,28984,28983,28982,29143,29260,29262,29263,29261,29259,29339,29483,29426,29547,29550,29549,29548,29546,29821,29823,29824,29822,29825,29918,29982 5|22|28384,28385,28727,28728,28726,28764,28763,28793,28794,28915,28914,29027,29028,29029,29025,29026,29266,29267,29553,29554,29828,29829 11-26 17:34:04.280 837 41936 W C02160/hiaiserver/RUNTIME: DeviceOpen:363 Device open success. 11-26 17:34:04.282 837 41936 W C02160/hiaiserver/RUNTIME: WaitCompletion:487 engine pendingNum_.val = 0 11-26 17:34:04.282 837 41936 W C02160/hiaiserver/RUNTIME: WaitCompletion:496 engine pendingNum_.val = 0, err = 0 11-26 17:34:04.283 837 41936 W C02160/hiaiserver/RUNTIME: WaitCompletion:487 engine pendingNum_.val = 0 11-26 17:34:04.283 837 41936 W C02160/hiaiserver/RUNTIME: WaitCompletion:496 engine pendingNum_.val = 0, err = 0 11-26 17:34:04.283 837 30134 W C02160/hiaiserver/RUNTIME: ReceivingRun:423 RECV thread will be stopped 11-26 17:34:04.286 837 41936 W C02160/hiaiserver/RUNTIME: DeviceClose:377 Device close success 11-26 17:34:04.419 1297 19469 E C05741/softbus_server/TransSvc: NearbySocketReject# destroyList is empty. 11-26 17:34:04.624 787 30073 I C01735/resource_schedule_service/LOWPOWER_MANAGER: [CheckPeriodical:661] no need to update anco data 11-26 17:34:05.305 837 41936 W C02160/hiaiserver/RUNTIME: DeviceOpen:363 Device open success. 11-26 17:34:05.307 837 41936 W C02160/hiaiserver/RUNTIME: WaitCompletion:487 engine pendingNum_.val = 0 11-26 17:34:05.307 837 41936 W C02160/hiaiserver/RUNTIME: WaitCompletion:496 engine pendingNum_.val = 0, err = 0 11-26 17:34:05.308 837 41936 W C02160/hiaiserver/RUNTIME: WaitCompletion:487 engine pendingNum_.val = 0 11-26 17:34:05.308 837 41936 W C02160/hiaiserver/RUNTIME: WaitCompletion:496 engine pendingNum_.val = 0, err = 0 11-26 17:34:05.308 837 30137 W C02160/hiaiserver/RUNTIME: ReceivingRun:423 RECV thread will be stopped 11-26 17:34:05.311 837 41936 W C02160/hiaiserver/RUNTIME: DeviceClose:377 Device close success 11-26 17:34:05.420 1297 19469 E C05741/softbus_server/TransSvc: NearbySocketReject# destroyList is empty. 11-26 17:34:05.999 977 1017 W C01719/bgtaskmgr_service/ffrt: 2:WorkerStatus:484 2|2|29856,29857 11-26 17:34:05.999 977 1017 W C01719/bgtaskmgr_service/ffrt: 3:WorkerStatus:487 2|2|29857,29856 11-26 17:34:06.067 517 21523 I C02D10/hiview/CpuCollector: CalculateProcessCpuStatInfos: startTime=1764149636054, endTime=1764149646067, startBootTime=397745227, endBootTime=397755239, period=10012, isNeedUpdate=1 11-26 17:34:06.328 837 41936 W C02160/hiaiserver/RUNTIME: DeviceOpen:363 Device open success.
最新发布
12-06
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值