Skip to content

vLLM returns 500 on every request after the EngineCore process dies

The vLLM V1 API server survives while the separate EngineCore subprocess that owns the model does not. Once that child is gone the server keeps accepting connections and answers every one of them with an internal error until it is restarted, so an outage presents as a healthy-looking process serving nothing.

Quick answer

EngineDeadError names the discovery, not the cause. Read the first worker or engine-core traceback printed ABOVE it, and check dmesg for an out-of-memory kill, which leaves no traceback at all.

Symptom
ERROR: Engine core proc EngineCore_DP0 died unexpectedly, shutting down client.
Root cause
EngineDeadError is a bereavement notice, not a diagnosis. The API server process discovers the child is gone when it next awaits output, and reports that discovery. The exception that actually killed the engine was raised inside the EngineCore subprocess and printed to its own stream earlier, which is what the message means by see stack trace above.
Recommended fix
VLLM_LOGGING_LEVEL=DEBUG
How Denpex helps
Denpex investigates vLLM returns 500 on every request after the EngineCore process dies using the evidence you provide or your connected workload collects. Earlier rank, host or application evidence is needed to distinguish an initiating failure from a downstream report.
Reliability#vllm#enginedeaderror#engine-core#inference-serving#outage#v1-engine

What this failure is

An outage mode specific to vLLM's split-process design, in which the model-owning EngineCore subprocess terminates while the HTTP server that fronts it continues running and answering requests with internal errors.

Diagnose your vLLM log offline

EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause.

First action. Preserve earlier EngineCore and worker logs and match their timestamps to container termination and host events. If Python has no earlier traceback, check for a host or cgroup OOM kill and NVIDIA Xids.

Verify the change. Correlate the first distinct failure with the worker, node, and timestamp before assigning ownership. After the fix, repeat representative requests on a canary.

Source checked against vLLM v0.32.0.

Open full offline GPU Log Analyzer for multi-MB vLLM traces

Live diagnosis, no signup

Is this what broke your run? Paste your log.

You're reading about vLLM returns 500 on every request after the EngineCore process dies. Paste your own traceback and relevant evidence for an investigation of your workload, with a next action or a specific missing fact. A reference entry does not establish your cause. No account or card for the free diagnosis. Review data handling before submitting sensitive logs.

Before uploading, review cloud data handling and local options.

training_logs.txt
No log to hand? Try one:

Upload your log file. Large files are processed in your browser. Only selected evidence is submitted when you run diagnosis.

3 free cloud diagnoses per day

Why it happens (the mechanism)

vLLM V1 puts the model in its own process so the HTTP layer stays responsive. The consequence is that the two can fail independently. When the child dies, the parent finds out only when it next awaits output, and all it can honestly say is that the engine is gone. Nothing in that message distinguishes a missing CUDA kernel from a stalled worker from a subprocess reaped by the kernel, because the parent never saw any of them happen.

What you'll observe

  • Every completion request returns HTTP 500 while the container stays up and the port stays open
  • A liveness probe that only checks the port keeps the dead instance in the load balancer
  • The error the server reports names no cause, so there is nothing obvious to act on
  • Restarting clears it for a while and it returns under the same conditions

Common symptoms and what they mean

Check possible explanations against the incident evidence. A matching symptom alone does not establish its cause.

SymptomPossible explanation
vllm.v1.engine.exceptions.EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause.EngineDeadError is a bereavement notice, not a diagnosis. The API server process discovers the child is gone when it next awaits output, and reports that discovery. The exception that actually killed the engine was raised inside the EngineCore subprocess and printed to its own stream earlier, which is what the message means by see stack trace above.
Engine core proc EngineCore_DP0 died unexpectedly, shutting down clientThe child dies for reasons that share nothing but their effect. Reported causes include kernels that do not exist for the device, where a quantized build raises CUDA error no kernel image is available for execution on the device on the first request; an execute_model remote call timing out against a stalled worker; the kernel out-of-memory killer reaping the subprocess under load; and shared-memory limits breaking worker startup.
Traceback through output_handler, await engine_core.get_output_async, core_client.py get_output_asyncThe failure is durable because nothing restarts the engine. The parent has no model of its own to fall back on, so it stays alive serving errors, and a port-based liveness probe cannot tell that apart from a working server.
AsyncEngineDeadError: Background loop has errored already on the older V0 engineEngineDeadError is a bereavement notice, not a diagnosis. The API server process discovers the child is gone when it next awaits output, and reports that discovery. The exception that actually killed the engine was raised inside the EngineCore subprocess and printed to its own stream earlier, which is what the message means by see stack trace above.
POST /v1/chat/completions HTTP/1.1 500 Internal Server Error repeating for every subsequent requestThe child dies for reasons that share nothing but their effect. Reported causes include kernels that do not exist for the device, where a quantized build raises CUDA error no kernel image is available for execution on the device on the first request; an execute_model remote call timing out against a stalled worker; the kernel out-of-memory killer reaping the subprocess under load; and shared-memory limits breaking worker startup.

