Hi Roberto,

Whoa, that's quick, thanks! I thought I saw the value 65536 in the docs
before and just used it in the configuration file, it's kinda funny that it
started complaining after an upgrade from 1.3 to 1.9.x on the same config
file.


I've also checked if the old/existing "issue" with graceful reloading is
fixed by chance, but nope, on our system (still Ubuntu 8.04 LTS, to be
decommissioned soon) a graceful reload still causes Nginx frontend to
complain about recv() errors, connection reset by peer. Uwsgi logs a
graceful restart and all seems well on that end, but somehow, TCP RST are
still being sent over the wire or something. Lets see if I can reproduce it
with a minimal wsgi app, a single connection and wireshark.


Kind regards,

Chi Ho Kwok


On 20 June 2013 06:18, Roberto De Ioris <[email protected]> wrote:

>
> > Hi there,
> >
> > While debugging a weird issue with listen queue being full, I tried
> > upgrading to the latest version and it kinda broke the site in a
> > mysterious
> > way, with lines in the error log saying:
> >
> > invalid HTTP request size (max 0)...skip
> >
> > This was caused by setting "buffer-size = 65536", lowering it by one byte
> > solved the issue.
> >
> >
> > Logged as https://github.com/unbit/uwsgi/issues/324, posting here too so
> > Google can find it easier, as searching for the log message resulted in
> > nothing but a grep on the source code pointed me directly to the right
> > config variable.
> >
> > proto/http.c
> > 225:            uwsgi_log("invalid HTTP request size (max %u)...skip\n",
> > uwsgi.buffer_size);
> >
> >
> >
> > Kind regards,
> >
> > Chi Ho Kwok
> >
>
> Internally the buffer size is 16bit. I have added a check to force it to
> 65535 when higher values are specified
>
>
> --
> 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

Reply via email to