Il giorno 30/mag/2011, alle ore 10.25, Vladislav Manchev ha scritto:

> Thanks for the info, this is really helpful. I guess I can fix the issue 
> myself now, but still wondering if you're going to provide an official fix at 
> some point?


Oh yes, it will be fixed in time for 0.9.8 release (june 5)

> 
> On Fri, May 27, 2011 at 9:03 AM, Roberto De Ioris <[email protected]> wrote:
> 
> Il giorno 26/mag/2011, alle ore 22.27, Vladislav Manchev ha scritto:
> 
> > I've been using uwsgi since last year on various Linux boxes, but a few 
> > days ago I decided to try it out on one of my main servers which runs 
> > OpenIndiana b148.
> > All seemed good, both nginx and uwsgi seemed to work fine, but there's a 
> > big problem - uwsgi never sends headers back to nginx.
> > Here's the message that I always see in uwsgi log:
> > writev(): Invalid argument [plugins/python/wsgi_headers.c line 182]
> > [pid: 25619|app: 0|req: 3/4] xxx.xxx.xxx.xxx () {40 vars in 686 bytes} [Thu 
> > May 26 19:21:51 2011] GET / => generated 5962 bytes in 46 msecs (HTTP/1.1 
> > 200) 3 headers in 18446744073709551615 bytes (1 switches on core 0)
> >
> > Header size is always ULONG_MAX, no matter what.
> > I looked at wsgi_headers.c and couldn't figure it out, maybe someone more 
> > familiar with the code can give me a suggestion?
> > _______________________________________________
> > uWSGI mailing list
> > [email protected]
> > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
> 
> 
> 
> This is a "limit" (or a safe design choice ?) in solaris iovec subsystem.
> 
> I have fixed it in the http router/proxy some month ago but never ported to 
> the various language plugins:
> 
> http://projects.unbit.it/uwsgi/browser/plugins/http/http.c#L744
> 
> As you see the number of iovec in solaris is very low, so you need to send 
> them in little chunks
> 
> --
> Roberto De Ioris
> http://unbit.it
> 
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
> 
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

--
Roberto De Ioris
http://unbit.it

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to