On 18/03/2011, at 6:36 PM, Roberto De Ioris wrote:

> 
>> 
>> On 18/03/2011, at 5:39 PM, Roberto De Ioris wrote:
>>>> invalid request block size: 6702...skip
>>>> invalid request block size: 6592...skip
>>>> invalid request block size: 5152...skip
>>> 
>>> These are clients that are passing a massive amount of headers.
>>> By deafult uWSGI allocate 4096 bytes for the headers (you can tune this
>>> with -b). If there are few of this, i suggest you to not increase the
>>> buffer size as probably they are "bad" clients.
>> 
>> 
>> Is there any way to see what's inside the header? Maybe they are
>> legitimate requests, but how can we know?
>> 
>> 
> 
> You need memory to read those data. So increase buffer size (-b 8192
> should be enough) and print the env dictionary in your app.

Thanks- it turns out long URLs were causing the problems. 8192 and it seems to 
be OK now.



Simon Litchfield
S29.com.au

M  +61-416-027-826
F  +61-2-8569-2377

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

Reply via email to