Git Product home page Git Product logo

Comments (7)

chriswessels avatar chriswessels commented on August 29, 2024

Looks like it's leaking CPU cycles too:
Screenshot 2020-09-01 at 22 33 40
Screenshot 2020-09-01 at 22 33 48

from indexer.

chriswessels avatar chriswessels commented on August 29, 2024

Looks like indexer-agent and indexer-service still have a memory leak problem. I've been using a Kubernetes CronJob to automatically restart them every day to keep memory usage under control. Here's a gist for anyone that wants to do the same: https://gist.github.com/chriswessels/8271f82a0ae7342d7d0822ea1e796246

from indexer.

aasseman avatar aasseman commented on August 29, 2024

I'm also observing this issue on v0.18.6. However I've found a good way to accelerate it: send lots of GraphQL queries to the indexer-agent management endpoint. I've also noticed that the queries would take longer to execute as memory usage grows.

However I am not sure if certain types of queries are worse than others. Read below.

Context
As @fordN and @chriswessels already know, I'm currently running experiments that require constantly updating the Agora models. In this particular case, I am updating the model variables for each subgraph every 3 minutes.
In the plot below, every drop is the OOM killer killing the indexer-agent. The frequency increased around May 10th, when I deployed my experiment to the indexer.
image

from indexer.

aasseman avatar aasseman commented on August 29, 2024

Update: The problem is still present on v0.19.2.

from indexer.

kaiwetlesen avatar kaiwetlesen commented on August 29, 2024

Update: immediately preceding the OOM crash, queries begin failing. This causes a drop in quality of service.
out-of-memory-crash-grafana
indexer-service-memory-leak

from indexer.

aasseman avatar aasseman commented on August 29, 2024

Update: the problem is still present on v0.20.12

from indexer.

alex-pakalniskis avatar alex-pakalniskis commented on August 29, 2024

Figment appears to be experiencing this issue too (shared with me on March 14, 2024)

from indexer.

Related Issues (20)

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.