erigon icon indicating copy to clipboard operation
erigon copied to clipboard

Cannot shutdown

Open gus4rs opened this issue 3 years ago • 1 comments

erigon version 2022.08.1-alpha-7dabdc32

stopping the system process hangs. Last print logs:

Aug 11 13:51:46 erigon[2458600]: [INFO] [08-11|13:51:46.477] RPC server shutting down
Aug 11 13:51:46 erigon[2458600]: [WARN] [08-11|13:51:46.477] Failed to serve http endpoint            err="http: Server closed"
Aug 11 13:51:46 erigon[2458600]: [INFO] [08-11|13:51:46.478] HTTP endpoint closed                     url=127.0.0.1:9555
Aug 11 13:51:46 erigon[2458600]: [INFO] [08-11|13:51:46.478] Engine HTTP endpoint close               url=localhost:9552
Aug 11 13:51:46 erigon[2458600]: [INFO] [08-11|13:51:46.606] Timings (slower than 50ms)               Headers=3h30m21.926s Prune Senders=119ms
Aug 11 13:51:46 erigon[2458600]: [INFO] [08-11|13:51:46.606] Tables                                   PlainState=10.7GB AccountChangeSet=141.7MB StorageChangeSet=656.2MB BlockTransaction=30.1GB TransactionLog=28.3GB FreeList=4.0KB ReclaimableSpace=4.0MB
Aug 11 13:51:46 erigon[2458600]: [INFO] [08-11|13:51:46.611] [snapshots] Retire Blocks                range=7100k-7200k
Aug 11 13:51:46 erigon[2458600]: [INFO] [08-11|13:51:46.680] Commit cycle                             in=74.632367ms
Aug 11 13:51:46 erigon[2458600]: [INFO] [08-11|13:51:46.688] RPC Daemon notified of new headers       from=7382818 to=7382819 header sending=38.49µs log sending=577ns
Aug 11 13:51:46 erigon[2458600]: [INFO] [08-11|13:51:46.688] [1/16 Headers] Waiting for Beacon Chain...

Need to manually kill it

gus4rs avatar Aug 11 '22 12:08 gus4rs

I saw this issue yesterday too, will investigate.

revitteth avatar Aug 12 '22 08:08 revitteth

Possibly related: https://github.com/ledgerwatch/erigon/issues/5094

revitteth avatar Sep 01 '22 10:09 revitteth

I am no longer able to reproduce this issue in the latest versions. It was probably fixed by https://github.com/ledgerwatch/erigon/pull/5194 . @guzkodes are you still having the issue?

nanevardanyan avatar Sep 03 '22 06:09 nanevardanyan

It started to manifest after the merge on Göerli, and it still happens. On mainnet it works fine.

gus4rs avatar Sep 03 '22 06:09 gus4rs

@guzkodes is that still with version 2022.08.1-alpha-7dabdc32 or latest devel?

revitteth avatar Sep 05 '22 07:09 revitteth

erigon version 2022.08.3-alpha-defbddf8

gus4rs avatar Sep 05 '22 07:09 gus4rs

@guzkodes I guess that is 'yes' to latest version?

revitteth avatar Sep 05 '22 07:09 revitteth

Closing as merged to devel.

revitteth avatar Sep 06 '22 15:09 revitteth

I am still seeing this issue in v2022.09.01, which it looks like https://github.com/ledgerwatch/erigon/pull/5194 is included in.

dancoombs avatar Sep 07 '22 18:09 dancoombs

I am still seeing this issue in v2022.09.01, which it looks like #5194 is included in.

@dancoombs the fix is here: https://github.com/ledgerwatch/erigon/pull/5286

revitteth avatar Sep 07 '22 23:09 revitteth