Skip to content

有时候进程会异常退出,导致pub端一直打印“fail: send, que->ready_sending() == false” #129

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

Open
DeguiLiu opened this issue Sep 6, 2024 · 3 comments

Comments

@DeguiLiu
Copy link

DeguiLiu commented Sep 6, 2024

有时候进程会异常退出,导致pub端一直打印“fail: send, que->ready_sending() == false”。
请问如何在pub端启动的时候,清除所有状态。我记得你之前说加过一个接口,请问我自己实现的话,该如何办?
目前只能rm -rf /dev/shm/__IPC_SHM__*这样了。

@mutouyun
Copy link
Owner

mutouyun commented Sep 6, 2024

emmm,我这边实现暂时也是删文件。。如果你的pub端启动时一定只有它自己,可以system执行一下

@DeguiLiu
Copy link
Author

DeguiLiu commented Sep 7, 2024

你在这个issue中提到 可以 “粗暴的清空所有连接”。请问你之前是如何实现的呀?

@mutouyun
Copy link
Owner

你在这个issue中提到 可以 “粗暴的清空所有连接”。请问你之前是如何实现的呀?

我直接调system命令rm掉了共享内存的文件=.=

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

2 participants