Skip to content
Snippets Groups Projects
Commit 53706b41 authored by David Bigagli's avatar David Bigagli
Browse files

Ignore transient cgroup errors.

parent 1251c484
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,8 @@ documents those changes that are of interest to users and admins. ...@@ -29,6 +29,8 @@ documents those changes that are of interest to users and admins.
you could get multiple '*' wckeys. you could get multiple '*' wckeys.
-- Fix bug which could report to squeue the wrong partition for a running job -- Fix bug which could report to squeue the wrong partition for a running job
that is submitted to multiple partitions. that is submitted to multiple partitions.
-- If failed to rmdir() a cgroup ignore the error preventing slurmstepd to
loop forever.
* Changes in Slurm 14.03.4 * Changes in Slurm 14.03.4
========================== ==========================
......
...@@ -287,8 +287,11 @@ int _slurm_cgroup_destroy(void) ...@@ -287,8 +287,11 @@ int _slurm_cgroup_destroy(void)
if (xcgroup_delete(&step_freezer_cg) != XCGROUP_SUCCESS) { if (xcgroup_delete(&step_freezer_cg) != XCGROUP_SUCCESS) {
error("_slurm_cgroup_destroy: problem deleting step " error("_slurm_cgroup_destroy: problem deleting step "
"cgroup path %s: %m", step_freezer_cg.path); "cgroup path %s: %m", step_freezer_cg.path);
/* Ignore the error since the cgroup will
* be eventually cleaned up by the release
* script.
*/
xcgroup_unlock(&freezer_cg); xcgroup_unlock(&freezer_cg);
return SLURM_ERROR;
} }
xcgroup_destroy(&step_freezer_cg); xcgroup_destroy(&step_freezer_cg);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment