Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 守护程序:检测到 clash 内核崩溃,重启中 #4154

Open
5 of 7 tasks
sz9527 opened this issue Nov 4, 2024 · 7 comments
Open
5 of 7 tasks

[Bug] 守护程序:检测到 clash 内核崩溃,重启中 #4154

sz9527 opened this issue Nov 4, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@sz9527
Copy link

sz9527 commented Nov 4, 2024

Verify Steps

  • Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • Branch 我知道 OpenClash 的 Dev 分支切换开关位于插件设置-版本更新中,或者我会手动下载并安装 Dev 分支的 OpenClash
  • Latest 我已经使用最新 Dev 版本测试过,问题依旧存在
  • Relevant 我知道 OpenClash 与 内核(Core)、控制面板(Dashboard)、在线订阅转换(Subconverter)等项目之间无直接关系,仅相互调用
  • Definite 这确实是 OpenClash 出现的问题
  • Contributors 我有能力协助 OpenClash 开发并解决此问题
  • Meaningless 我提交的是无意义的催促更新或修复请求

OpenClash Version

v0.46.033-beta

Bug on Environment

Lean

OpenWrt Version

R24.09.11

Bug on Platform

Linux-arm64

Describe the Bug

启动不了,一直报错:守护程序:检测到 clash 内核崩溃,重启中

To Reproduce

希望解决越来越好稳定

OpenClash Log

2024-11-04 14:47:10 OpenClash 启动成功,请等待服务器上线!
2024-11-04 14:47:10 第八步: 添加计划任务,启动进程守护程序...
2024-11-04 14:47:07 第七步: 重启 Dnsmasq 程序...
2024-11-04 14:47:07 提示:开始添加自定义防火墙规则...
2024-11-04 14:47:07 提示:正在根据防火墙端口转发和防火墙通信规则添加端口绕过规则...
2024-11-04 14:47:06 提示:DNS 劫持模式为 Dnsmasq 转发...
2024-11-04 14:47:06 第六步: 设置防火墙规则...
2024-11-04 14:47:03 第五步: 检查内核启动状态...
2024-11-04 14:47:01 配置文件【/etc/openclash/牛逼.yaml】测试成功...
2024-11-04 14:46:59 启动前调用内核测试配置文件...
2024-11-04 14:46:59 第四步: 启动主程序...
2024-11-04 14:46:59 提示:开始运行自定义覆写脚本...
2024-11-04 14:46:55 提示:您为 SOCKS5/HTTP(S) 代理设置的账户密码为【Clash:ePmR7U2v】
2024-11-04 14:46:51 第三步: 修改配置文件...
2024-11-04 14:46:51 提示:由于文件【 /etc/config/openclash 】被修改,暂停快速启动...
2024-11-04 14:46:51 第二步: 组件运行前检查...
2024-11-04 14:46:50 第一步: 获取配置...
2024-11-04 14:46:50 OpenClash 开始启动...

OpenClash Config

No response

Expected Behavior

期待越来越好稳定

Additional Context

内核崩溃
这就是一直提示重启

@sz9527 sz9527 added the bug Something isn't working label Nov 4, 2024
@vernesong
Copy link
Owner

看下内核日志

@OTG-ray
Copy link

OTG-ray commented Nov 5, 2024

同问,操作频繁启动或更新配置的话就会崩溃,有时候还会提示检查不到内核版本

2024-11-05 18:09:08【/tmp/clash_last_version】下载失败:【curl: (60) SSL certificate problem: self signed certificate More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above.】
2024-11-05 18:09:07 错误:【Meta】内核最新版本检测失败,请稍后再试...

@gloooom
Copy link

gloooom commented Nov 8, 2024

看下内核日志

内核日志显示问题出在了加载geo后,疑似开启绕过中国大陆IP后列表数目量太大导致clash内核崩溃,关闭该功能后故障消失。

@vernesong
Copy link
Owner

那应该是oom了

@gloooom
Copy link

gloooom commented Nov 8, 2024

那应该是oom了

确实oom了,内核崩溃时cpu占用率飙升。另外想问问除了关闭中国大陆IP功能以外有其他办法能够规避吗?期待您的回复。

@vernesong
Copy link
Owner

geodata-loader: memconservative

@gloooom
Copy link

gloooom commented Nov 10, 2024

geodata-loader: memconservative

我不太明白我应该如何操作,如果可以,可以指出详细的操作吗?谢谢您。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants