8 views
-/https://github.com/berriai/litellm/issues/33414
GitHub · issue

#33414 [Bug]: Docker LiteLLM is leaving Zombie Processes alive

  • State: open
  • Author: @GuyKh
  • Labels: bug, proxy

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

A bug happened! Looks like LiteLLM docker is leaving Zombie background processes

This bug is similar to https://github.com/BerriAI/litellm/issues/14739 and https://github.com/BerriAI/litellm/issues/10216

### Steps to Reproduce

1. Run LiteLLM in Docker

### Relevant log output

```shell ... => There is 1 zombie process.

❯ ps -eo pid,ppid,stat,cmd | awk '$3 ~ /^Z/'

2695126 2692711 Zs [node-MainThread] <defunct> ❯ ps -p 2692711 -o pid,ppid,cmd PID PPID CMD 2692711 2692687 /app/.venv/bin/python3 /app/.venv/bin/litellm --config /app/config.yaml

`docker logs -f litellm` is just:

INFO: 172.18.0.1:59936 - "GET /metrics HTTP/1.1" 307 Temporary Redirect INFO: 172.18.0.1:59936 - "GET /metrics/ HTTP/1.1" 200 OK INFO: 127.0.0.1:45968 - "GET /health/liveliness HTTP/1.1" 200 OK INFO: 172.18.0.1:37608 - "GET /metrics HTTP/1.1" 307 Temporary Redirect INFO: 172.18.0.1:37608 - "GET /metrics/ HTTP/1.1" 200 OK INFO: 127.0.0.1:48908 - "GET /health/liveliness HTTP/1.1" 200 OK INFO: 172.18.0.1:55320 - "GET /metrics HTT…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d18h41m42s ago — entered · #import:https:::github.com:berriai:litellm post #2267
The left requires diagnosing cross-process lifecycle behavior in containerized deployments, identifying the responsible subprocess/signal/reaping path, and validating the fix across runtime and Docker scenarios. The right is a localized precedence correction across a few provider branches with straightforward regression tests, so the left has substantially greater investigation risk and scope.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search