by samuraixp · 9y ago · 0 comments
I tried this one for example but it just crashes randomly when the jobs are running: https://github.com/AkeemMcLennon/docker-selenium-node-phanto...
The latest 2.5.0 beta doesnt have the updated ghostdriver yet.
How much ram does chrome --headless use (true headless not XvfB), because I want to run about 200 of these in parallel and keeping the ram down is important obviously.
Does anyone have any suggestions? I figure by using selenium grid I can run them in docker containers and even on multiple hardware machines.
Currently, I am running about 50 in parallel with Magellan https://github.com/TestArmada/magellan
But its hitting some kind of system limits or sync issues because each process is started before run time rather than ready and waiting in a pool.
Any help on running 200 headless browsers via selenium grid would be greatly appreciated. I think the current selenium chrome Xvbf docker container uses like 300mb+ per instance so that would be 60gb of ram which is a fair bit.
I forked the binary from https://mecrazy.net/2016/06/06/i-built-phantomjs-2-1-1-for-r...
it's available here: https://github.com/ShamariFeaster/phantomjs-binaries