Which systems are affected

  • vLLM V1, where the API server and EngineCore are separate processes
  • Containers whose health check tests only TCP reachability rather than a real completion
  • Deployments using VLLM_WORKER_MULTIPROC_METHOD=spawn
  • Any autoscaled fleet, where one dead replica silently absorbs its share of traffic

How to confirm this is the problem

Use this checklist to test the hypothesis against a small reproduction. No single line proves the root cause, so preserve the preceding events and compare one variable at a time.

  • ✓Search the log backwards from the EngineDeadError for the first traceback attributed to a worker or engine-core process; that is the cause and it will name a device, a memory limit or a timeout.
  • ✓Run dmesg -T | tail and look for an out-of-memory kill naming a Python process at the time of the failure. A kill leaves no application traceback.
  • ✓Issue a one-token completion against the instance. If it returns 500 while the port accepts connections, the engine is dead and the process needs restarting rather than investigating live.

Root cause

  • EngineDeadError is a bereavement notice, not a diagnosis. The API server process discovers the child is gone when it next awaits output, and reports that discovery. The exception that actually killed the engine was raised inside the EngineCore subprocess and printed to its own stream earlier, which is what the message means by see stack trace above.
  • The child dies for reasons that share nothing but their effect. Reported causes include kernels that do not exist for the device, where a quantized build raises CUDA error no kernel image is available for execution on the device on the first request; an execute_model remote call timing out against a stalled worker; the kernel out-of-memory killer reaping the subprocess under load; and shared-memory limits breaking worker startup.
  • The failure is durable because nothing restarts the engine. The parent has no model of its own to fall back on, so it stays alive serving errors, and a port-based liveness probe cannot tell that apart from a working server.

The fix and how to prevent it

How to fix it

  • Scroll back in the logs to the first traceback printed by the EngineCore or worker process. That is the diagnosable error; the EngineDeadError below it is only the parent noticing.
  • If the engine died on the very first request rather than under load, suspect kernel support for the device before suspecting memory, and confirm the quantization format is built for the target compute capability.
  • Check dmesg and nvidia-smi for an out-of-memory kill or an Xid entry. A subprocess reaped by the kernel leaves no Python traceback at all, which is the case most often misread as a vLLM bug.
  • Re-run with VLLM_LOGGING_LEVEL=DEBUG and --enforce-eager. Eager mode removes CUDA graph capture from the set of possible causes in one step.
  • Raise the container shared-memory limit or run with host IPC when the failure appears during worker startup under tensor parallelism.
  • Replace the liveness probe with one that issues a real short completion, so an engine death evicts the replica instead of leaving it to absorb traffic.

Step-by-step remediation

  1. 1Scroll backwards from the EngineDeadError to the first traceback attributed to a worker or engine-core process.
  2. 2Run dmesg -T and look for an out-of-memory kill naming a Python process at the failure time. This case leaves no application traceback.
  3. 3A death on the first request points at kernel or quantization support; a death under load points at memory or concurrency.
  4. 4Re-run with --enforce-eager and VLLM_LOGGING_LEVEL=DEBUG.
  5. 5Change the liveness probe to issue a short completion so the orchestrator restarts a dead engine.

How to prevent it

  • Probe liveness through the inference path rather than the socket, and let the orchestrator restart on failure.
  • Ship the EngineCore subprocess logs to the same place as the API server logs; a cause that is only printed to a lost stream cannot be investigated after the fact.
  • Alert on the first 500 rather than on an error rate, because this failure takes the instance to a total loss immediately rather than degrading it.

Save this diagnosis and catch the next crash automatically

All root cause, fix, and prevention steps above are free to read. Create a free account with any email or GitHub to keep your saved diagnosis history across the encyclopedia and run cloud checks, or use a work email below for the 30-day Team evaluation. No card required.

Or start a 30-day free Team trial (work email)

Verified work email unlocks all 14 fleet diagnostic tools, Slack alerts, and team history for 30 days. No card and no automatic charge.

Use your company email, for example alex@yourcompany.com.

Who qualifies?

Company email domains activate the free 30-day Team evaluation (up to 50 diagnoses a day) after an email and domain check, whatever mail provider you use. If we cannot verify your domain automatically, support reviews it: write to support@denpex.com. Free local diagnosis in the editor extension needs no account.

