Closed Evolutiounx closed 2 years ago
@Evolutiounx GGR always send exactly 1 new session request per host. So Ggr is not the cause of this behaviour.
You're right, I started the script using only an individual machine with just selenoid without ggr and the same problem persisted. Then I tried to disable the video recording function and now the problem is gone, it seems it was the video recording that was uploading/downloading 100Mb of data per second and using 50% of the CPU. Do you by any chance have any idea on how to fix that? Video is handy for debugging, it's not the end of the world but would be nice if I would be able to have it back without the issue.
@Evolutiounx you can try to decrease screen resolution or frame rate using Selenoid capabilities. But we recommend to record videos for failed test cases only.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi, so my problem is, I was using one selenoid server with all working fine and then decided that I needed to scale it so I created several other servers that also have selenoid servers running. So I've setup ggr on machine 1 and have machine 1, machine 2 and machine 3 running selenoid and selenoid-ui. And when I start my selenium script it creates the sessions evenly across all the machines, the problem is that instead of only creating one node I think it's creating two, when I look into the selenoid panel and in the docker logs I see there that only one session was created but when I look into the docker containers running I see this:
The one underlined in blue I think it is the node created for the session but it also created the one highlighted in red that is consuming the whole CPU and is receiving a ton of data from the container underlined in blue I believe, since the amount of data sent by blue matches the amount of data received by red, as we can see in the "NET I/O" stats, I have no idea what that is but I would want that container that is being created underlined in red to not show since instead of being able to run around 30 sessions at the same time I would only be able to start 2 with some luck because of how much CPU it is consuming.
This is my xml config:
I used that commands to start selenoid: ./cm selenoid start --args "-limit 30"
And this one to start selenoid-ui and link the ggr-ui to it: docker run -d --name selenoid-ui -p 8080:8080 aerokube/selenoid-ui:latest-release --selenoid-uri http://[IP OF MACHINE 1]:8888