UnifyFS icon indicating copy to clipboard operation
UnifyFS copied to clipboard

Daemonize function and server/client connection

Open dsikich opened this issue 6 years ago • 2 comments

I'm using SLURM, mvapich, and srun to launch the server and client processes.

When the daemonize() function is used and the client write test is called the unifycr_mount call fails.

The stack trace looks like this:

unifycr_mount -> unifycrfs_mount -> unifycr_init_socket -> connect

The connect call fails in unifycr_init_socket with a return code of (-1).

dsikich avatar Jul 23 '18 22:07 dsikich

Looks like using mvapich the child process (after the fork in daemonize) is not getting past the MPI_init_thread call (it's exiting somewhere in here). The fork() call isn't working correctly with mvapich.

dsikich avatar Jul 24 '18 23:07 dsikich

daemonize() also causes failed connections on IBM LSF/CSM machines like summitdev

MichaelBrim avatar Oct 08 '18 15:10 MichaelBrim