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

Python Crash when running with slaves #156

Closed
reistiago opened this issue May 13, 2014 · 10 comments
Closed

Python Crash when running with slaves #156

reistiago opened this issue May 13, 2014 · 10 comments

Comments

@reistiago
Copy link

Python crashes, a popup appears with: "python quit unexpectedly while using the libzmq.so plug-in."

On terminal:
Permission denied (bundled/zeromq/src/stream_engine.cpp:785)
Abort trap: 6

Versions

  • OS: 10.9.2
  • Python: 2.7.5
  • Locust 0.7.1
  • pyzmq 14.3.0
@heyman
Copy link
Member

heyman commented May 13, 2014

What version of ZeroMQ do you have? You can check it by typing the following in a python shell:

import zmq
zmq.zmq_version()

@reistiago
Copy link
Author

zmq - '4.0.4'

@heyman
Copy link
Member

heyman commented May 16, 2014

Hm, okay.

I've seen strange issues with python packages and other libs that had been compiled before upgrading to OSX Mavericks (10.9). I would try to re-install the following:

python, libevent, zmq, locust

And see if that fixes it.

@reistiago
Copy link
Author

Reinstalled everything, still the same error.

@heyman
Copy link
Member

heyman commented May 19, 2014

Hmm, okay. Have you tried starting it as root (since the error message said "Permission denied")?

@reistiago
Copy link
Author

Tried with root, same result.

@reistiago
Copy link
Author

Another detail, this doesn't happen when it starts to run, it happens after running successfully for a while.

@heyman
Copy link
Member

heyman commented May 21, 2014

Okay, does it happen every time? How long before it happens (apporximately). How many slaves are you using. What's the number of requests/second?

Basically, any detail that could potentially help reproducing the issue :).

@reistiago
Copy link
Author

I would say every time. Shortly after reseting stats. between 1 to 3
slaves. Always more then 2000 requests / second.

If you need me to do some trials let me know.

On Wed, May 21, 2014 at 11:08 AM, Jonatan Heyman
[email protected]:

Okay, does it happen every time? How long before it happens
(apporximately). How many slaves are you using. What's the number of
requests/second?

Any detail that could help reproducing the issue would be great :).


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

Tiago Reis

@heyman
Copy link
Member

heyman commented Jun 24, 2014

Have you checked the maximum number of open files? You might need to increase it. On OSX, I believe you can check it using: launchctl limit

@Jahaja Jahaja closed this as completed Dec 6, 2014
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

3 participants