Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPU stress test: process stopped #237

Open
yzq opened this issue Mar 13, 2023 · 2 comments
Open

CPU stress test: process stopped #237

yzq opened this issue Mar 13, 2023 · 2 comments

Comments

@yzq
Copy link

yzq commented Mar 13, 2023

CPU stress test by chaosd or chao-mesh,it failed. the log is as follow

[2023/03/13 14:25:11.663 +08:00] [INFO] [stress.go:88] ["stressors normalize"] [arguments=" --cpu-load-slice 10 --cpu-method sqrt --cpu 8 --cpu-load 70"]
[2023/03/13 14:25:11.664 +08:00] [INFO] [stress.go:109] ["Start stress-ng process successfully"] [command="/usr/local/chaosd-latest-linux-amd64/tools/stress-ng --cpu-load-slice 10 --cpu-method sqrt --cpu 8 --cpu-load 70"] [Pid=42869]
2023-03-13T14:25:11.669+0800 INFO background-process-manager bpm/bpm.go:247 process stopped {"uid": "67858a36-caca-4bf7-a5ef-a9590cdcbda8", "pid": 42869}
[GIN] 2023/03/13 - 14:25:11 | 200 | 26.21323ms | 10.15.17.108 | POST "/api/attack/stress"
[2023/03/13 14:28:11.041 +08:00] [WARN] [stress.go:122] ["Failed to get process"] [error="process does not exist"]
[GIN] 2023/03/13 - 14:28:11 | 200 | 4.918973ms | 10.15.17.108 | DELETE "/api/attack/f66776ff-6843-4127-9d5d-3d9f17b92dd8"

@nikitasavchenko555
Copy link
Contributor

@yzq , Hi!

Please, write command that caused the error

@yzq
Copy link
Author

yzq commented Mar 13, 2023

@nikitasavchenko555
./chaosd attack stress cpu --workers 8 --load 70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants