Applications creating childs (fork/clone/pthread_create), may suffer issues in GekkoFS
The issue comes from the combination of syscall_interception
and mercury-argobots
. As the child inherits all the fd of the parent, and creates the different mercury threads, it also has the role of closing such channels.
However, this causes issues with such fds. The most noticeable effect is that the client process never ends, and for hence waitpid
waits forever.
An update of Hermes is needed, that avoids the destruction of any mercury thread in the childs.
So for this to work we need:
-
A special flag in the initialization of hermes in the client is needed -
The Hermes submodule needs to be updated.
Edited by Ramon Nou