nginx/nginx · error
NGX_LOG_ALERT
NGX_LOG_ALERT
Error message
fastcgi request record is too big: %uz
What it means
Error "fastcgi request record is too big: %uz" thrown in nginx/nginx.
Source
Thrown at src/http/modules/ngx_http_fastcgi_module.c:1021
val_len = header[i].value.len;
for (hn = header[i].next; hn; hn = hn->next) {
val_len += hn->value.len + 2;
ignored[header_params++] = hn;
}
len += ((key_len > 127) ? 4 : 1) + key_len
+ ((val_len > 127) ? 4 : 1) + val_len;
next_length:
continue;
}
}
if (len > 65535) {
ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
"fastcgi request record is too big: %uz", len);
return NGX_ERROR;
}
padding = 8 - len % 8;
padding = (padding == 8) ? 0 : padding;
size = sizeof(ngx_http_fastcgi_header_t)
+ sizeof(ngx_http_fastcgi_begin_request_t)
+ sizeof(ngx_http_fastcgi_header_t) /* NGX_HTTP_FASTCGI_PARAMS */
+ len + padding
+ sizeof(ngx_http_fastcgi_header_t) /* NGX_HTTP_FASTCGI_PARAMS */
+ sizeof(ngx_http_fastcgi_header_t); /* NGX_HTTP_FASTCGI_STDIN */
View on GitHub (pinned to 3f6f7824d4)
When it happens
Trigger: Thrown at src/http/modules/ngx_http_fastcgi_module.c:1021 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of nginx/nginx@3f6f7824d4 (2026-08-22).
Data as JSON: /api/errors/2a976513002d285c.
Report an issue: GitHub.