conf.ini:
[uwsgi]
[uwsgi]
socket=tmp.sock
http=:5000
chdir=/home/home/proj
master=1
processes=1
single-interpreter=1
module=start
vacuum=1
harakiri=3


$ ./uwsgi --ini /home/test/cos.ini 
*** Starting uWSGI 0.9.7-dev (32bit) on [Thu Mar  3 09:23:52 2011] ***
compiled with version: 4.4.5
your memory page size is 4096 bytes
 *** WARNING: you have enabled harakiri without post buffering. Slow upload 
could be rejected on post-unbuffered webservers *** 
spawned uWSGI http 1 (pid: 3469)
uwsgi socket 0 bound to UNIX address tmp.sock fd 4
Python version: 3.1.2 (release31-maint, Sep 17 2010, 20:54:03)  [GCC 4.4.5]
Python main interpreter initialized at 0x82acbe8
your server socket listen backlog is limited to 100 connections
*** Operational MODE: single process ***
WSGI application 0 (SCRIPT_NAME=) ready on interpreter 0x82acbe8 (default app)
spawned uWSGI master process (pid: 3468)
spawned uWSGI worker 1 (pid: 3470, cores: 1)


$ kill -HUP pid


...gracefully killing workers...
Gracefully killing worker 1 (pid: 3470)...
binary reloading uWSGI...
closing all non-uwsgi socket fds > 2 (_SC_OPEN_MAX = 1024)...
found fd 4
running ./uwsgi
[uWSGI] getting INI configuration from /home/test/cos.ini
*** Starting uWSGI 0.9.7-dev (32bit) on [Thu Mar  3 09:24:11 2011] ***
compiled with version: 4.4.5
your memory page size is 4096 bytes
 *** WARNING: you have enabled harakiri without post buffering. Slow upload 
could be rejected on post-unbuffered webservers *** 
probably another instance of uWSGI is running on the same address.
bind(): Address already in use [socket.c line 423]


-- 
Łukasz Wróblewski
http://www.nri.pl/ - Nowoczesne Rozwiązania Internetowe
http://www.hostowisko.pl/ - Profesjonalny i tani hosting
http://www.katalog-polskich-firm.pl/ - Najlepszy darmowy katalog firm
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to