mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-24 05:45:11 +00:00
WorkerKill returned once the victim's main thread was a zombie. On Linux the process keeps its sockets open until its last thread exits, so a pooled keep-alive connection to the killed worker still looked idle and the next request through it got ECONNRESET. A zombie now counts as gone only once num_threads() is at most 1. Where psutil cannot read threads of a zombie (macOS) it raises ZombieProcess, a NoSuchProcess, so the old behavior holds |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_budget.py | ||
| test_database_relay.py | ||
| test_ordering.py | ||
| test_process.py | ||
| test_routing.py | ||
| test_sdk_models.py | ||
| test_sharding.py | ||
| test_timing.py | ||
| test_translation.py | ||
| test_upstream.py | ||
| test_workers.py | ||