Skip to content

Conversation

@super-go
Copy link

falcon-agent进程被手动kill掉进程pid文件没有被清理时, 下次如果./control restart 会先kill掉错误的进程。

@itxx00
Copy link

itxx00 commented Mar 28, 2017

这个地方主要问题应该是pidfile里面内容和实际进程不一致时候的问题,其实如果是直接使用ps命令来获取的话,就没有必要保留这个pidfile,可以进一步优化为不存在stop fail的情况

@super-go super-go changed the title fix agent stop kill error pid fix agent stoped kill error pid Mar 31, 2017
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

Successfully merging this pull request may close these issues.

2 participants