Skip to content
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

uWSGI did not restart the app on connection loss #534

Open
k0machi opened this issue Dec 9, 2024 · 0 comments · May be fixed by #539
Open

uWSGI did not restart the app on connection loss #534

k0machi opened this issue Dec 9, 2024 · 0 comments · May be fixed by #539
Assignees

Comments

@k0machi
Copy link
Collaborator

k0machi commented Dec 9, 2024

Happened today, caused the app to be innaccessible for 6 hours:

Dec 09 02:26:36 ip-10-0-2-112 bash[1563490]: cassandra.OperationTimedOut: errors=Failed to create all new connection pools in the %ss timeout., last_host=None
Dec 09 02:26:36 ip-10-0-2-112 bash[1563490]: unable to load app 0 (mountpoint='') (callable not found or import error)
Dec 09 02:26:36 ip-10-0-2-112 bash[1563490]: mounting argus_backend:argus_app on /

Need to check configuration to instead cause an auto restart in such situations.

@k0machi k0machi self-assigned this Dec 9, 2024
@k0machi k0machi added the bug Something isn't working label Dec 9, 2024
@fruch fruch removed the bug Something isn't working label Dec 10, 2024
k0machi added a commit to k0machi/argus that referenced this issue Dec 16, 2024
Per https://uwsgi-docs.readthedocs.io/en/latest/FallbackConfig.html this
disables uWSGI "no app loaded" mode to prevent issues such as scylladb#534 from
occuring

Fixes scylladb#534
@k0machi k0machi linked a pull request Dec 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants