Skip to content
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 stuck in hatching state #146

Closed
sanga opened this issue Apr 29, 2014 · 13 comments
Closed

locust stuck in hatching state #146

sanga opened this issue Apr 29, 2014 · 13 comments
Labels

Comments

@sanga
Copy link
Contributor

sanga commented Apr 29, 2014

we're not quite sure how we got into this state but in any case, our locust is currently stuck in hatching state. I've clicked stop and it's still hatching (with statistics updating). Also starting a new test seems to not have any effect.

I'll try to see if I can figure a minimal set of steps to repro this, but in the mean time any ideas on how to debug this? Wild stab in the dark, but perhaps it's something like:

  • hit stop
  • locust starts stopping
  • start a new run whilst locust is still telling it's slaves to shut down?
@heyman
Copy link
Member

heyman commented Apr 29, 2014

Hmm, is the problem consistent (does it happen again if you kill alla locust nodes and try again)? How many slave nodes are you running?

@sanga
Copy link
Contributor Author

sanga commented Apr 29, 2014

killing the locust master and slaves and restarting them all fixed the problem.

@heyman
Copy link
Member

heyman commented Apr 29, 2014

Okay. I've seen similar stuff happen on at least one occasion.

I would like to add some kind of heartbeat messages that are sent periodically from the slaves to the master, with the slave's current status. That could be used to display the status of slave nodes, and could probably help in debugging similar issues.

@sanga
Copy link
Contributor Author

sanga commented Apr 29, 2014

Sounds reasonable. I'll in any case have a crack at reproing this to see if
I can figure anything out

On Tue, Apr 29, 2014 at 5:50 PM, Jonatan Heyman notifications@github.comwrote:

Okay. I've seen similar stuff happen on at least one occasion.

I would like to add some kind of heartbeat messages that are sent
periodically from the slaves to the master, with the slave's current
status. That could be used to display the status of slave nodes, and could
probably help in debugging similar issues.


Reply to this email directly or view it on GitHubhttps://github.com//issues/146#issuecomment-41685439
.

@sanga
Copy link
Contributor Author

sanga commented Apr 30, 2014

Actually seems like just clicking stop whilst in hatching is enough to trigger this. Somehow stopping whilst in the hatching state is not working for us.

@sanga
Copy link
Contributor Author

sanga commented Apr 30, 2014

Seems like the stop event doesn't get through somehow, as:
a) I click stop, the stop button disappears, but stats continue to update
b) I refresh the browser, the stop button reappears
c) goto a

@sanga
Copy link
Contributor Author

sanga commented Apr 30, 2014

also, I happen to be running only with a single master (no slaves) at the moment, so it's not related to master-slave comms

@heyman heyman added the bug label May 9, 2014
@xuedm2016
Copy link

I met the same issue, have any plan to fix it?

@DmitryMarkovnikov
Copy link

The same here on master - slave config

@max-rocket-internet
Copy link
Contributor

Any update on this? Or how to debug it? Or how to work around it?

Many times I see the load test is STOPPED:

Screen Shot 2019-08-16 at 11 54 44

But all slaves are still hatching:

Screen Shot 2019-08-16 at 11 54 53

@cyberw
Copy link
Collaborator

cyberw commented Oct 18, 2019

@max-rocket-internet Does this happen all the time? Could it be something related to your test plan? Or maybe it is related to the high number of slaves?

@heyman
Copy link
Member

heyman commented Nov 1, 2019

@max-rocket-internet Do you see any exceptions (not originating from your test code) in any of the slave processes or the master process? Any client side javascript errors?

@max-rocket-internet
Copy link
Contributor

@heyman, sorry I just deleted a message where I was mistakingly using an old locust version.

For me, this issue is resolved. I think we can close it 🙂

@cyberw cyberw closed this as completed Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants