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 slaves slowing dying and then coming back to life? #190

Closed
ghost opened this issue Aug 21, 2014 · 3 comments
Closed

Locust slaves slowing dying and then coming back to life? #190

ghost opened this issue Aug 21, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 21, 2014

So I was running a load test with 10 locust slaves and I was monitoring their CPU activity with top. At the beginning of the load test, all slaves were active. Then they went "down" one by one (i.e., their CPU activity went to 0%) until only 1 was alive and active. And after 30 seconds, they all came back to life (i.e., positive CPU activity).

I ran this several times and it happened each time.

My setup is very simple:

  • API on server A
  • Redis database on server B
  • locusts (master + 10 slaves) on server B

The slaves query the API through a HTTP POST request. They input a key and get a value in return.

Other remarks:

  • server B has 16 cores
  • CPU activity of Redis was low

I don't understand what was going on. Is it possible that the network caused this? What else could cause such a behaviour? (a bug in the API?)

@heyman
Copy link
Member

heyman commented Sep 6, 2014

Hi!

Hmm, hard to tell what might be wrong without more info.

Do you see any errors in the slave's output/log?
How many users were you simulating?
Have you increased the maximum number of open files/sockets (what does ulimit -a say?)?
Do you have some firewall that might have temporary stopped the requests?

@heyman
Copy link
Member

heyman commented Sep 24, 2014

Any update on this?

@ghost
Copy link
Author

ghost commented Oct 2, 2014

I am closing this ticket as I am not able to reproduce the problem. Thank you for your help.

@ghost ghost closed this as completed Oct 2, 2014
This issue was closed.
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

No branches or pull requests

1 participant