Closed brunojs02 closed 1 year ago
How can we reproduce the issue?
How can we reproduce the issue?
You can use this project https://github.com/brunojs02/visa_rescheduler/tree/issue-selenium at branch issue-selenium
I started the script and so far I do not see any high usage that remains for that long. Have you analyzed the running processes to determine which one is using all the CPU?
for how many hours did you run the application?
About 1.5 hours. Did you analyze the processes and found the one who is consuming the most?
I think 1.5 hours isn’t enough, some scenarios the time that cpu increased was higher than 5 hours. And yes, i had analyzed and the selenium container was responsible for the cpu usage, the python didn’t consume much cpu
Right, but the Selenium container has several processes running, and since I cannot reproduce the issue, hints from your side pointing the process inside the container that is using lots of CPU would be helpful to triage this issue. Thank you.
Ok, I’ll run it again and after that, I return with more infos
I found the process with highest cpu usage, its x11vnc
with ≅ 90%
I guess the alternative would be to create an environment variable to disable VNC in the containers. With that Xvfb would still run but VNC won't be started.
Is that something that would work for you? If so, do you think you can help us implement that?
I would love to contribute to disable VNC startup, but i have no idea how to.. can you describe how these images works?
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
What happened?
I'm running a container with image
selenium/standalone-chrome:latest
, and this container is used by other python app container. After some hours runing, the cpu usage increase to 100% and keep it until i restart the containerCommand used to start Selenium Grid with Docker
Relevant log output
Operating System
CentOS 7 - Digital Ocean
Docker Selenium version (tag)
latest