I'm trying to start up a uwsgi server hosting a gevent application on Linux
ubuntu 3.5.0-17.

I used to default ubuntu uwsgi which is version 1.4.5 and the default pip
gevent.

When I start uwsgi like this
uwsgi --gevent 10 --socket :3032 --virtualenv /opt/auth --chdir /opt/auth
 --module auth --callable app

This is the results I get

*** Starting uWSGI 1.4.5 (64bit) on [Sat Feb  2 11:11:59 2013] ***
compiled with version: 4.7.2 on 01 February 2013 15:54:47
os: Linux-3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012
nodename: ubuntu
machine: x86_64
clock source: unix
detected number of CPU cores: 1
current working directory: /opt/auth
detected binary path: /opt/auth/bin/uwsgi
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
*** WARNING: you are running uWSGI without its master process manager ***
your processes number limit is 7763
your memory page size is 4096 bytes
detected max file descriptor number: 1024
- async cores set to 10 - fd table size: 1024
lock engine: pthread robust mutexes
uwsgi socket 0 bound to TCP address :3032 fd 3
Python version: 2.7.3 (default, Sep 26 2012, 21:53:55)  [GCC 4.7.2]
Set PythonHome to /opt/auth
Python main interpreter initialized at 0x11d8900
python threads support enabled
your server socket listen backlog is limited to 100 connections
mapped 162064 bytes (158 KB) for 10 cores
*** Operational MODE: async ***
WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x11d8900 pid:
42086 (default app)
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI worker 1 (and the only) (pid: 42086, cores: 10)
*** running gevent loop engine [addr:0x45d710] ***
uWSGI requires at least gevent 1.x version


If I look at the version of gevent which pip gave me it's 0.13.8 which is
the latest according to the gevent website.  Why is uwsgi looking for 1.x
version :

        if (PyInt_AsLong(PyTuple_GetItem(gevent_version, 0)) < 1) {
                uwsgi_log("uWSGI requires at least gevent 1.x version\n");
                exit(1);
        }

Did the gevent versioning change scheme change at some point and uwsgi
is not up to date with that change ?


 - Oddur
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to