----- Oryginalna wiadomość -----
> Od: "Łukasz Wróblewski" <[email protected]>
> Do: "uWSGI developers and users list" <[email protected]>
> Wysłane: piątek, 4 maj 2012 8:39:53
> Temat: Re: [uWSGI] premature response
> 
> ----- Oryginalna wiadomość -----
> > Od: "Roberto De Ioris" <[email protected]>
> > Do: "uWSGI developers and users list" <[email protected]>
> > Wysłane: piątek, 4 maj 2012 8:37:50
> > Temat: Re: [uWSGI] premature response
> >
> > Have you added --close-on-exec in the uWSGI instance running the
> > subprocess ? without that your new process will inherit the uWSGI
> > client socket
> >
> 
> 
> No. I'll check with this option.
> 


[uwsgi]
chdir = /opt/vz
http = :8000
master = 1
single-interpreter = 1
module = start
daemonize = %(chdir)/app.log
logdate = %%Y-%%m-%%d %%H:%%M:%%S
disable-logging = 1
pidfile = pid
log-5xx = 1
vacuum = 1
pep3333-input = 1
processes = 3
close-on-exec = 1
ignore-sigpipe = 1
close-on-exec = 1



Didn't solve my problem.
[1] = worker 1

"...vps|info|221" - It is sent by the A to confirm the change. This means that 
the A at this point has already received a response.


2012-05-04 08:47:26 - [1] REQUEST: /?a=vps|stop|221
2012-05-04 08:47:56 - timeout !!!
2012-05-04 08:47:56 - [3] REQUEST: /?a=vps|info|221
2012-05-04 08:47:56 - [3] DONE
2012-05-04 08:48:39 - [1] CMD: vzctl stop 221
2012-05-04 08:48:39 - [1] EXIT STATUS: 0
2012-05-04 08:48:39 - [1] MSG: Stopping container ...
Container was stopped
Container is unmounted


2012-05-04 08:48:39 - [1] DONE
2012-05-04 08:48:39 - write(): Broken pipe [proto/uwsgi.c line 143] during GET 
/?a=vps|stop|221 (...)
IOError: write error






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