Hi,
I have a problem with uWSGI not taking in any request sometimes.
Everything looks normal, except that no requests are handled (according
to the log) and I get a timeout on my browser after a very long time.
The situation is like this, when I started uWSGI (with emperor), it
seems running normally, with workers spawned. However, requests just
don't get handled. If I do restart uWSGI, there might be a chance which
everything looks the same, and the requests are handled. I have no idea
what is going on so I hope that I can get some help over here.
I have provided the uWSGI log and the config file below.
Thanks.
uWSGI log:
/WSGI app 0 (mountpoint='') ready in 56 seconds on interpreter 0x14a61a0
pid: 1398 (default app)//
//spawned uWSGI master process (pid: 1398)//
//spawned uWSGI worker 1 (pid: 1437, cores: 4)//
//spawned uWSGI worker 2 (pid: 1438, cores: 4)//
//spawned uWSGI worker 3 (pid: 1439, cores: 4)//
//spawned uWSGI worker 4 (pid: 1440, cores: 4)//
//*** Stats server enabled on 127.0.0.1:9191 fd: 21 ***/
uWSGI configuration file:
/[uwsgi]//
//socket = /var/run/uwsgi/myserver.sock//
//;http = :8080//
//stats = 127.0.0.1:9191//
//pidfile = /var/run/uwsgi/myserver.pid//
//daemonize = /var/log/uwsgi/myserver.log//
//log-slow = true//
//
//master = true//
//
//chdir = /srv/MyCompany/myserver//
//wsgi-file = /srv/MyCompany/myserver/main.py//
//
//#processes = 8//
//processes = 4//
//enable-threads = true//
//threads = 4 ; 4//
//#offload-threads = 1 ; 1//
//offload-threads = 0//
//single-interpreter = true//
//
//harakiri = 30//
//limit-post = 65536//
//post-buffering = 8192//
//
//uid = root//
//;uid = mycompany//
//gid = i2c//
//
//#queue = 10//
//queue = 10//
//#queue-blocksize = 500000//
//queue-blocksize = 10000//
//reload-os-env = true//
//
//locks = 2/
--
Regards,
Poh Yee Hui
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi