-
Notifications
You must be signed in to change notification settings - Fork 142
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
tarsnode会拉起进程多次 #121
Comments
框架是什么版本? 业务服务马上就挂了? |
web:2.4.27 |
升级一下框架, 可能中间有一个版本, 对于服务的pid判断在某些系统上好像有问题 |
master分支最新版tarsnode启动不了 |
昨天刚提交的代码没注意有问题, 刚才改了, 你更新试一试 |
main函数里是这样写的 parseConfig里面使用了Application::getCommunicator() |
是的, 是这个问题, 内外部代码这里有点不同, 同步的时候没注意 |
tarsweb后台点击重启,tarsnode拉起进程多次会是什么原因?
附上grep "pid changed" 的tarsnode日志:
2022-04-26 20:27:15|140601701943040|DEBUG|compiler_depend.ts:setPid:618| pid changed! 18133 --->>> 0
2022-04-26 20:27:15|140601651586816|DEBUG|compiler_depend.ts:setPid:618| pid changed! 0 --->>> 18342
2022-04-26 20:27:15|140601685157632|DEBUG|compiler_depend.ts:setPid:618| pid changed! 18342 --->>> 18165
2022-04-26 20:27:15|140601685157632|DEBUG|compiler_depend.ts:setPid:618| pid changed! 18165 --->>> 0
2022-04-26 20:27:17|140601659979520|DEBUG|compiler_depend.ts:setPid:618| pid changed! 0 --->>> 18566
2022-04-26 20:27:17|140601968285440|DEBUG|compiler_depend.ts:setPid:618| pid changed! 18566 --->>> 18382
2022-04-26 20:27:17|140601968285440|DEBUG|compiler_depend.ts:setPid:618| pid changed! 18382 --->>> 0
2022-04-26 20:27:20|140601668372224|DEBUG|compiler_depend.ts:setPid:618| pid changed! 0 --->>> 18753
2022-04-26 20:27:20|140601968285440|DEBUG|compiler_depend.ts:setPid:618| pid changed! 18753 --->>> 18575
2022-04-26 20:27:20|140601968285440|DEBUG|compiler_depend.ts:setPid:618| pid changed! 18575 --->>> 0
2022-04-26 20:27:24|140601659979520|DEBUG|compiler_depend.ts:setPid:618| pid changed! 0 --->>> 18938
2022-04-26 20:27:24|140601968285440|DEBUG|compiler_depend.ts:setPid:618| pid changed! 18938 --->>> 18762
2022-04-26 20:27:24|140601968285440|DEBUG|compiler_depend.ts:setPid:618| pid changed! 18762 --->>> 0
2022-04-26 20:27:25|140601643194112|DEBUG|compiler_depend.ts:setPid:618| pid changed! 0 --->>> 18342
最终启动完成的进程是18342
18566 18753 18938是被重复拉起的进程
18165 18382 18575 18762 是不知道哪里来的进程
The text was updated successfully, but these errors were encountered: