Open RhythmNz opened 1 year ago
archlinux 也会时不时出现这样的情况,卡的我动弹不得
节点里有tuic吗?
https://clash-meta.wiki/api/#debugpprof 参考这个上传一份cpu profile,路径是api/debug/pprof/profile
节点里有tuic吗?
没有
grpc?
没法用了,我也这个情况,换了几个版本依旧,突然出现的,莫名其妙开始飙CPU然后吃内存,接着机器卡死。得等系统自动把进程杀了。
1.15.1版本, tun模式 我的出现有点规律, 每30秒一次, 每次持续几秒. 我怀疑是我tuic的heartbeat (但也不是必现的 希望这个profile有帮助 :)
tuic 节点配置
- name: xxx
server: xxx
port: xxx
type: tuic
uuid: xxx
password: xxx
ip: xxx
heartbeat-interval: 30000
alpn: [h3]
reduce-rtt: false
request-timeout: 2000
udp-relay-mode: native
congestion-controller: bbr
max-udp-relay-packet-size: 1500
fast-open: false
skip-cert-verify: false
tuic server配置
"server": xxx
"users": xxx
"certificate": xxx
"private_key": xxx
"congestion_control": "bbr",
"alpn": ["h3"],
"udp_relay_ipv6": true,
"zero_rtt_handshake": false,
"dual_stack": true,
"auth_timeout": "3s",
"task_negotiation_timeout": "3s",
"max_idle_time": "30s",
"max_external_packet_size": 1400,
"send_window": 167772160,
"receive_window": 16777216,
"gc_interval": "3s",
"gc_lifetime": "15s",
"log_level": "info"
1.15.1版本, tun模式 我的出现有点规律, 每30秒一次, 每次持续几秒. 我怀疑是我tuic的heartbeat (但也不是必现的 希望这个profile有帮助 :)
tuic 节点配置 - name: xxx server: xxx port: xxx type: tuic uuid: xxx password: xxx ip: xxx heartbeat-interval: 30000 alpn: [h3] reduce-rtt: false request-timeout: 2000 udp-relay-mode: native congestion-controller: bbr max-udp-relay-packet-size: 1500 fast-open: false skip-cert-verify: false tuic server配置 "server": xxx "users": xxx "certificate": xxx "private_key": xxx "congestion_control": "bbr", "alpn": ["h3"], "udp_relay_ipv6": true, "zero_rtt_handshake": false, "dual_stack": true, "auth_timeout": "3s", "task_negotiation_timeout": "3s", "max_idle_time": "30s", "max_external_packet_size": 1400, "send_window": 167772160, "receive_window": 16777216, "gc_interval": "3s", "gc_lifetime": "15s", "log_level": "info"
客户端节点配置里加上 cwnd: 10, 再测试。
客户端节点配置里加上 cwnd: 10, 再测试。
3天内已没有再出现 :) 感谢
客户端节点配置里加上 cwnd: 10, 再测试。
3天内已没有再出现 :) 感谢
和网络有关,网不好的时候容易出现,这个时候加上那个参数就好了
客户端节点配置里加上 cwnd: 10, 再测试。
3天内已没有再出现 :) 感谢
和网络有关,网不好的时候容易出现,这个时候加上那个参数就好了
配置了cwnd: 10, 用1.15.1也会出现 用最新Alpha不会出现 :)
Verify steps
Clash version
v1.14.5
What OS are you seeing the problem on?
OpenBSD/FreeBSD
Clash config
Clash log
No response
Description
openclash最新版本 随机出现极高cpu占用率 cpu占用100%