1

I need to run 1000 selenium instances for my project.

Every chrome session eats up 300-500mb memories, that means 300-500gb memories in total. My plan is to buy 3 servers with 128gb memories to run it.

I have already bought a second-hand server(cpu: Xeon E5670x2, ddr3 144gb) for the testing. and set 35 nodes in the server, set maxinstances to 10 for every node. so the plan is to bring up 350 instances in this server.

The problem now is the CPU already reached to 100% when the server runs about 100 instances.

I have already tried below things:

1, chrome headless

2, disable images

3,
optionChrome.AddArgument("--disable-dev-shm-usage"); optionChrome.AddArgument("--no-sandbox"); optionChrome.AddArgument("--headless"); optionChrome.AddArgument("--disable-gpu"); optionChrome.AddArgument("--disable-infobars");

What can I do next to improve the performance?

ktoya
  • 23
  • 4

0 Answers0