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

IPC channel still there, doing an unlink of instanceName #2211

Closed
guojun08512 opened this issue Mar 1, 2024 · 5 comments
Closed

IPC channel still there, doing an unlink of instanceName #2211

guojun08512 opened this issue Mar 1, 2024 · 5 comments
Labels
needs info A bug report is waiting for more information

Comments

@guojun08512
Copy link

Required information

Operating system:
Ubuntu 20.04 LTS

Compiler version:
GCC 8.4

Eclipse iceoryx version:
v2.0.2

Observed result or behaviour:
how to fix this error

Expected result or behaviour:
2024-03-01 10:40:23.817 [Warning]: IPC channel still there, doing an unlink of smq-server-rtu-slave

Conditions where it occurred / Performed steps:
Frequent restart service

@guojun08512
Copy link
Author

rodui log:
2024-03-01 10:40:25.356 [Warning]: Application smq-server-rtu-slave not responding (last response 1538 milliseconds ago) --> removing it
2024-03-01 10:48:14.377 [Warning]: Application smq-request-response-client-listener not responding (last response 1539 milliseconds ago) --> removing it

2024-03-01 10:48:32.047 [Warning]: Application smq-request-response-client-listener not responding (last response 1503 milliseconds ago) --> removing it
2024-03-01 10:48:48.299 [Warning]: Application smq-server-rtu-slave not responding (last response 1593 milliseconds ago) --> removing it
2024-03-01 10:48:53.303 [Warning]: Application smq-request-response-client-listener not responding (last response 1507 milliseconds ago) --> removing it
2024-03-01 10:49:01.809 [Warning]: Application smq-server-rtu-slave not responding (last response 1599 milliseconds ago) --> removing it
2024-03-01 10:49:05.512 [Warning]: Application smq-request-response-client-listener not responding (last response 1513 milliseconds ago) --> removing it

2024-03-01 10:49:21.223 [Warning]: Application smq-server-rtu-slave not responding (last response 1549 milliseconds ago) --> removing it

@guojun08512 guojun08512 changed the title PC channel still there, doing an unlink of instanceName IPC channel still there, doing an unlink of instanceName Mar 1, 2024
@elBoberido
Copy link
Member

The IPC channel still there, doing an unlink of smq-server-rtu-slave comes the the applications are not shut down gracefully, e.g. with kill -9. In this case they cannot clean up their resources so it happens on restart.

The RouDi log also just states that the application was killed and not shut down properly.

It might also happen when no signal handler is used. You can have a look at the examples on how to do it properly.

@guojun08512
Copy link
Author

thanks,I found the problem。
If I call right away : iox::runtime::PoshRuntime::initRuntime(runtime_name), Resources are not allocated。I invoke the request-response mode and create the service.
the service will be panic.

@elBoberido
Copy link
Member

I'm not sure what you mean. Can you describe your problem in more detail?

@elBoberido elBoberido added the needs info A bug report is waiting for more information label Mar 9, 2024
@elBoberido
Copy link
Member

@guojun08512 the original issue was cleared. If there are more problems please create a new issue. Closing this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info A bug report is waiting for more information
Projects
None yet
Development

No branches or pull requests

2 participants