I am currently running a Selenium Grid 2 with more than 50 nodes registered . After some time the hub becomes unresponsive and has a very hard time to serve the back and forth communication (http requests) with the nodes. I read here this :
Relly large (>50 node) Hub installations may need to increase the jetty threads by setting -DPOOL_MAX=512 (or larger) on the java command line.
So my question is, how can I increase the Jetty threads and from where?