Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to setup uwsgi to use pypy following what is posted here, using the build PyPy support as a plugin method.

http://uwsgi-docs.readthedocs.org/en/latest/PyPy.html

I have seemed to manage to build the pypy plugin using:

Linux x86 64-bit: http://projects.unbit.it/downloads/pypy/libpypy-c-x86_64_20130524.so

Now I'm running uwsgi with this ini file below:

[uwsgi]
plugins = /home/alphad/uwsgi-2.0/pypy
http = :8080
chdir = /var/www/projecta/src/myproject
pypy-pp = ..
env = DJANGO_SETTINGS_MODULE=myproject.settings
processes = 6
master=true
disable-logging = false
catch-exceptions = false
post-buffering = 8192
vacuum = true
listen = 120
pypy-home = /home/alphad/pypy-2.2.1-linux64/
pypy-lib = /home/alphad/pypy-2.2.1-linux64/lib_pypy/libpypy-c.so
pypy-wsgi-file = myproject/apache/django.wsgi

It seems to be detecting pypy, but also it's trying to use python, so it stops/crashes with the following error:

!!! Loading both PyPy and CPython in the same process IS PURE EVIL AND IT IS NOT SUPPORTED !!!

How can I get uwsgi to properly run using PYPY? I'm not trying to be evil...

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

Rebuild your uWSGI server without the python plugin embedded.

make PROFILE=nolang

will do the trick

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.