Shutdowns after prolonged inference - how can I debug this?

One of my sparks (MSI EdgeXpert oem) seems to shutdown after prolonged inference. It seems to consistently be the same one. I’m not sure at the moment if that’s due to memory pressure, or thermal shutdown. It typically happens after a prolonged period of time - 6-8 hours.

Does anyone have any advice for how to debug this? Are logs persisted across boots, or in the case of OOM/thermal shutdown, would that produce a crash dump somewhere?

I’ve installed some fans and rearranged the cluster to keep it cooler, but I’m still hitting the same issue.

Hi, you can collect an nvidia-bug-report which will have boot logs from previous boots as well. Please share with me after one of these shutdown and I can help triage.

nvidia-bug-report.sh came back empty, and I can’t see the logs from the previous boot, e.g. via:

sudo journalctl --since "2026-08-26 00:00:00"

This is what I found helpful, I got ChatGPT or Claude to help me setup the inference then I ask them to setup watcher and log the status. When the machine crashed, ChatGPT and Claude can use the log to deduct root cause and suggest the possible solution. They might not fix it the first time. If the problem keep recurring, they will improve the data collection and increase the chances that you will have the right information.

I have experienced llama-server and Ollam silently crashed on me several time. This is not the same as your problem but data collection is essential.

weird, what about trying journalctl -k -b -1 -e?

I have the same OEM (MSI EdgeXpert) and what sounds like the same failure, so sharing what months of debugging found, since it may save you time.

My setup is two identical EdgeXperts on the same firmware (SBIOS 5.36_1.8.0, EC 10800, USB-C PD 522), same kernel, same driver, same pinned software stack, package lists diffed clean. One unit hard powers off under load; the twin has never done it once, including under heavier and hotter runs.

This is an embedded-controller power cut, not a kernel event. The journal just stops mid-stream, no panic, no OOM, no Xid, no thermal trip, no pstore. I proved that with netconsole streaming the kernel log to the second unit: the stream stays healthy right up to the cut, then goes silent with no final message.

Things I ruled out on my unit:

-Thermal: cuts happen at 90-93 C zone temps while the same box has survived 97+ C for over an hour. Extra fans changed nothing for me either.

-Memory pressure: tens of GB free at every cut.

I now have a reproducer that kills my affected unit in about 3 minutes: a sustained video-generation render (70-100 W GPU) plus a bursty all-core CPU load (15 s bursts every 60 s). I instrumented the system power registers at 10 Hz through the hwmon interface, and at the moment of death nothing is out of bounds: no limiter engaged, PROCHOT never asserts, system draw around 150-185 W on a 240 W brick. The protection that fires is below anything the OS can see I’m guessing?

Ultimately my theory is that the EC or PD protection threshold is set too tight for units on the low end of the tolerance band, and load transients (big CPU or GPU power steps during sustained draw) trip it.

Hoping Nvidia widens that threshold via firmware as some units appear to be on the edge of the silicon lottery.

Interesting and somewhat concerning. I haven’t been able to get any logs or debug output and haven’t seen a crash in a couple of days now. But next time I’ll verify again that no logs or debug output has been produced.

Actually if you have something reproducible I could test it on my good and potentially bad unit, if you wanted to share.