Why? --- no python application found, check your startup logs for errors ---
Why? I just dont get it. I use bottle and well I start using python app.py it works. Uwsgi clearly does not work. where gunicorn works Well I looked at the logs for errors and I get no means to find out why 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() chdir() to /var/duder/ your processes number limit is 64064 your memory page size is 4096 bytes detected max file descriptor number: 1024 - async cores set to 20 - fd table size: 1024 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) *** Python version: 2.7.15+ (default, Nov 27 2018, 23:36:35) [GCC 7.3.0] Python main interpreter initialized at 0x55d15a6fe400 uWSGI running as root, you can use --uid/--gid/--chroot options *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** python threads support enabled your server socket listen backlog is limited to 1024 connections your mercy for graceful operations on workers is 60 seconds mapped 1357920 bytes (1326 KB) for 80 cores *** Operational MODE: preforking+async *** *** 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: 27941) spawned uWSGI worker 1 (pid: 27943, cores: 20) spawned uWSGI worker 2 (pid: 27944, cores: 20) spawned uWSGI worker 3 (pid: 27945, cores: 20) spawned uWSGI worker 4 (pid: 27946, cores: 20) *** running gevent loop engine [addr:0x55d159712780] *** --- no python application found, check your startup logs for errors --- I mean this is how I start: uwsgi --yaml /var/uwsgi.yaml uwsgi: pidfile: /var/run/dude.pid loop: gevent gevent: 20 b: 32768 listen: 1024 socket: 127.0.0.1:8030 processes: 4 master: true enable-threads: true logto2: /tmp/bidder.log touch-reload: /var/duder/app.py chdir: /var/gduder/ master-fifo: /tmp/uwsgi_api_master_fifo pypy-home: /opt/pypy pypy-wsgi-file: /var/duder/app.py pypy-pp: [/var/duder]
_______________________________________________ uWSGI mailing list uWSGI@lists.unbit.it http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi