Launch of Selenium Grid 2 with 200 knots. How to increase Jetty threads?
I am currently running a selenium mesh 2 with over 50 nodes registered. After a while, the hub becomes unresponsive and has a very difficult time serving feedback (http requests) from the nodes. I read here :
Relatively large (> 50 node) Hub installations may need to increase jet streams by setting -DPOOL_MAX = 512 (or more) on the java command line.
So my question is, how can I increase Jetty streams and from where?
source to share
The posting here is for people looking to scale their selenium grid.
DPOOL_MAX is no longer valid and documentation needs to be updated. Not sure if the last parameter was used in selenium-server-standalone.jar. You will need to set jettyThreads or jettyMaxThreads to get the new value.
For example -
java -jar /opt/selenium/selenium-server-standalone.jar -role hub -jettyThreads 512
If not specified, the default Jetty 200 will be used.
-jettyThreads, -jettyMaxThreads: Maximum number of threads for Jetty. An undefined, zero, or negative value means the Jetty default (200) is used.
You can learn about other options by going to help -
java -jar selenium-server-standalone-3.4.0.jar -role hub -help
source to share