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

after set users and hatch rate, app crashed #18

Closed
jetgeng opened this issue Dec 18, 2017 · 1 comment
Closed

after set users and hatch rate, app crashed #18

jetgeng opened this issue Dec 18, 2017 · 1 comment

Comments

@jetgeng
Copy link

jetgeng commented Dec 18, 2017

i have 13 slave, and when i set user to 1300 and hatch rate to 20, them my app which boomer crashed 。 give me some information as below:

2017/12/18 17:19:41 runner.go:56: Hatching and swarming 12 clients at the rate 0 clients/s...
panic: runtime error: integer divide by zero

goroutine 22 [running]:
github.com/myzhan/boomer.(*runner).spawnGoRoutines(0xc42012f6e0, 0xc, 0xc42013c120)
        /Users/jet/GoPath/src/github.com/myzhan/boomer/runner.go:73 +0x646
github.com/myzhan/boomer.(*runner).startHatching(0xc42012f6e0, 0xc, 0x0)
        /Users/jet/GoPath/src/github.com/myzhan/boomer/runner.go:122 +0x13f
github.com/myzhan/boomer.(*runner).getReady.func1(0xc42012f6e0)
        /Users/jet/GoPath/src/github.com/myzhan/boomer/runner.go:169 +0x2c2
created by github.com/myzhan/boomer.(*runner).getReady
        /Users/jet/GoPath/src/github.com/myzhan/boomer/runner.go:179 +0x68
[jet@localhost perforceTest]$ ./transfer-benchmark_linux_amd64    --master-host=127.0.0.1 --master-port=5557  --rpc=zeromq
@myzhan
Copy link
Owner

myzhan commented Dec 18, 2017

I can't reproduce this problem, because locust doesn't send message to boomer that hatch rate is zero. Which version of locust did you used?

image

@myzhan myzhan closed this as completed Apr 10, 2018
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