[uWSGI] uWSGI do not restart gracefuly after sending SIGHUP

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Wed Nov 24 14:59:57 CET 2010


Il 24/11/2010 14:27, Szymon Kosok ha scritto:
> Hi,

Hi,

> Can I join this conversation with my problem? I have -HUP problem too.
>
> [uWSGI] parsing config file config.xml
> *** Starting uWSGI 0.9.7-dev (64bit) on [Wed Nov 24 14:18:45 2010] ***
                      ^^^^^^^
> compiled with version: 4.3.4
> writing pidfile to /tmp/uwsgi-dev.pid
> uWSGI running as root, you can use --uid/--gid/--chroot options
> setgid() to 1002
> setuid() to 1000
> your memory page size is 4096 bytes
> Python version: 2.6.4 (r264:75706, May 14 2010, 17:41:54)
> [GCC 4.3.4]
> uwsgi socket 0 bound to TCP address 192.168.1.100:9002 fd 3
> your server socket listen backlog is limited to 64 connections
> *** Operational MODE: preforking ***
> WSGI application 0 (SCRIPT_NAME=) ready on interpreter 0x1f8f3f0
> (default app)
> *** uWSGI is running in multiple interpreter mode ***
> spawned uWSGI master process (pid: 31180)
> spawned uWSGI worker 1 (pid: 31181, cores: 1)
> spawned uWSGI worker 2 (pid: 31182, cores: 1)
> ...gracefully killing workers...
> Gracefully killing worker 31182...
> Gracefully killing worker 31181...
> binary reloading uWSGI...
> closing all non-uwsgi socket fds>  2 (_SC_OPEN_MAX = 1024)...
> running /usr/bin/uwsgi-2.6
> ...fd 3 is a socket, i suppose this is a graceful reload of uWSGI, i
> will try to do my best...
> [uWSGI] parsing config file config.xml
> *** Starting uWSGI 0.9.5-dev (64bit) on [Wed Nov 24 14:18:55 2010] ***
                      ^^^^^^^
> Python version: 2.6.4 (r264:75706, May 14 2010, 17:41:54)
> [GCC 4.3.4]
> cannot setgid() as non-root user

Strange, a different version after reload. You may want to post your xml 
config
file too to help debug the issue.

thanks,
riccardo


More information about the uWSGI mailing list