Skip to content

Indexing stucks until restart #4146

Description

@serjvanilla

Sometimes one of the subgraphs stops indexing without errors, while others continue syncing. The only way to fix it is to restart the whole indexer. Every time it is a different subgraph. It doesn't matter if it is self-written or forked from a hosted service using an IPFS hash.

I'm deploying the graph-node to Kubernetes, to the same cluster with the Ethereum node (erigon) and Postgresql. Version is 0.28.2 with GRAPH_KILL_IF_UNRESPONSIVE set to true.
The logs are clear. The indexer stops producing records related to the stuck subgraph_id at all.

I have not found related issues, so I kindly ask for tips on diagnosing a problem in my setup.

Screenshots from Grafana for subgraph Qmca1arSe9U94sHVpzzdUKizNyqFddsXnBZYqkALmSdSRE https://thegraph.com/hosted-service/subgraph/indexed-finance/indexed as an example.

image

image

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions