Closed ahmetb closed 6 years ago
I reduced -n 10
to -n 5
, now instead of freezing at ~100 requests, it made it to 343 requests, only to segfault later:
Total 343 4(1.17%) 0.90
./loadgen.sh: line 10: 6 Segmentation fault (core dumped) locust --host="http://${FRONTEND_ADDR}" --no-web -c "${USERS:-10}" -r 10 -n 99999
Then after it restarted, now it's stuck again on 233 requests. :(
For posterity, my locustfile is here: https://gist.github.com/ahmetb/2645deefff78216933779eeb4043a5e2
After a bit of debugging and switching to python:3.6.6 image, this no longer reproduces. So I'm updating title to match that. Not sure why python:3.7.0 was causing this issue.
Currently, no one has verified Locust vs 3.7.0 and CI isn't run vs it.
Hi, I've been using locust to generate some load to for a demo application.
Description of issue
For some reason, after sending a few requests, locust decides to stop doing that.
UPDATE: Switching to python3.6.6 from 3.7.0 does not exhibit this issue.
I was keeping locust version and all the same and my HTTP endpoints still work just fine when I call them manually, locust started to freeze.
I run locust with parameters:
and monitor its output via standard output.
Expected behavior
Locust should continue to run forever since
-n
is not specified.Actual behavior
Locust freezes and logs (stdout) stop showing any progress.
my HTTP endpoint is healthy and up, I manually verify this
This used to work, but in the past few days locust started to freeze and stop sending requests
I sometimes see "segmentation fault" in the stderr and my container restarts:
./loadgen.sh: line 10: 6 Segmentation fault (core dumped) locust --host="http://${FRONTEND_ADDR}" --no-web -c "${USERS:-10}"
Logs from locust container:
Environment settings (for bug reports)
python:3
docker container)Steps to reproduce (for bug reports)
I'm not sure if I can provide any good repro of this. :( My HTTP endpoint works just fine manually, but Locust stops sending requests.
EDIT: uploaded my locustfile.py here: https://gist.github.com/ahmetb/2645deefff78216933779eeb4043a5e2