TECHNOLOGY

Bound crash dumps from large model-serving processes

In this article
THE QUICK TAKE

Trace the active core handler and distinguish temporary processing space from retained dump limits.

A large serving process crashes and the node’s local storage fills while collecting its core. Crash diagnostics have both a production path and a retention path. Identify the configured kernel handler and its processing policy before assuming a shell’s core-size limit bounds every byte temporarily written by the collection service.

Follow the configured handler

Read kernel core_pattern and the affected process’s relevant configuration through authorized diagnostics. A direct core file and a pipe to a userspace handler have different contracts. Linux documents that its ordinary RLIMIT_CORE enforcement does not apply to the piped mechanism in the same way. The handler can impose its own policy, so inspect that actual path rather than a shell setting alone.

Separate processing from storage

For systemd-coredump, ProcessSizeMax controls processing, while storage selection and per-core storage limits address retained output. Storage=none alone does not necessarily eliminate temporary disk use needed for processing. Review the installed version and effective configuration. A decision to retain no core is different from a decision not to process its memory image at all.

Budget concurrent failures

An update or shared fault can crash several large workers together. Total retained-space controls and cleanup do not necessarily act as a strict instantaneous ceiling while dumps are being processed. Include temporary files, concurrency and the filesystem hosting them. Do not infer safety from the compressed size of one old core or the free space observed after cleanup completed.

Preserve useful bounded evidence

Choose which metadata and diagnostic material the incident actually needs. A core can contain model state and request memory, so handle it under the same restricted access as other process contents. Increasing capture indiscriminately can reduce node availability without yielding a more useful explanation. Keep the signal, process identity and relevant stack evidence available even when full-memory retention is unsuitable.

Rehearse the selected policy

Use a small disposable crashing program with the intended handler and observe processing, temporary storage, retained output and cleanup. Acceptance means the configured path behaves within its documented scope. It does not establish a hard cap for every simultaneous model crash, guarantee that a complete backtrace is available or replace diagnosis of the original serving failure.

Primary references

Linux Core Dumps.

systemd Core Dump Storage Configuration.

systemd Core Dump Handler.

Related reading: Inference API telemetry without default prompt capture; OOMKilled or Evicted: identifying why a Pod stopped.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles