shadowsocks / ShadowsocksX-NG

Next Generation of ShadowsocksX
GNU General Public License v3.0
32.4k stars 7.95k forks source link

卸载后请停止ss-local启动项以免产生日志写入 #1429

Open destroy314 opened 1 year ago

destroy314 commented 1 year ago

打开控制台.app,选择日志报告-launchd.log,查看是否有类似gui/501/com.qiuyuzhou.shadowsocksX-NG.local的日志项,如果有,参考教程关闭残留的启动项: https://lscho.com/tech/unload-sslocal.html 教程中没提,但.http的启动项应该也需要手动关闭

ryandchan commented 10 months ago

这个问题会导致最新的macOS系统经常卡死重启,原因是watchdogd超时timeout,系统日志如下,必须按照上面的教程https://lscho.com/tech/unload-sslocal.html 删除残留启动项。

Date/Time:        2023-12-19 16:27:38.062 +0800
End time:         2023-12-19 16:27:43.630 +0800
OS Version:       Mac OS X 14.3 (Build 23D5033f)
Architecture:     x86_64h
Report Version:   44

Data Source:      Stackshots
Shared Cache:     0ADA1CE9-5905-3E82-A94A-47BC16E6711C slid base address 0x7ff80563a000, slide 0x563a000 (System Primary)
Shared Cache:     B25FA197-A38E-356B-9A8F-B2EE5A7F485F slid base address 0x7ff82684c000, slide 0x2684c000 (DriverKit)
Reason:           (1 monitored services unresponsive): checkin with service: WindowServer (2 induced crashes) returned not alive with context: is_alive_func returned unhealthy : WindowServer initialization not complete (post IOKitWaitQuiet) 80 seconds since last successful

Command:          WindowServer
Path:             /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer
Codesigning ID:   com.apple.WindowServer
Architecture:     x86_64
PID:              2202
Time Since Fork:  309s

Event:            service process watchdog
Duration:         5.57s
Steps:            12

Hardware model:   MacBookPro15,1
Active cpus:      12
HW page size:     4096
VM page size:     4096

Time Awake Since Boot: 4275s

Total CPU Time:   2.230s

Launchd throttled processes:
  gui/501/com.qiuyuzhou.shadowsocksX-NG.local throttled after exi: throttled samples 1-12
  system/com.apple.DumpGPURestart throttled after exit(): throttled samples 1-6, not throttled samples 7-12