graphprotocol / graphprotocol/graph-node

indexing freezing when using ipc connection

Open
#5,434 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Stale
Dominant language
Rust
Stars
3.2k
Forks
1.1k
Avg merge
4d 1h
Merged PRs (30d)
1

Description

Bug report

Hello,

When I use IPC connection it always freeze and I need to close and restart the node. Im running the node with the follow command

sudo cargo run -p graph-node --release -- \
  --ethereum-ipc mainnet:archive,traces:/home/guru/reth-mainnet/reth.ipc \
  --postgres-url postgresql://graph-node:let-me-in@localhost:5432/graph-node \
  --ipfs 127.0.0.1:5001

It start indexing right away my subgraphs (im currently indexing only one for testing), and it freeze like every 10 seconds.

Do im doing something wrong? http and ws connection working perfect, just the ipc freeze alot

Relevant log output

No response

IPFS hash

No response

Subgraph name or link to explorer

No response

Some information to help us out
  • Tick this box if this bug is caused by a regression found in the latest release.
  • Tick this box if this bug is specific to the hosted service.
  • I have searched the issue tracker to make sure this issue is not a duplicate.
OS information

Linux

### Tasks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the provided cargo run -p graph-node --release command and its --ethereum-ipc configuration, then compare it with the reported working HTTP and WS connections. Collect relevant logs around the recurring freeze; done should mean IPC indexing no longer freezes under the reported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, rust
Domain
backend, blockchain, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.