llnl / llnl/UnifyFS

Daemonize function and server/client connection

Open
#145 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
122
Forks
34
PR merge metrics
No merged PRs in 30d

Description

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).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure using SLURM, mvapich, and srun with daemonize() and the client write test. Trace the path from unifycr_mount through unifycrfs_mount and unifycr_init_socket to the failing connect call. Done means the server and client establish their connection and unifycr_mount succeeds in this setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
distributed-systems, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.