ShellCrash icon indicating copy to clipboard operation
ShellCrash copied to clipboard

[Feature] 有没有watchdog的功能,在程序异常退出后重新拉起来

Open zzyyll2 opened this issue 7 months ago • 3 comments

Verify steps

  • [x] 我已经在 Issue Tracker 中找过我要提出的问题 I have searched on the issue tracker for a related issue.
  • [x] 我已经使用公测版本测试过,问题依旧存在 I have tested using the test mod, and the issue still exists.
  • [x] 我已经仔细看过 常见问题 并无法自行解决问题

Description

我的路由器是小米ax6000,512M的内存,使用一段时间后,ShellCrash会退出

  1. 请问在哪里可以查看异常退出原因,是否有打印日志
  2. 异常可以进程监控,在程序退出后快速拉起来吗?

zzyyll2 avatar May 06 '25 15:05 zzyyll2

大概率是请求量太大了 我之前是因为home assistant的BUG导致请求DNS量过大,老是服务重启

907739769 avatar May 08 '25 02:05 907739769

另外我设置了 每天凌晨重启clash服务,每周定时重启路由器

907739769 avatar May 08 '25 02:05 907739769

有的,但如果是基于系统systemd或者openwrt的procd的守护进程,如果是内核本身返回的退出代码而非直接崩溃则不会重新拉起。

你可以尝试保守模式。

juewuy avatar May 09 '25 07:05 juewuy