> > > hi: > Noe one else encountered the same problem to user wait_fd_read api in > gevent mode? > maybe I should list my uwsgi config, and I use monkey.patch_all() at > the first line in my wsgi file > > > socket = 127.0.0.1:9996 > master = true > wsgi-file =app.py > processes = 1 > gevent = 100 > lazy-apps = true > max-requests = 10000 > listen = 100 > daemonize =uwsgi.log > plugins-dir = /usr/lib/uwsgi > plugin = python27,gevent > >
hi, you cannot mix the uWSGI async api, with the gevent one. When you enable the gevent loop engine you have to use the gevent api. Even the uWSGI internal blocking c functions are remapped to gevent ones. -- Roberto De Ioris http://unbit.com _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
