Skip to content

Error: upstream sent too big header while reading response header from upstream #21

Open
@slashrsm

Description

@slashrsm

This happens in development environment when

parameters:
  http.response.debug_cacheability_headers: true

is enabled. I suspect that cacheability debug header becomes quite big on a bit complex sites and hits the default limits in nginx.

I Googled a bit and found a solution that increases limits:

fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;

I am not sure if we want to include this in the default config and we also do not have dev flavor of the image. I am also not sure how this affects performance. I suspect that it causes each request to consume a bit more memory, which could mean that you would be able to serve less concurrent requests given the same amount of memory.

Anyone else experienced this? Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions