Leadership-schedule query hangs, sometimes causes node restart

CLI and Node v1.34.1
issue was also happening on v1.34.0

I’m trying to check the leadership schedule to get a sense for when I am scheduled to produce a block. When I do:

cardano-cli query leadership-schedule --mainnet --genesis <path-to>/mainnet-shelley-genesis.json --stake-pool-id <my pool id> --vrf-signing-key-file <path-to>/vrf.skey --current

or

cardano-cli query leadership-schedule --mainnet --genesis <path-to>/mainnet-shelley-genesis.json --stake-pool-id <my pool id> --vrf-signing-key-file <path-to>/vrf.skey --next

the command/terminal just hangs… and after 30 seconds the node shuts down, restarts by systemd and has to validate chunks all over again for 40 minutes.

Any idea what might be happening?

type free -m and check how much RAM + SWAP file has the server
then try to increase the SWAP file

cheers,

1 Like