Coder Social home page Coder Social logo

Comments (3)

BorysekOndrej avatar BorysekOndrej commented on July 28, 2024 1

This issue is fixed for the public instance and has been running for 2 days without a problem. It seems ok.

Long-term solution for self-hosted instances would be a Python script which would generate the appropriate Docker Compose file based on the amount of RAM and CPU a user is willing to provide. I have PoC, but I'm not yet satisfied with it. The general solution might be docker swarms or Kubernetes, though I'm reluctant to introduce another technology to the stack. For now I've created issue from this.

from bakalarka-general.

BorysekOndrej avatar BorysekOndrej commented on July 28, 2024

Hello, thanks for reaching out.
The primary issue is that the container for the API server got killed by something on the host system. When I correlate the timestamps of the last messages from server logs and the RAM utilization graph, it clearly points out a sudden spike in RAM utilization (from 35% to 100%) at that time that lasted less than 5 minutes. So it most likely got killed by the Out Of Memory killer. This is a known issue and mentioned near the end of the thesis as future improvement. I will have it implemented by Monday.

The secondary problem is that my uptime monitoring did not send an alert, because I was monitoring a cached endpoint. Even though the API server was down, cached responses were still being served from a reverse proxy. I'll also have this fixed by Monday.

from bakalarka-general.

adamjanovsky avatar adamjanovsky commented on July 28, 2024

Great, I'll wait with the review then until this issue is closed.

from bakalarka-general.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.