Skip to content

Implementation of server restart mechanism #85

Closed
@Bahugunajii

Description

@Bahugunajii

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions