[uWSGI] uWSGI do not restart gracefuly after sending SIGHUP

Grzegorz Szczudlik szczad at gmail.com
Wed Nov 24 13:21:38 CET 2010


Sorry. Full traceback:


*** Starting uWSGI 0.9.5-dev (32bit) on [Wed Nov 24 13:20:06 2010] ***
Python version: 2.6.6 (r266:84292, Oct 15 2010, 14:20:51)
[GCC 4.4.4]
your memory page size is 4096 bytes
allocated 356 bytes (0 KB) for 1 request's buffer.
binding on UNIX socket: /tmp/xxx.sock
chmod() socket to 666 for lazy and brave users
your server socket listen backlog is limited to 1 connections
added /home/szczad/Aptana Studio 3 Workspace/xxx/xxx to pythonpath.
added /home/szczad/Aptana Studio 3 Workspace/xxx/xxx to pythonpath.
initializing hooks...done.
...getting the applications list from the 'django_uwsgi' module...
uwsgi.applications dictionary is not defined, trying with the
"applications" one...
applications dictionary is not defined, trying with the "application" callable.
initializing [/] app...
application 0 (/) ready
setting default application to 0
spawned uWSGI master process (pid: 13727)
spawned uWSGI worker 1 (pid: 13737)
...gracefully killing workers...
Gracefully killing worker 13737...
binary reloading uWSGI...
closing all fds > 2 (_SC_OPEN_MAX = 1024)...
running /usr/bin/uwsgi
  File "/usr/bin/uwsgi-2.6", line 1
SyntaxError: Non-ASCII character '\x80' in file /usr/bin/uwsgi-2.6 on
line 2, but no encoding declared; see
http://www.python.org/peps/pep-0263.html for details


More information about the uWSGI mailing list