Hi, Why uWSGI? I dont understand. I am trying to run bottle with the gevent loop with pypy2.
I mean my code simply works if I run with built in server Here is my entry point in bottle: if __name__ == *"__main__"*: # Interactive mode run(host=*'localhost'*, port=8049,debug=True) #,reloader=True else: # Mod WSGI launch os.chdir(os.path.dirname(__file__)) application = default_app() uwsgi: pidfile: /var/run/pixel.pid loop: gevent gevent: 20 b: 32768 listen: 1024 socket: 127.0.0.1:8030 processes: 4 master: true enable-threads: true pypy-lib: /opt/pypy/bin/libpypy-c.so logto2: /tmp/pixel.log touch-reload: /var/geoaiServerPixel/app.py master-fifo: /tmp/uwsgi_api_master_fifo pypy-wsgi-file: /var/geoaiServerPixel/app.py pypy-pp: [/var/geoaiServerPixel] your processes number limit is 64064 your memory page size is 4096 bytes detected max file descriptor number: 100000 lock engine: pthread robust mutexes thunder lock: disabled (you can enable it with --thunder-lock) uwsgi socket 0 bound to TCP address 127.0.0.1:8030 fd 3 uWSGI running as root, you can use --uid/--gid/--chroot options *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** Initialized PyPy with Python 2.7.13 (990cef41fe11, Mar 21 2019, 12:14:52) [PyPy 7.1.0 with GCC 6.2.0 20160901] PyPy Home: /opt/pypy added [/var/geoaiServerPixel] to pythonpath uWSGI running as root, you can use --uid/--gid/--chroot options *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** your server socket listen backlog is limited to 1024 connections your mercy for graceful operations on workers is 60 seconds mapped 364600 bytes (356 KB) for 4 cores *** Operational MODE: preforking *** *** no app loaded. going in full dynamic mode *** uWSGI running as root, you can use --uid/--gid/--chroot options *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** *** uWSGI is running in multiple interpreter mode *** spawned uWSGI master process (pid: 10689) spawned uWSGI worker 1 (pid: 10705, cores: 1) unavailable loop engine !!! spawned uWSGI worker 2 (pid: 10706, cores: 1) unavailable loop engine !!! spawned uWSGI worker 3 (pid: 10707, cores: 1) unavailable loop engine !!! spawned uWSGI worker 4 (pid: 10710, cores: 1) DAMN ! worker 1 (pid: 10705) died :( trying respawn ... unavailable loop engine !!! Respawned uWSGI worker 1 (new pid: 10711) DAMN ! worker 2 (pid: 10706) died :( trying respawn ... unavailable loop engine !!! Respawned uWSGI worker 2 (new pid: 10712) DAMN ! worker 3 (pid: 10707) died :( trying respawn ... unavailable loop engine !!! Respawned uWSGI worker 3 (new pid: 10715) DAMN ! worker 4 (pid: 10710) died :( trying respawn ... unavailable loop engine !!! Respawned uWSGI worker 4 (new pid: 10716) DAMN ! worker 1 (pid: 10711) died :( trying respawn ..
_______________________________________________ uWSGI mailing list uWSGI@lists.unbit.it http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi