Skip to content

Lighthouse 4.0.0 and "context canceled" Error  #7172

@JP-Ellis

Description

@JP-Ellis

System information

  • Erigon Version: erigon version 2.40.1-stable
    • Command
      /usr/bin/erigon \
        --datadir=/eth/erigon \
        --http.port 8545 \
        --http.api eth,erigon,engine,web3 \
        --authrpc.port 8551 \
        --authrpc.jwtsecret /eth/jwt.hex \
        --private.api.addr localhost:8552 \
        --private.api.ratelimit 65536 \
        --metrics \
        --metrics.port 6060 \
        --externalcl \
        --prune htc \
        --prune.r.before=11184524
      
  • OS: Linux (Linux 6.1.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 04 Jan 2023 16:28:15 +0000 x86_64 GNU/Linux )
  • Concensus Layer: Lighthouse
    • Version:
      Lighthouse v4.0.0-0616e01
      BLS library: blst-modern
      SHA256 hardware acceleration: true
      Allocator: jemalloc
      Specs: mainnet (true), minimal (false), gnosis (true)
      
    • Command:
      /usr/bin/lighthouse beacon_node \
        --datadir /var/lib/lighthouse \
        --staking \
        --metrics \
        --validator-monitor-auto \
        --execution-endpoint http://localhost:8551 \
        --execution-jwt /eth/jwt.hex \
        --builder http://localhost:18550
      

Behaviour

  • After a few hours, sync stalls completely with the error "context canceled".
  • Once error happens, Erigon still generates logs, but generally appears unresponsive (sending a kill signal does not cause it to shut down, and I have to send all 10 kill signals for it to forcefully restart)
  • After a restart, Erigon syncs again with no issues until this issue appears randomly
  • This error only appeared after upgrading Lighthouse to v4.0.0. I have tested it with the v4.0.1-rc.0 hotfix as well, and the error remains. I suspect that is the root cause of the issue.

Logs are located in the follow gist JP-Ellis/30aeca74b7760ea603f709309051aefc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions