I started testing a new feature (after req hook) and accidentally typed in ini 
configuration
http = 8000
It should be
http = :8000

Here's the result:

$ uwsgi --ini config.ini 
[uWSGI] getting INI configuration from config.ini
*** Starting uWSGI 1.0 (32bit) on [Wed Jan 11 10:45:12 2012] ***
compiled with version: 4.6.1 on 11 January 2012 10:32:10
current working directory: /home/........
detected binary path: /bin/uwsgi
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: 5687)
HTTP router/proxy bound on 8000
uwsgi socket 0 bound to TCP address 127.0.0.1:42124 (port auto-assigned) fd 3
Python version: 3.2.2 (default, Sep  5 2011, 22:21:39)  [GCC 4.6.1]
Python main interpreter initialized at 0x9488620
your server socket listen backlog is limited to 100 connections
*** Operational MODE: preforking ***
WSGI application 0 (mountpoint='') ready on interpreter 0x9488620 pid: 5686 
(default app)
spawned uWSGI master process (pid: 5686)
spawned uWSGI worker 1 (pid: 5688, cores: 1)
spawned uWSGI worker 2 (pid: 5689, cores: 1)
spawned uWSGI worker 3 (pid: 5690, cores: 1)
spawned uWSGI http 1 (pid: 5691)
respawned uWSGI http 1 (pid: 5692)
respawned uWSGI http 1 (pid: 5693)
respawned uWSGI http 1 (pid: 5694)
respawned uWSGI http 1 (pid: 5696)
respawned uWSGI http 1 (pid: 5697)
respawned uWSGI http 1 (pid: 5698)
respawned uWSGI http 1 (pid: 5699)
respawned uWSGI http 1 (pid: 5700)



config.ini:

[uwsgi]
http = 8000
chdir = /home/...
master = 1
single-interpreter = 1
module = start
log-5xx = 1
vacuum = 1
pep3333-input = 1
processes = 3
harakiri = 3
harakiri-verbose = 1
reload-mercy = 3
touch-reload = start.py



Probably better to give a clearer message.


-- 
Ł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