Repository navigation
Conversation
… used
A job that LSF killed at its memory limit ended EXIT (exit 130) with
empty logs, and nothing the worker kept said why: the record's usage came
from a `bjobs` call on the worker's host, which a host without LSF (the
jobs go through a csub relay) cannot make.
The wait now takes both from csub's last status of the job:
- usage (peak and average memory, the memory limit, CPU and run time), so
a record has it wherever the worker runs; `lsf_usage` is gone;
- LSF's own reason (`exit_reason`, such as "TERM_MEMLIMIT: job killed
after reaching LSF memory usage limit"), in the record's outcome and on
`JobOutcome` and `JobDone` (new fields with defaults).
The reason is in a failed job's line of the timeline ("crop job N ended
EXIT (exit 130; LSF: TERM_MEMLIMIT: ...)"), which the debugging agent
reads in failure.md; the page's job view shows it, and the repair agent's
question says where it and the usage are in a job's file.
csub reports the reason from saalfeldlab/csub#23 on; until the pinned
csub has it, the field is empty and nothing else changes.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Member
Author
|
Closing without merging: this commit is merged onto the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
A job that LSF kills at its memory limit ends
EXIT(exit 130), and, killed before it could print, with empty logs. Nothing the worker kept said why:usagecame from abjobscall on the worker's host. A host without LSF commands (its jobs go through a csub relay) cannot make that call, so its records had no usage at all.So the debugging agent and the repair agent, which see a job only through what the worker wrote down, could not tell a memory kill from a cancel, and left the dataset to a person.
What
The wait takes both from csub's last status of the job:
lsf_usageis gone.exit_reason), for exampleTERM_MEMLIMIT: job killed after reaching LSF memory usage limit: in the record's outcome, and onJobOutcomeandJobDone.Where it shows:
crop job N ended EXIT (exit 130; LSF: TERM_MEMLIMIT: …). The debugging agent reads that line infailure.md.Notes for review
JobOutcome.exit_reasonandJobDone.exit_reasonare new fields with defaults (activity results are wire format). A history recorded before this replays to the same text: the reason is empty there.max_mem,memlimit, …); the values are text with a unit (16076.8 MB), so the page reads records written before and after alike.bjobscolumn or from the one line LSF writes above its verdict.Depends on
csub reports
exit_reasonfrom saalfeldlab/csub#23 on. Until the pinned csub has it the field is empty and nothing else changes; usage works with the csub that is pinned now. After that PR merges, the csub pin inpixi.lockneeds an update.Tested
test_a_job_lsf_ended_says_why_and_what_it_used(named after the incident): record, outcome and failure line of a job killed at its memory limit.usage_offor a full status, no status, a csub that reports no figures, and values that are not numbers.🤖 Generated with Claude Code