Skip to content

F OpenNebula/one-apps#396: Install Slurm from the oneslurm PPA - #2

Merged
km4rcus merged 1 commit into
km4rcus:f-396from
pablodelarco:fix/396-slurm-ppa
Nov 4, 2026
Merged

km4rcus merged 1 commit into
km4rcus:f-396from
pablodelarco:fix/396-slurm-ppa

Conversation

@pablodelarco

@pablodelarco pablodelarco commented Oct 29, 2026 •

Copy link
Copy Markdown

Slurm 25.11.2 in Ubuntu 26.04 records no job memory or disk usage. MaxRSS, MaxDiskRead and the other usage fields stay empty in sstat, sacct and the slurmdbd database.

The cause is in the jobacct_gather plugin (common_jag.c), which slurmstepd runs on the workers. It reads /proc/<pid>/stat with sscanf("%d (%39c"), and with glibc 2.43 this call fails, so the plugin gets no usage values (LP: #2169842).

ppa:pdelarco/oneslurm has the Ubuntu package plus the upstream fix (commit 0d323a1ed8cc, released in Slurm 25.11.7). The three images install slurm-wlm from it until the SRU. apt moves to the Ubuntu package when the SRU is out.

I tested it with a 300 MB job. MaxRSS shows 311388K in sstat, sacct and the slurmdbd database.

@pablodelarco

pablodelarco commented Oct 29, 2026 •

Copy link
Copy Markdown
Author

@km4rcus When you can, could you review this? It adds the PPA we talked about, until the Ubuntu SRU is out.

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

Successfully merging this pull request may close these issues.

2 participants