docker-selenium icon indicating copy to clipboard operation
docker-selenium copied to clipboard

[🐛 Bug]: Distributor and router pods do not release memory

Open DmiDvor opened this issue 6 months ago • 1 comments

What happened?

Hi. Deployed a new version of Selenium Grid 4.32.0. Tested for several days. The distributor and router pods increase memory usage when starting new tests. But the memory is not released back when the tests are finished. Is the garbage collector not working? Another question: if I deploy 2 pods for both the distributor and router, will it help to save fault tolerance? If one pod is stopped by OOM-killer, will the second pod continue the execution of what the first pod was doing?

Image

Command used to start Selenium Grid with Docker (or Kubernetes)

helm

Relevant log output

---

Operating System

k8s

Docker Selenium version (image tag)

4.32.0

Selenium Grid chart version (chart version)

0.43.2

DmiDvor avatar May 22 '25 10:05 DmiDvor

@DmiDvor, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

github-actions[bot] avatar May 22 '25 10:05 github-actions[bot]

A router can enable 2 replicas. In release 4.35.0, there is an improvement in Distributor, can you try and monitor the memory usage of it?

VietND96 avatar Aug 17 '25 17:08 VietND96