Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
gc refcount related crash when loading web UI under Python 2.6.6 #49
Running under Python 2.6.6 (Centos 6.3) I get the following crash as soon as I try and load the web UI. This seems to work fine using Python 2.7.3 as an altinstall on the same host. I have seen this on two different Centos 6.3 hosts...
That sounds really strange. We've run Locust fine for countless hours under different 2.6.x versions.
Since I haven't experienced this myself I did quick google and for some this issue is caused by too aggressive compilation options when building the Python interpreter.
I was able to reproduce the problem using a minimal centos 6.3 installation on a VM. As well as using the python version that's shipped with it.
It seems to be related to gevent. Updating gevent to 1.0rc2 seems to solve the problem. So that should be a work-around for now.
referenced this issue
Jan 8, 2013
Would you please provide some more details on the fix, I have tried this and it does not appear to help - here's what I've done:
$ uname -a
$ which python
$ yum install c-ares-devel
Also, from this post, it appears locust's use of gevent is not compatible with 1.0rc2: