vllm-project / vllm-project/production-stack

bug: potential rotuer memory leak

Open
#707 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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.

Image
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.