With option:

master=false
or
master=0

master proces despite it starts

2011-01-03 15:52:10 - *** Operational MODE: single process ***
2011-01-03 15:52:10 - WSGI application 0 (SCRIPT_NAME=) ready on interpreter 
0x9e11c10 (default app)
2011-01-03 15:52:10 - spawned uWSGI master process (pid: 8297)
2011-01-03 15:52:10 - spawned uWSGI worker 1 (pid: 8299, cores: 1)

If I comment out "master" line it's work correctly





Although I use "MODE: single process".
Starts a parent process. I suppose it's "Emperor process".




With configuration:
master=1
processes=-1

I have:

[uWSGI] getting INI configuration from ../test/cos.ini
2011-01-03 16:03:25 - *** Starting uWSGI 0.9.7-dev (32bit) on [Tue Mar  1 
16:03:25 2011] ***
2011-01-03 16:03:25 - compiled with version: 4.4.5
2011-01-03 16:03:25 - your memory page size is 4096 bytes
2011-01-03 16:03:25 -  *** WARNING: you have enabled harakiri without post 
buffering. Slow upload could be rejected on post-unbuffered webservers *** 
2011-01-03 16:03:25 - spawned uWSGI http 1 (pid: 8400)
2011-01-03 16:03:25 - uwsgi socket 0 bound to UNIX address 1298991805_8399.sock 
fd 4
2011-01-03 16:03:25 - Python version: 3.1.2 (release31-maint, Sep 17 2010, 
20:54:03)  [GCC 4.4.5]
2011-01-03 16:03:25 - Python main interpreter initialized at 0x9efec30
2011-01-03 16:03:25 - your server socket listen backlog is limited to 100 
connections
Naruszenie ochrony pamięci / Segfault
my@host:~/uwsgi-0.9.7-beta1$ 2011-01-03 16:03:39 - connect(): Connection 
refused [socket.c line 268]
2011-01-03 16:04:20 - timeout !!!


And the parent process lives on in the background.




These options seem to don't work:

vacuum=1
gid=www-data
uid=www-data




./uwsgi --emperor ../test

*** Starting uWSGI 0.9.7-dev (32bit) on [Tue Mar  1 16:18:12 2011] ***
compiled with version: 4.4.5
 *** WARNING: you are running uWSGI without its master process manager ***
your memory page size is 4096 bytes
*** starting uWSGI Emperor ***
c_ui->ui_next = 0x9859060
Python version: 3.1.2 (release31-maint, Sep 17 2010, 20:54:03)  [GCC 4.4.5]
execvp(): No such file or directory [emperor.c line 167]
Python main interpreter initialized at 0x98529b0
The -s/--socket option is missing and stdin is not a socket.
c_ui->ui_next = 0x9851040
removed uwsgi instance cos.ini
execvp(): No such file or directory [emperor.c line 167]
c_ui->ui_next = 0x9851170
removed uwsgi instance cos.ini
execvp(): No such file or directory [emperor.c line 167]


../test/cos.ini :
[uwsgi]
socket=tmp.sock
http=:5000
chdir=/home/ddarko/proj
#master=1
#processes=2
single-interpreter=1
module=start
#gid=www-data
#uid=www-data
logdate=%%Y-%%d-%%m %%H:%%M:%%S
vacuum=1
harakiri=3




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