-
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
Response time graph does not work for distributed configuration #1984
Comments
The last log line indicates that your workers are overloaded. Can you share your locustfile? Are you maybe doing some heavy calculations or using a bad (not gevent-friendly) client? |
@cyberw, thanks for your reply and sorry that I cannot simply share the locust file. |
XML parsing may be a little too heavy to do in-process. See if you can do the loading of xml without blocking the worker, or maybe switch to a faster xml parser. Maybe locust has gotten more sensitive to worker overload, but without more info it is impossible to know. Sorry, but you are on your own here... |
Just would like to keep this issue updated with the root cause found earlier and close this issue. I believe that the problem here is mainly about the master VM which is still unclear why it is caused and some of the communication from worker are being dropped, so the statistics is not accurate. The solution afterward is that someone was upgraded the BIOS for this on-prem cluster and restarted all machines in cluster, then the whole thing became normal... |
Describe the bug
The response time graph is only available for first few seconds, and shows no data afterward.
The statistics page shows that all response time data are normal.
The JSON returned from master shows that the current_response_time_xxxx fields are in null
The symptome looks exactly the same as this old issue #1182
Expected behavior
The response time should keep displaying and not in no data.
Actual behavior
No explicit error log or exception found on the locust master log and also the browser console log.
Steps to reproduce
Update locust to latest version
Deploy in master workers configuration on kubernetes
Environment
The text was updated successfully, but these errors were encountered: