Error: Can't acquire bellman.lock

Problem

The following error shows up in the worker’s or miner’s log.

Error: Can't acquire bellman.lock

The Bellman lockfile is created to lock a GPU for a process. This error can occur when this file isn’t properly cleaned up.

Environment

  • Calibnet
  • Mainnet

Resolution

Stop the lotus-miner or lotus-worker and remove /tmp/bellman.lock file. Start the lotus-miner or lotus-worker again.