From b2406f58ac01b40dcd0c57b7362a9020d822fd08 Mon Sep 17 00:00:00 2001 From: Gabriel Clima Date: Wed, 1 Apr 2026 11:28:41 +0000 Subject: [PATCH] upgrade NGINX_BPF_MAPS error nginx: [emerg] quic bpf failed to parse inherited variable "NGINX_BPF_MAPS" nginx: [emerg] ngx_quic_bpf_module failed to initialize, check limits --- src/event/quic/ngx_event_quic_bpf.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/event/quic/ngx_event_quic_bpf.c b/src/event/quic/ngx_event_quic_bpf.c index e69f3bd6d..739702a24 100644 --- a/src/event/quic/ngx_event_quic_bpf.c +++ b/src/event/quic/ngx_event_quic_bpf.c @@ -290,7 +290,10 @@ ngx_quic_bpf_module_init(ngx_cycle_t *cycle) if (ngx_inherited && ngx_is_init_cycle(cycle->old_cycle)) { if (ngx_quic_bpf_import_maps(cycle) != NGX_OK) { - goto failed; + ngx_log_error(NGX_LOG_WARN, cycle->log, 0, + "quic bpf failed to import maps, " + "creating new maps; " + "existing QUIC connections may be disrupted"); } } @@ -1283,10 +1286,9 @@ done: return NGX_OK; failed: - - ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, - "quic bpf failed to parse inherited variable \"%s\"", - NGX_QUIC_BPF_VARNAME); + ngx_log_error(NGX_LOG_WARN, cycle->log, 0, + "quic bpf failed to parse inherited variable \"%s\"", + NGX_QUIC_BPF_VARNAME); return NGX_ERROR; }