Skip to content

Conversation

@sergii-volokh
Copy link
Contributor

This PR fixes:

  • zeromq socket synchronization: the socket is not thread safe, but two threads (Runner#Sender and Runner#Receiver) may send messages concurrently; this bug led to silent zmq connection termination and then heartbeats timeout;
  • 'spawning_complete' message is not "valid 'spawn' message";
  • locust master expects 'user_count' instead of 'count' in 'spawning_complete';
  • add current memory usage stats to heartbeats;
  • a bit of cosmetics on threads names.

@sergii-volokh sergii-volokh changed the title ZeroMQ socket synchronization and spawning_complete and several cosmetic fixes ZeroMQ socket synchronization, spawning_complete and several cosmetic fixes Feb 13, 2025
@sergii-volokh sergii-volokh changed the title ZeroMQ socket synchronization, spawning_complete and several cosmetic fixes Draft: ZeroMQ socket synchronization, spawning_complete and several cosmetic fixes Feb 13, 2025
@sergii-volokh
Copy link
Contributor Author

For the moment: connection hangup still reproducible... looking for root cause...

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

Successfully merging this pull request may close these issues.

1 participant