How to close orphan FDs

Jan Kiszka jan.kiszka at web.de
Sun Jan 13 04:27:30 CET 2019


On 11.01.19 22:55, Johannes Holtz via Xenomai wrote:
> Hi,
> 
> I managed to leave some labeled XDDP and IDDP FDs  open after a segfault.
> Even though the process is killed the resources/FDs are not freed. Is there a
> way to close them or do I have to restart the box?

Could you describe in more details - or even with a small test program - how you 
created the resources that then leaked?

Conceptually, everything should be cleaned up automatically when the last owner 
of a resource vanished.

Jan



More information about the Xenomai mailing list