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

Implementation of server restart mechanism #85

Open
Bahugunajii opened this issue May 2, 2023 · 0 comments
Open

Implementation of server restart mechanism #85

Bahugunajii opened this issue May 2, 2023 · 0 comments
Assignees

Comments

@Bahugunajii
Copy link
Member

Bahugunajii commented May 2, 2023

Describe the task
Currently on hitting some of the API's containing heavy data, we are facing an error of OOMKilled and the server gets automatically killed somewhat like this:

Screenshot 2023-05-02 133851

API's failing

  1. https://staging-db.avantifellows.org/api/student
  2. https://staging-db.avantifellows.org/api/user

Logs:

image

Expected behavior
In order to handle the above case, we need to implement an automatic restart mechanism that detects when the server encounters the OOMKilled error and automatically restarts the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants