Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enabling an attribute for --buffer-size #211

Merged
merged 1 commit into from
Apr 30, 2017

Conversation

dcparker88
Copy link
Contributor

Had a lot of issues with this in my installation. More info is here.

Specifically,

By default uWSGI allocates a very small buffer (4096 bytes) for the headers of each request. If you start
receiving “invalid request block size” in your logs, it could mean you need a bigger buffer. Increase it (up to
65535) with the buffer-size option.

This should allow the ability to control this. 4096 is the default.

Let me know what you think. Thanks!

@dgivens
Copy link

dgivens commented Jan 15, 2015

This was something that I added a while back in the old version of the cookbook. I'm getting ready to upgrade and noticed it was gone. This is essentially the same as what I did and is absolutely needed.

@damacus
Copy link
Member

damacus commented Apr 30, 2017

Thanks!

@damacus damacus merged commit 2445975 into sous-chefs:master Apr 30, 2017
@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants