opnsense / plugins

OPNsense plugin collection
https://opnsense.org/
BSD 2-Clause "Simplified" License
849 stars 644 forks source link

OPNsense/NGINX - variables_hash_max_size and variables_hash_bucket_size errors #4360

Open daygle opened 1 week ago

daygle commented 1 week ago

Important notices Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug variables_hash_max_size and variables_hash_bucket_size errors presented when starting NGINX. Unable to set values within global settings - appears there is not option for variables_hash_max_size and variables_hash_bucket_size errors.

To Reproduce Steps to reproduce the behavior:

  1. Start NGINX.
  2. View Logs, error shown.

Expected behavior Nginx presents below errors when starting up. Doesn't appear to be any global settings to set these values.

Screenshots If applicable, add screenshots to help explain your problem. image

Relevant log files

2024-11-18T12:16:44 Warning nginx 2024/11/18 12:16:44 [warn] 91782#100681: could not build optimal variables_hash, you should increase either variables_hash_max_size: 1024 or variables_hash_bucket_size: 64; ignoring variables_hash_bucket_size  
2024-11-18T12:16:44 Emergency nginx nginx: [warn] could not build optimal variables_hash, you should increase either variables_hash_max_size: 1024 or variables_hash_bucket_size: 64; ignoring variables_hash_bucket_size

Additional context N/A

Environment Software version used and hardware type if relevant.

OPNsense 24.7.8-amd64 Intel(R) Celeron(R) N5105 @ 2.00GHz (4 cores, 4 threads)