Using a personal email (Gmail, Outlook, Naver, QQ) or solo cluster? Create a free $0 account (no work email required) to save 7-day history and unlock AI fallback, or send a cluster crash log for a live walkthrough.
Already have an account? Sign in

Searchable error signature

search key
ERROR: Engine core proc EngineCore_DP0 died unexpectedly, shutting down client.
vllm.v1.engine.exceptions.EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause.
INFO:     10.0.4.19:52344 - "POST /v1/chat/completions HTTP/1.1" 500 Internal Server Error

Use this text as a lookup key in logs and upstream issue trackers. It is not presented as a captured customer log. Confirm the cause from your own preceding events, versions, configuration and the cited references.

Diagnose your own log automatically

The root cause and fix steps above stay free. Create a free account to analyze full job logs, attribute the first failed rank, and keep saved incident history.

Sign up free. Analyze your cluster logs

No credit card. Daily allowance follows verified trust tier. Instant access.

Why the recommended fix works

Reading upward finds the exception raised where the failure actually occurred, which names a device, a limit or a timeout and therefore points at a specific change. Replacing the liveness probe fixes the second half of the problem: it converts a permanent silent outage into a restart, so a cause you have not diagnosed yet still stops costing traffic while you diagnose it.

Best practices by model family

Model / StackRecommendationNotes
Dies on the first requestCheck kernel support for the device and quantization formatA missing kernel image raises before any load-dependent condition can exist.
Dies under sustained loadCheck dmesg for an out-of-memory kill, then lower --max-num-seqsA kernel kill leaves no traceback, so the log alone looks like an unexplained death.
Dies during worker startup with tensor parallelismRaise container shared memory or use host IPCWorker IPC fails before the engine ever serves a request.
Any production deploymentLiveness probe issues a real completionA port check cannot distinguish a dead engine from a healthy one.

With the fix vs without the fix

DimensionWith the fixWithout the fix
What EngineDeadError tells youThat the child process is goneAssumed to be the root cause itself
Where the real error livesIn the EngineCore or worker output, above the messageAssumed to be absent because the message names no cause
Effect of a port-based health checkDead replica keeps receiving trafficAssumed the orchestrator will restart it

Diagnostic note

“The most commonly misdiagnosed variant is the one with no Python traceback anywhere. When the kernel out-of-memory killer reaps the subprocess, there is nothing above the EngineDeadError to read, and the absence of a cause gets reported upstream as a vLLM bug. Check dmesg before opening an issue; host memory pressure from a large tokenizer batch or a co-located process is a frequent culprit and has nothing to do with GPU memory.”

Visual fingerprint

Which process died, and which one answers you
  client  ->  API server process  ->  EngineCore process  ->  GPU
                   (alive)                 (dead)
                      |                       |
                      |                       +-- real traceback printed HERE, earlier
                      +-- EngineDeadError + HTTP 500 printed here, later
The API server outlives the EngineCore process. The exception that ended the engine is printed by the engine's own process before it exits, so it appears earlier in the log than the EngineDeadError the server reports afterwards.

Diagnose this failure in VS Code

Select the traceback or open the failed terminal, then run Denpex locally to inspect matched failure patterns, supporting evidence and next checks without uploading the log. Verify recommendations against your workload before changing production.

Install the free VS Code extension

vLLM errors in context

vLLM failures cross request, model, KV cache, worker, kernel and host boundaries. The hub compares common signatures and evidence checks that help distinguish possible causes.

Compare related vllm errors

Frequently asked questions

Questions engineers and on-call staff commonly ask about this failure.

The error says to see the stack trace above, but there is nothing above it.
That usually means the subprocess was killed rather than raising. Check dmesg for an out-of-memory kill; a kernel kill terminates the process without giving Python a chance to print anything.
Why does the server keep returning 500 instead of exiting?
The API server is a separate process and is still healthy. It has no model to serve with and no logic to restart the engine, so it reports the failure for every request until something restarts it.
It only happens under load. Is that a vLLM bug?
Usually it is memory. Check for an out-of-memory kill first, then reduce --max-num-seqs and --max-num-batched-tokens, which bound peak concurrency and activation memory.
How do I stop a dead instance from receiving traffic?
Make the liveness probe issue a real short completion instead of checking the port. A dead engine answers the port normally and fails the completion.

Don't just read the fix, diagnose your run

The encyclopedia explains documented failure patterns. Denpex investigates your logs, configuration and stack, shows the supporting evidence, and asks for missing details when needed.