-
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
Workers go down with message: failed to send heartbeat, setting state to missing. #1843
Comments
@roquemoyano-tc You need to provide the complete logs from both the master and at least one of the workers. Share them as gists as to not paste wall of logs in this issue. |
sorry, in this link are the master and worker logs https://gist.github.com/roquemoyano-tc/f23dc4a4c8c17da30fa6c101c55a0ad9 |
Can you explain the "custom" entries in the slave log? Also attach your locustfile. |
|
Will attach the locust file soon. |
Start by updating locust. I dont know a specific bug in this area, but I dont want to spend time solving what might already have been solved :) |
Ah, that might be key. That blog post speaks specifically about passing extra info from master to slave, and it could (theoretically at least) interrupt the normal locust communication. There is a new way to do that, using custom messages https://docs.locust.io/en/stable/running-locust-distributed.html?highlight=custom#communicating-across-nodes Try that instead. |
@amaanupstox You're using a grpcclient? Make sure you have patched it to be gevent-friendly, like in the example in the docs: https://docs.locust.io/en/latest/testing-other-systems.html#example-writing-a-grpc-user-client |
@cyberw can you please let me know which server here is
locust server or gRPC service hosted server? |
That is the grpc service used as a dummy target for the test. It is not something you would launch in a real test. |
The original issue was resolved once I switched to using custom messages. Thanks! |
Describe the bug
every time that I run locust I'm always getting: locust-worker-xxxx failed to send heartbeat, setting state to missing.
Expected behavior
worker in running status
Actual behavior
I'm using the oficial helm chart to run locust, when I run the python code after some time the workers changes their status to missing and I'm not able to finish running the test.
Environment
The text was updated successfully, but these errors were encountered: