eclipse-iceoryx/iceoryx

IPC channel still there, doing an unlink of instanceName

Closed this issue · 5 comments

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

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

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.

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.

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

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