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

Incerase client_body_buffer_size to reduce nginx warnings #290

Merged
merged 2 commits into from
Jul 13, 2020

Conversation

glensc
Copy link
Contributor

@glensc glensc commented Jul 11, 2020

nginx emits these warnings to logs:

 web_1    | 2020-07-11T12:44:05.894779100Z 2020/07/11 12:44:05 [warn] 20#20: *189 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000055, client: 172.23.0.1, server: , request: "POST /run/import?token=token HTTP/1.1", host: "localhost:8142"

Just to get rid of the warning, increase the buffer to 1M. My typical payloads are around 512k.

ref:

@glensc glensc requested a review from a team July 11, 2020 12:47
@glensc glensc self-assigned this Jul 11, 2020
Copy link
Member

@markstory markstory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@glensc glensc merged commit ae7a98c into perftools:master Jul 13, 2020
@glensc glensc deleted the buffer-size branch July 13, 2020 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants