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

(s *supervisor) Start 在协程中后续重启exec.Command会以用户Another执行导致档不对 #16

Open
HengY1Cola opened this issue Feb 6, 2024 · 1 comment

Comments

@HengY1Cola
Copy link

最开始我以Steam用户执行,关闭了对应的内存清理
直到内存达到预期值后进行重启,小伙伴发现档直接回到几天前了
我排查后:

  1. isAlive 函数只看有不有进程 但是用户已经从 A -> B了 同一个档能运行起来 B只能玩几天前的 造成坏档的假象
  2. 核心点就是Go Func中执行exec.Command 用户换了 从A -> B
@HengY1Cola
Copy link
Author

补充:
第一次启动:
09bec0738b4864677e507022767fbe8

Shutdown后重启:
07e30204944d9b0034267005ac85234

用户身份改变,读档出问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant