Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

occaisonal hang when creating temporary dir/files #98

Open
lastephey opened this issue Nov 20, 2023 · 1 comment
Open

occaisonal hang when creating temporary dir/files #98

lastephey opened this issue Nov 20, 2023 · 1 comment

Comments

@lastephey
Copy link
Collaborator

Jan reports:


Hi, I'm scaling up Slurm job w/ podman, using command:

srun -n 64 podman-hpc run -it \
	   --volume $outPath:/wrk \
	   --workdir /wrk \
	   $IMG myCode.py

and I see from time to time an error in Slurm output:

time="2023-11-18T06:58:17-08:00" level=error msg="Failed to create temp directory for user: mkdir /tmp/containers-user-31480: file exists"

but it hangs the job for 5-10 seconds, then it proceeds - is it a serious issue or I should just move on.


I think we could handle this more gracefully with a try/except: https://github.com/NERSC/podman-hpc/blob/main/podman_hpc/siteconfig.py#L317

@lastephey
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant