-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Locust freezes after a while (python 3.7) #843
Comments
I reduced
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. |
python3.7 is causing lockup in locust. See locustio/locust#843 Signed-off-by: Ahmet Alp Balkan <[email protected]>
python3.7 is causing lockup in locust. See locustio/locust#843 Signed-off-by: Ahmet Alp Balkan <[email protected]>
python3.7 is causing lockup in locust. See locustio/locust#843 Signed-off-by: Ahmet Alp Balkan <[email protected]>
python3.7 is causing lockup in locust. See locustio/locust#843 Signed-off-by: Ahmet Alp Balkan <[email protected]>
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:
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
The text was updated successfully, but these errors were encountered: