erigontech / erigon

Ethereum implementation on the efficiency frontier https://erigon.gitbook.io
GNU Lesser General Public License v3.0
3.14k stars 1.13k forks source link

polygon [txpool] flush: sender address not found by ID senderID=3156151 #8045

Open fylsan3 opened 1 year ago

fylsan3 commented 1 year ago

System information

Erigon version: erigon version 2.48.1-stable-674b77f0

OS & Version: Ubuntu 20.04.4 LTS

Commit hash: 674b77f0

Erigon Command (with flags/config):nohup /data/polygon/erigon/build/bin/erigon --chain=bor-mainnet \ --datadir='/data/polygon/' \ --maxpeers='500' --torrent.upload.rate='128mb' \ --torrent.download.rate='128mb' \ --bor.heimdall='https://heimdall-api.polygon.technology' \ --ethash.dagdir='/data/polygon/ethash/' \ --http --http.corsdomain='' \ --http.addr='0.0.0.0' \ --http.api='erigon,web3,eth,net,engine,admin,trace,debug,txpool' \ --ws --http.vhosts='' \ --rpc.gascap 100000000 --rpc.returndata.limit 1000000 --rpc.batch.limit 1000 \ --db.size.limit 8TB \ --sentry.drop-useless-peers=true \

/data/polygon/sync.log 2>&1 &

[WARN] [08-21|01:53:04.480] [txpool] flush: sender address not found by ID senderID=3156151
[WARN] [08-21|01:53:04.481] [txpool] flush: sender address not found by ID senderID=3156151
[INFO] [08-21|01:53:10.472] [2/15 Headers] No block headers to write in this log period block number=46559346
[WARN] [08-21|01:53:19.710] [txpool] flush: sender address not found by ID senderID=3156151
[WARN] [08-21|01:53:19.712] [txpool] flush: sender address not found by ID senderID=3156151
[INFO] [08-21|01:53:30.472] [2/15 Headers] No block headers to write in this log period block number=46559346
[WARN] [08-21|01:53:34.941] [txpool] flush: sender address not found by ID senderID=3156151
[WARN] [08-21|01:53:34.941] [txpool] flush: sender address not found by ID senderID=3156151
[WARN] [08-21|01:53:50.171] [txpool] flush: sender address not found by ID senderID=3156151
[WARN] [08-21|01:53:50.172] [txpool] flush: sender address not found by ID senderID=3156151
[INFO] [08-21|01:53:50.472] [2/15 Headers] No block headers to write in this log period block number=46559346
[INFO] [08-21|01:53:59.944] [txpool] stat                            pending=9128 baseFee=13106 queued=30000 alloc=4.3GB sys=13.1GB
[WARN] [08-21|01:54:05.402] [txpool] flush: sender address not found by ID senderID=3156151
[WARN] [08-21|01:54:05.403] [txpool] flush: sender address not found by ID senderID=3156151
[INFO] [08-21|01:54:10.472] [2/15 Headers] No block headers to write in this log period block number=46559346
[WARN] [08-21|01:54:20.633] [txpool] flush: sender address not found by ID senderID=3156151
[WARN] [08-21|01:54:20.634] [txpool] flush: sender address not found by ID senderID=3156151
[INFO] [08-21|01:54:30.472] [2/15 Headers] No block headers to write in this log period block number=46559346
[INFO] [08-21|01:54:30.472] Req/resp stats                           req=0 reqMin=0 reqMax=0 skel=14 skelMin=46559345 skelMax=46559537 resp=0 respMin=0 respMax=0 dups=0
[WARN] [08-21|01:54:35.864] [txpool] flush: sender address not found by ID senderID=3156151
[WARN] [08-21|01:54:35.865] [txpool] flush: sender address not found by ID senderID=3156151
[INFO] [08-21|01:54:50.472] [2/15 Headers] No block headers to write in this log period block number=46559346
[INFO] [08-21|01:54:50.472] Req/resp stats                           req=0 reqMin=0 reqMax=0 skel=15 skelMin=46559345 skelMax=46559537 resp=0 respMin=0 respMax=0 dups=0
[WARN] [08-21|01:54:51.094] [txpool] flush: sender address not found by ID senderID=3156151
[WARN] [08-21|01:54:51.095] [txpool] flush: sender address not found by ID senderID=3156151
[INFO] [08-21|01:54:55.993] [2/15 Headers] Processed                 highest inserted=46559451 age=6s
[INFO] [08-21|01:54:55.993] [2/15 Headers] DONE                      in=2m5.521714657s
[INFO] [08-21|01:54:56.005] [5/15 Bodies] Processing bodies...       from=46559341 to=46559451
[INFO] [08-21|01:54:59.492] [p2p] GoodPeers                          eth66=4
[INFO] [08-21|01:54:59.948] [txpool] stat                            pending=9128 baseFee=13106 queued=30000 alloc=4.5GB sys=13.1GB
[WARN] [08-21|01:55:06.323] [txpool] flush: sender address not found by ID senderID=3156151
[WARN] [08-21|01:55:06.325] [txpool] flush: sender address not found by ID senderID=3156151
[INFO] [08-21|01:55:16.005] [5/15 Bodies] Downloading block bodies   block_num=46559441 delivery/sec=207.2KB wasted/sec=0B remaining=9 delivered=100 cache=1.9MB alloc=4.1GB sys=13.1GB
[WARN] [08-21|01:55:21.554] [txpool] flush: sender address not found by ID senderID=3156151
[WARN] [08-21|01:55:21.556] [txpool] flush: sender address not found by ID senderID=3156151
[INFO] [08-21|01:55:36.006] [5/15 Bodies] No block bodies to write in this log period block number=46559441
[WARN] [08-21|01:55:36.786] [txpool] flush: sender address not found by ID senderID=3156151
[WARN] [08-21|01:55:36.786] [txpool] flush: sender address not found by ID senderID=3156151
[WARN] [08-21|01:55:52.015] [txpool] flush: sender address not found by ID senderID=3156151
[WARN] [08-21|01:55:52.017] [txpool] flush: sender address not found by ID senderID=3156151
[INFO] [08-21|01:55:56.006] [5/15 Bodies] No block bodies to write in this log period block number=46559441
[INFO] [08-21|01:55:59.944] [txpool] stat                            pending=9128 baseFee=13106 queued=30000 alloc=4.3GB sys=13.1GB
[WARN] [08-21|01:56:07.245] [txpool] flush: sender address not found by ID senderID=3156151
[WARN] [08-21|01:56:07.247] [txpool] flush: sender address not found by ID senderID=3156151

Synchronization often lags behind and has not been working properly since using version 2.48.0 Please fix this issue, it will exist for a period of time and recover on its own

fylsan3 commented 1 year ago

29 lags within 12 hours WeChatc2285a01e3871fb07b60d3488bd42c5b

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 40 days with no activity. Remove stale label or comment, or this will be closed in 7 days.

MrFreezeDZ commented 1 year ago

We experience the same problem with Version v2.52.5 with two different senderIDs in the logs.

AJIekceu4 commented 8 months ago

The same warning occurs on version 2.58.2 on Ubuntu (every 20-30 seconds day by day):

Mar 14 07:43:10 backup2 erigon[1617922]: [WARN] [03-14|07:43:10.045] [txpool] flush: sender address not found by ID senderID=14107
Mar 14 07:43:25 backup2 erigon[1617922]: [WARN] [03-14|07:43:25.110] [txpool] flush: sender address not found by ID senderID=14107
Mar 14 07:43:40 backup2 erigon[1617922]: [WARN] [03-14|07:43:40.179] [txpool] flush: sender address not found by ID senderID=14107
Mar 14 07:43:55 backup2 erigon[1617922]: [WARN] [03-14|07:43:55.241] [txpool] flush: sender address not found by ID senderID=14107
Mar 14 07:44:10 backup2 erigon[1617922]: [WARN] [03-14|07:44:10.305] [txpool] flush: sender address not found by ID senderID=14107
Mar 14 07:44:25 backup2 erigon[1617922]: [WARN] [03-14|07:44:25.367] [txpool] flush: sender address not found by ID senderID=14107

Moreover, if Erigon is restarted, the error in the logs disappears, but after some time, it appears again, but with a different senderID. Exactly the same behavior was observed in the two previous release versions.

godsflaw commented 7 months ago

bump