Which config? The INI config file I use to start up uwsgi? Here's that config:
------------------ [uwsgi] # %d - the absolute path of the directory containing the config file socket = /var/run/uwsgi/metrics_dev.sock master = true processes = 2 threads = 20 harakiri = 60 harakiri-verbose = true limit-post = 65536 post-buffering = 8192 daemonize = /var/log/uwsgi/metrics_dev.log pidfile = /var/run/uwsgi/metrics_dev.pid max-requests = 1000 log-slow = true virtualenv = %denv/ uid=33 gid=33 vacuum=False enable-threads=True attach-daemon = %denv/bin/python %dmainserver/msg_server.py %ddevelopment.ini attach-daemon = %denv/bin/python %dmainserver/alert_generator.py %ddevelopment.ini ----------------- I am using zeromq, but not as the interface between uwsgi and nginx, just for internal process use. If it were that, I'd think that uwsgi would still be able to recover and restart as expected. On Tue, Apr 15, 2014 at 12:27 AM, Roberto De Ioris <[email protected]> wrote: > > > I have an init.d script that I use to restart my uwsgi instance by > sending > > a HUP signal to the process. In the past I've had no issues and it > > usually > > restarts the instance in a nice way. Recently I've occasionally gotten > > the > > following in my logs: > > > > worker 1 buried after 2 seconds > > worker 2 buried after 3 seconds > > binary reloading uWSGI... > > chdir() to / > > closing all non-uwsgi socket fds > 2 (max_fd = 1024)... > > found fd 3 mapped to socket 0 (/var/run/uwsgi/metrics_dev.sock) > > running /sites/metrics_dev/env/bin/uwsgi > > Bad file descriptor (epoll.cpp:144) > > this file (epoll.cpp) is not part of uWSGI sources, so i find this error > pretty strange. (Could it be zeromq ?) > > Can you paste the whole config ? > > > -- > Roberto De Ioris > http://unbit.it > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
