502 Bad Gateway error after upgrade #14730
Replies: 3 comments 7 replies
-
Maybe this ? #14691 |
Beta Was this translation helpful? Give feedback.
-
Where would I correct this setting? |
Beta Was this translation helpful? Give feedback.
-
I have come to the conclusion, that rather than downgrade gunicorn of maybe loose some necessary features, I will go ahead with max_requests set i 0 and if memory usage becomes an issue on the server I will set up a scheduled job that restarts the worker processes with this command:
|
Beta Was this translation helpful? Give feedback.
-
Hi
We are running a prod and matching test-environment and I have been testing upgrading to version 3.6.9, but I I am having a problem with the upgrade (from 3.4.8 to 3.6.9). For starters everything looks to be running just fine, but then I run one of our longer running scripts, which collects a lot of data and put it into Netbox. This script works flawlessly on prod (3.4.8), but on the test-environment, running 3.6.9, with a copy of the prod-database and matching settings for the VM, it fails with the below message and it has not failed a the same place twice:
/var/log/nginx/error.log:
Versions:
Netbox: 3.6.9
Python: 3.10.12
Redis version=6.0.16
nginx version: nginx/1.18.0 (Ubuntu)
psql (PostgreSQL) 14.10 (Ubuntu 14.10-0ubuntu0.22.04.1)
gunicorn (version 21.2.0)
pynetbox: 7.3.3
Linux vmnb02-test 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Any help would be appreciated, otherwise I simply cannot justify upgrading.
Beta Was this translation helpful? Give feedback.
All reactions