Low concurrency[🐛 Bug]:
See original GitHub issueWhat happened?
V4 grid node utilization is very low compared to V3. In V3 if you had 100 grid nodes ready and registered to the hub and then ran 100 tests in parallel, all 100 grid nodes was immediately put to work but in V4 you can do the same and see only about 12 nodes being utilized. 88 nodes never got tests routed to them. Note: that the queue in this scenario is 0.
Setting a higher “–max-threads” value has no effect and actually we cannot see this parameter being used in the selenium code at all?
How can we reproduce the issue?
We see this consistently with V4.1.2 using java openjdk 11 and latest TestNG. We ruled out TestNG as the issue and verified that when requesting 100 tests in parallel on an empty grid, the queue immediately went to 100.
The grid is started as distributed, hub and nodes on separate AWS VM's.
Relevant log output
Full logs of this event are very large, will try to attach in comments...
Operating System
Ubuntu 20.04
Selenium version
Selenium v4.1.2
What are the browser(s) and version(s) where you see this issue?
Chrome 96
What are the browser driver(s) and version(s) where you see this issue?
96.0.4664.45
Are you using Selenium Grid?
4.1.2
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
Common Concurrency Problems - cs.wisc.edu
More recent work focuses on studying other types of common concurrency bugs (i.e., non-deadlock bugs). In this chapter, we take a brief look...
Read more >What are concurrency bugs? - Quora
A concurrency bug is an (undesired) outcome that arises if two programs are run at the same time that does not show up...
Read more >Concurrency bugs in open source software: a case study
This paper presents an empirical study focusing on understanding the differences and similarities between concurrency bugs and other bugs, ...
Read more >Lazy Diagnosis of In-Production Concurrency Bugs
Lazy Diagnosis does not rely on sampling, which leads to low root cause diagnosis latency (i.e., it can quickly diagnose bugs). We implemented...
Read more >A survey of concurrency bugs - Cove Mountain Software
This post surveys common concurrency related bugs and outlines ... then when the lower priority code executes again, the shared data may be ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We have fixed this in 4.5.3 but wanted to wait until 4.6 to double check. Closing.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.