From Log Files to Live Signals

Nov 19, 2026

On November 7 I spoke at Texas Linux Fest 2026 in Austin about moving HPC job operations from reactive to proactive on Linux bare metal. The recording is below, and this post is the written version.

If you watch, you can use these timestamps to navigate:

The Friday job

An engineer submits a long simulation at 4 PM on a Friday and goes home. It dies at 5 PM. Nobody knows until Monday morning. Digging through logs and resubmitting takes until Tuesday, and results land the following Friday. A problem that could have been fixed Friday evening cost a whole week.

The Friday job timeline

Nobody did anything wrong; it’s just that the operating model is reactive. We find out a job failed when someone goes looking, and we read the logs after the fact, treating them as exhaust from a fire.

Four ways a job goes bad

  1. It should never have run: Bad input or settings that are not caught until the job fails.
  2. It dies mid-run: The node, storage, scheduler or solver fails. Found whenever someone checks.
  3. It stalls or diverges: No failure signal at all, just cores consuming compute.
  4. It finishes with garbage: Exit 0 does not always mean success, as here we can get a useless result. Found in post-processing (if at all).

Each of these can be caught at a different point in the job’s lifecycle, so I split the work into three places to intervene: before, during, and… at the edge.

Before submission

A thin layer sits in front of the submit command and runs cheap checks on things like mesh quality and solver configuration. The checks need to finish in seconds. Nobody will keep using a tool that delays job start by minutes. If something is obviously wrong, the findings get sent to the engineer in chat before any compute is spent.

The most important design rule is to make it non-blocking. If the control plane is down, jobs should still go through exactly as they did before, and the support system never becomes the reason the queue stops. This makes integration with other teams and tools an easier sell.

During the run

A live PID tells you nothing about whether the job is going anywhere. The solver already writes convergence data to disk every iteration, so watch the data. Residuals on a healthy job head toward zero. The two to catch are a stalled job, which flattens out or repeats log signals and burns cores indefinitely, and a diverging one, which blows up. Flag it or kill it early while it’s still cheap. Catching a five-day run on day one gives back four days of compute and most of an engineer’s week.

At the edge

The old way to check on a job is to remember you submitted it, get on the VPN, SSH to a node, find the log, read it and guess. Now the job’s own lifecycle emits an event, the control plane picks it up, and a message lands in the chat the engineer already has open on their desktop or phone. Every message comes with actions the user can take, so we don’t just inform them but empower them to do something about the information we share.

Chat notification mockup

The chat layer is thin and most logic lives in the back end. I wrote more about this in Chat Is Where the Work Is.

Here is the same Friday with all of that in place. The job still dies at 5 PM but now the engineer gets a message about it the moment it fails, with the logs and a diagnosis attached, and is able to fix the problem and resubmit by 6 PM on the same day.

The Friday job redux timeline

The toolbox

bash, curl, cron, awk, grep, exit codes, signals and the scheduler CLI - all of these come built in with either the Linux distro or the scheduler. There is no agent to install on thousands of nodes and no new daemon for the cluster admins to evaluate.

I had a working proof of concept in three days. Production took six months, spent on access requests, approvals, firewall rules and finding the people who own each piece. Every new component is another approval and another team to convince, so using what’s already on the box is the fastest path through the forest.

Lessons learned

Your fleet isn’t uniform

This passed code review and worked on every node I tested:

response=$(curl -s -w "%{http_code}" "$SERVICE_URL")
http_code=${response: -3}
body=${response:0:-3}      # negative length: bash 4.2+

It failed in production on nodes running an older version of bash. On a cluster of that size, OS versions and patch levels can drift, and HPC is especially susceptible. Nodes are bought in generations and stay in service for years, and some commercial solvers are only certified on specific OS versions, which keeps the nodes that run them from being upgraded. Test on your oldest node and work closely with sysadmins to understand the environment and any limitations.

The portable version:

body=${response%???}

Don’t slow down the solver

( nice -n 19 curl -s --http2 --parallel --max-time 5 --config batches.cfg || true ) &

If you push a lot of events, at a large volume a small cost per request turns into real overhead. We can work around this by making sure many events are grouped into one. HTTP/2 multiplexes the parallel transfers over a single connection, so we don’t pay for a new one every time. The process runs in the background at low priority with a hard timeout, so a failure can’t impact jobs. In a tightly coupled MPI job one slow rank can hold up the rest, so the telemetry has to be invisible to the solver.

Watch for this if you have AI write the code. Ask it to implement event reporting and you’ll often get one connection per event, which looks fine in testing but adds up fast across millions of jobs.

Exit 0 doesn’t mean the result is usable

An engineer once showed me a crash simulation that finished cleanly with exit 0. The tire had clipped through the wall. The scheduler called it a success but the result was not usable. Nonconvergence can finish cleanly, so success has to be judged on the result.

You can’t fix everything

Nodes go bad and hardware has quirks. At scale, root-causing every one-off costs more than it saves. Capture the error, store it with the fix if you know one, resubmit and move on. Over time the record shows which problems repeat, and those are the ones worth spending resources fixing. I wrote about picking what to fix in Optimize at the Constraint or Don’t Bother. The system has to be resilient enough to assume something is always broken somewhere and still be able to keep going.

Get the logs off the node

Treat logs as data, a primary input to triage and analysis systems. Triage, job history, similarity between jobs and AI diagnosis against vendor documentation all read from them. In HPC the engineer might own the output directory, so logs end up wherever each user or team decided to put them. Capture them unconditionally from every job and ship them to one place as soon as the job ends. None of the interesting work is possible while the logs sit in a scratch directory on some node.

Measuring it

Eventually someone asks what this is worth. The formula is events per year × time saved per event × all-in cost of an engineering hour. As a caveat, be mindful that an engineer whose job failed won’t sit idle for three hours waiting on it, so count the time they actually get back and pick the conservative estimate. If usage is voluntary, adoption over time stands in for a control group. If weekly usage holds or grows without a leadership mandate, it’s a signal that the tool is saving people time. In You Can’t A/B Test a Tool Nobody Asked For I covered how I measured the value of an internal tool with no control group and turned it into a number that can withstand scrutiny.

Applying this outside of HPC

None of this is specific to HPC. Long-running batch jobs and ETL pipelines have the same fire-and-forget problem. Start with one event and one channel, and let your users tell you what they want next. Here’s something you can try in your own workflows:

  1. Wrap your command.
  2. Send one event when a job changes state.
  3. Pick one metric and watch it.
  4. Post it to the chat your team already uses.