hiboshi

记录下 gopls 导致系统自动重启的问题

  •  
  •   hiboshi · Aug 5 · 1498 views
    This topic created in 91 days ago, the information mentioned may be changed or developed.

    最近尝试使用 git worktree 并行开发,频繁系统卡死自动重启。排查后发现,原因是 home 目录下有个 gomod ,导致 VS Code 的 gopls 将整个 home 目录识别为 Go module ,导致大量的扫描 进一步导致 vnode 耗尽,系统进入异常状态后触发 watchdog ,最终导致 kernel panic 自动重启。

    1 replies  •  2026-08-05 17:23:15 +08:00
    moefishtang
    1
    离谱
    (丢进.gitignore
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1378 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 20:19 · PVG 04:19 · LAX 12:19 · JFK 15:19
    ♥ Do have faith in what you're doing.