-
-
Notifications
You must be signed in to change notification settings - Fork 913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Netbox exists after a couple of requests #854
Comments
Original issue for completeness: netbox-community/netbox#10499 |
I found a workaround for this problem by specifying a static number of processes in nginx-units.json https://github.com/netbox-community/netbox-docker/blob/release/docker/nginx-unit.json#L34
|
I am observing the same behavior, although i have already implemented the workaround suggested by @Kartograf . There are five working requests (with
A request with cURL also times out:
Apart from that static assets are working properly:
|
Current Behavior
Netbox exits after a few requests, causing nginx-ingress to return a 404 on failure.
Note though, that the container keeps running, it's merely the python/django process exiting.
This restart happens sometimes after 8 requests, sometimes after 20ish requests, but rather frequent. As exit code 0 is a success code, I wonder what the motivation for netbox is to exit.
Expected Behavior
Netbox does not exit on its own. By exiting the nginx-ingress will return a 404 to clients, every time netbox is unreachable.
Docker Compose Version
kubernetes 1.24
Docker Version
The git Revision
docker-hub versions: v3.3.2-2.2.0, v3.3.4-2.2.0
The git Status
Startup Command
The image directly, no commands
NetBox Logs
The text was updated successfully, but these errors were encountered: