vllm-project / vllm-project/production-stack
bug: potential rotuer memory leak
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 503
- Avg merge
- 4d 17h
- Merged PRs (30d)
- 8
Description
Describe the bug
I found that router image memory utilization will steadily go up by running long stability tests. The test is performed using RoundRobin strategy thus no HashTrie and HashTrie nodes are created.
To Reproduce
- Deploy the router image on EKS connecting to a bunch of existing model servers, use the round robin routing strategy
- Enable the EKS container insights thus we can check the pod memory utilization
- Start the long-running benchmark test against the router image endpoint. Currently our test traffic is very predictable and steady. E.g 100 concurrent request. And every user will ask 5 questions. The input context is selected from a fixed pool.
- Check the memory usage of the route pod. You will identify the steady trend of memory usage going up
Expected behavior
The memory usage should go up and down. The usage should be around a baseline per testing.
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the long-running benchmark against the router on EKS with RoundRobin routing and monitor pod memory through container insights. Inspect the router's request and routing lifecycle for objects retained across steady traffic, comparing memory behavior with the fixed input pool. Done means memory returns toward a stable baseline instead of steadily increasing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, kubernetes, python
- Domain
- backend, cloud, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100