I’m using go-ipfs version
nohup ipfs daemon & to keep the node up on a server. But somehow it’s getting killed frequently.
A strange thing I noticed in the logs was this:
Initializing daemon... go-ipfs version: 0.4.22- Repo version: 7 System version: amd64/linux Golang version: go1.12.7 Swarm listening on /ip4/127.0.0.1/tcp/4001 Swarm listening on /ip4/172.31.40.167/tcp/4001 Swarm listening on /ip6/::1/tcp/4001 Swarm listening on /p2p-circuit Swarm announcing /ip4/127.0.0.1/tcp/4001 Swarm announcing /ip4/172.31.40.167/tcp/4001 Swarm announcing /ip6/::1/tcp/4001 API server listening on /ip4/127.0.0.1/tcp/5001 WebUI: http://127.0.0.1:5001/webui Gateway (readonly) server listening on /ip4/0.0.0.0/tcp/8080 Daemon is ready Received interrupt signal, shutting down... (Hit ctrl-c again to force-shutdown the daemon.) 19:59:56.490 ERROR core: failure on stop: context canceled builder.go:47
The interrupt part usually comes 5-6hr after I start the daemon.
But I haven’t hit
CTRL+C, also no one else has access to the server.
Any idea how this could happen?