[ethereum/go-ethereum] “Database compacting” for 10+ hours (#17020)

I had to force-kill it to get it to shut down. Here’s what the panic printed, which includes a couple mentions of a `leveldb.(*DB).compactionError`:
“`
INFO [07-05|14:58:01] Imported new chain segment blocks=6 txs=939 mgas=37.486 elapsed=8.209s mgasps=4.566 number=4356096 hash=5ebdb6…b1b836 cache=0.00B
INFO [07-05|14:58:09] Imported new chain segment blocks=17 txs=1456 mgas=84.704 elapsed=8.337s mgasps=10.159 number=4356113 hash=0a809a…8c215c cache=0.00B
WARN [07-05|14:58:11] Database compacting, degraded performance database=/home/brandon/.ethereum/geth/chaindata
WARN [07-05|14:59:11] Database compacting, degraded performance database=/home/brandon/.ethereum/geth/chaindata
WARN [07-05|15:00:12] Database compacting, degraded performance database=/home/brandon/.ethereum/geth/chaindata

^CWARN [07-05|19:22:32] Already shutting down, interrupt more to panic. times=1
^Cpanic: boom

goroutine 163 [running]:
github.com/ethereum/go-ethereum/internal/debug.LoudPanic(0xe106a0, 0x1159cd0)
/home/brandon/repos/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/internal/debug/loudpanic.go:26 +0x4e
github.com/ethereum/go-ethereum/cmd/utils.StartNode.func1(0xc420327180)
/home/brandon/repos/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/cmd/utils/cmd.go:84 +0x26b
created by github.com/ethereum/go-ethereum/cmd/utils.StartNode
/home/brandon/repos/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/cmd/utils/cmd.go:70 +0xb7

goroutine 1 [chan receive, 4055 minutes]:
github.com/ethereum/go-ethereum/node.(*Node).Wait(0xc420327180)
/home/brandon/repos/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/node/node.go:464 +0x7f
main.geth(0xc4204e2000, 0xc4204bfd48, 0xc4204e4000)
/home/brandon/repos/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:238 +0x51
github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli%2ev1.HandleAction(0xe29980, 0x1030500, 0xc4204e2000, 0xc4204e2000, 0xc4204bff40)
/home/brandon/repos/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1/app.go:490 +0xd2
github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli%2ev1.(*App).Run(0xc42007b6c0, 0xc4200100b0, 0xb, 0xb, 0x0, 0x0)
/home/brandon/repos/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1/app.go:264 +0x635
main.main()
/home/brandon/repos/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:226 +0x55

goroutine 6 [chan receive, 4055 minutes]:
github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify.(*nonrecursiveTree).dispatch(0xc42005e1e0, 0xc42005e120)
/home/brandon/repos/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify/tree_nonrecursive.go:36 +0xc0
created by github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify.newNonrecursiveTree
/home/brandon/repos/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify/tree_nonrecursive.go:29 +0x149

goroutine 7 [chan receive, 4055 minutes]:
github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify.(*nonrecursiveTree).internal(0xc42005e1e0, 0xc42005e180)
/home/brandon/repos/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify/tree_nonrecursive.go:81 +0x88
created by github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify.newNonrecursiveTree
/home/brandon/repos/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify/tree_nonrecursive.go:30 +0x178
goroutine 8 [syscall]: [731/45080]
os/signal.signal_recv(0x187ab60)
/usr/local/go/src/runtime/sigqueue.go:131 +0xa6
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
/usr/local/go/src/os/signal/signal_unix.go:28 +0x41

goroutine 9 [chan receive, 264 minutes]:
github.com/ether

This post was last modified on July 6, 2018, 4:56 am