Starting process and use too much cpu resource.
kdw9502 opened this issue ยท 3 comments
1. Describe the bug ๐
Starting process, worker use too much cpu resource. Starting many processes sometime cause agent lost or other problems.
2. Reproduction steps
-
Make test with 10 process, set ramp up with 2 incremental step, Interval 10000ms
-
Run agent on windows 10
-
Run test
-
In Task Manager, CPU usage is 100% for every ramp up.
3. Environment
- Controller
- OS: CentOs 3.10.0
- Browser:
- JDK version: openJDK jdk-15.0.1
- Controller version: 3.5.3
- Agent
- OS: Windows Server 2019
- JDK version: openJDK jdk-15.0.1
- Agent version: 3.5.3
4. Screenshots
In the process of creating a new worker processes for testing, you can use a lot of CPU for a little while.
Did you actually have some problem like agent loss or other in preparing phase?
- How many CPU cores do you have?
- Do your script do some job in @BeforeThread (sth like loading files?)
I found that some problems only occrus with python script test, not due to cpu usage.