Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always a few hundred blocks behind #34

Closed
harveyff opened this issue Apr 23, 2023 · 3 comments
Closed

Always a few hundred blocks behind #34

harveyff opened this issue Apr 23, 2023 · 3 comments

Comments

@harveyff
Copy link

System information

Erigon version: ./erigon --version
v1.0.2 3da15fc
OS & Version: Windows/Linux/OSX
Linux
Commit hash:
./build/bin/erigon --datadir="/data/bsc" --chain=bsc --port=30303 --http.port=8545 --authrpc.port=8551 --torrent.port=42069 --private.api.addr=127.0.0.1:9090 --http --ws --http.api=web3,net,eth,debug,trace,txpool --http.corsdomain=* --http.addr=0.0.0.0 --http.vhosts=* --snapshots=false bootnodes=enode://1cc4534b14cfe351ab740a1418ab944a234ca2f702915eadb7e558a02010cb7c5a8c295a3b56bcefa7701c07752acd5539cb13df2aab8ae2d98934d712611443@52.71.43.172:30311,enode://28b1d16562dac280dacaaf45d54516b85bc6c994252a9825c5cc4e080d3e53446d05f63ba495ea7d44d6c316b54cd92b245c5c328c37da24605c4a93a0d099c4@34.246.65.14:30311,enode://5a7b996048d1b0a07683a949662c87c09b55247ce774aeee10bb886892e586e3c604564393292e38ef43c023ee9981e1f8b335766ec4f0f256e57f8640b079d5@35.73.137.11:30311 --bodies.cache=214748364800 --batchSize=4096M --db.pagesize=16k --maxpeers=500

Hi,
Thank you for your great work,

In the last week, it has been lagging behind by about 500 blocks, and it was only about 50 blocks behind in the previous week. It feels like it is always chasing blocks, and it has never been completed. I have used erigon for several months, and I remember that it has always been relatively stable. What is the reason for this? Is there any hope of getting this to work?

INFO] [04-23|07:59:24.270] [txpool] stat                            pending=2378 baseFee=8 queued=530 alloc=3.4GB sys=9.1GB
[INFO] [04-23|07:59:28.827] [2/15 Headers] No block headers to write in this log period block number=27593858
[INFO] [04-23|07:59:48.827] [2/15 Headers] No block headers to write in this log period block number=27593858
[INFO] [04-23|08:00:00.131] [2/15 Headers] Processed                 highest inserted=27593889 age=52s
[INFO] [04-23|08:00:00.132] [2/15 Headers] DONE                      in=9m31.304740802s
[INFO] [04-23|08:00:00.423] [5/15 Bodies] Processing bodies...       from=27593480 to=27593889
[INFO] [04-23|08:00:20.424] [5/15 Bodies] Downloading block bodies   block_num=27593582 delivery/sec=909.8KB wasted/sec=0B remaining=306 delivered=288 cache=11.6MB alloc=3.8GB sys=9.1GB
[INFO] [04-23|08:00:24.268] [txpool] stat                            pending=2456 baseFee=8 queued=533 alloc=3.8GB sys=9.1GB
[INFO] [04-23|08:00:30.391] [5/15 Bodies] Processed                  highest=27593889
[INFO] [04-23|08:00:30.391] [6/15 Senders] Started                   from=27593480 to=27593889
[INFO] [04-23|08:00:31.883] [7/15 Execution] Blocks execution        from=27593480 to=27593889
[INFO] [04-23|08:00:51.905] [7/15 Execution] Executed blocks         number=27593531 blk/s=2.5 tx/s=447.2 Mgas/s=70.5 gasState=0.00 batch=1.8MB alloc=3.7GB sys=9.1GB
[INFO] [04-23|08:01:12.331] [7/15 Execution] Executed blocks         number=27593593 blk/s=3.0 tx/s=527.6 Mgas/s=83.8 gasState=0.01 batch=4.3MB alloc=4.3GB sys=9.1GB
[INFO] [04-23|08:01:23.758] [p2p] GoodPeers                          eth66=15 eth68=14
[INFO] [04-23|08:01:24.270] [txpool] stat                            pending=2520 baseFee=9 queued=539 alloc=4.6GB sys=9.1GB
[INFO] [04-23|08:01:31.896] [7/15 Execution] Executed blocks         number=27593658 blk/s=3.3 tx/s=602.8 Mgas/s=90.7 gasState=0.01 batch=7.3MB alloc=4.9GB sys=9.1GB
[INFO] [04-23|08:01:52.406] [7/15 Execution] Executed blocks         number=27593723 blk/s=3.2 tx/s=568.2 Mgas/s=87.2 gasState=0.01 batch=10.3MB alloc=5.4GB sys=9.1GB
[INFO] [04-23|08:02:11.937] [7/15 Execution] Executed blocks         number=27593792 blk/s=3.5 tx/s=628.9 Mgas/s=93.4 gasState=0.02 batch=13.3MB alloc=3.7GB sys=9.1GB
[INFO] [04-23|08:02:27.267] [txpool] stat                            pending=2590 baseFee=9 queued=544 alloc=4.1GB sys=9.1GB
[INFO] [04-23|08:02:32.043] [7/15 Execution] Executed blocks         number=27593868 blk/s=3.8 tx/s=634.1 Mgas/s=88.2 gasState=0.02 batch=16.4MB alloc=4.2GB sys=9.1GB
[INFO] [04-23|08:03:02.403] [7/15 Execution] Completed on            block=27593889
[INFO] [04-23|08:03:02.403] [7/15 Execution] DONE                    in=2m30.519920731s
[INFO] [04-23|08:03:02.403] [8/15 HashState] Promoting plain state   from=27593480 to=27593889
[INFO] [04-23|08:03:02.403] [8/15 HashState] Incremental promotion   from=27593480 to=27593889 codes=true csbucket=AccountChangeSet
[INFO] [04-23|08:03:20.987] [8/15 HashState] Incremental promotion   from=27593480 to=27593889 codes=false csbucket=AccountChangeSet
[INFO] [04-23|08:03:23.758] [p2p] GoodPeers                          eth66=15 eth68=14
[INFO] [04-23|08:03:24.270] [txpool] stat                            pending=2684 baseFee=9 queued=559 alloc=5.0GB sys=9.1GB
[INFO] [04-23|08:03:51.794] [8/15 HashState] ETL [2/2] Loading       into=HashedAccount current_prefix=ea56aac2
[INFO] [04-23|08:03:54.919] [8/15 HashState] Incremental promotion   from=27593480 to=27593889 codes=false csbucket=StorageChangeSet
[INFO] [04-23|08:04:24.268] [txpool] stat                            pending=2767 baseFee=9 queued=605 alloc=3.5GB sys=9.1GB
[INFO] [04-23|08:04:27.289] [8/15 HashState] ETL [2/2] Loading       into=HashedStorage current_prefix=d97dd5b8
[INFO] [04-23|08:04:57.290] [8/15 HashState] ETL [2/2] Loading       into=HashedStorage current_prefix=e9dae3d7
[INFO] [04-23|08:05:18.390] [8/15 HashState] DONE                    in=2m15.987694342s
[INFO] [04-23|08:05:18.391] [9/15 IntermediateHashes] Generating intermediate hashes from=27593480 to=27593889
[INFO] [04-23|08:05:23.757] [p2p] GoodPeers                          eth66=15 eth68=14
[INFO] [04-23|08:05:24.270] [txpool] stat                            pending=2818 baseFee=9 queued=670 alloc=4.3GB sys=9.1GB
[INFO] [04-23|08:05:52.250] [9/15 IntermediateHashes] Calculating Merkle root current key=4fef3f1c
[INFO] [04-23|08:06:22.254] [9/15 IntermediateHashes] Calculating Merkle root current key=9e68529e
[INFO] [04-23|08:06:24.268] [txpool] stat                            pending=3586 baseFee=9 queued=765 alloc=3.9GB sys=9.1GB
[INFO] [04-23|08:07:00.632] [9/15 IntermediateHashes] Calculating Merkle root current key=d97dd5b8
[INFO] [04-23|08:07:23.758] [p2p] GoodPeers                          eth66=15 eth68=14
[INFO] [04-23|08:07:33.281] [txpool] stat                            pending=3665 baseFee=9 queued=812 alloc=5.8GB sys=9.1GB
[INFO] [04-23|08:07:41.072] [9/15 IntermediateHashes] Calculating Merkle root current key=e9dae3d7
[INFO] [04-23|08:07:52.505] [9/15 IntermediateHashes] Calculating Merkle root current key=fe1c2c3b
[INFO] [04-23|08:08:14.671] [9/15 IntermediateHashes] DONE           in=2m56.280062354s
[INFO] [04-23|08:08:15.242] [10/15 CallTraces] Pruned call trace intermediate table from=27503480 to=27503888
[INFO] [04-23|08:08:24.268] [txpool] stat                            pending=3757 baseFee=9 queued=854 alloc=4.1GB sys=9.1GB
[INFO] [04-23|08:08:45.332] [10/15 CallTraces] ETL [2/2] Loading     into=CallFromIndex current_prefix=bd902132
[INFO] [04-23|08:09:23.758] [p2p] GoodPeers                          eth68=14 eth66=15
[INFO] [04-23|08:09:24.272] [txpool] stat                            pending=3838 baseFee=9 queued=906 alloc=4.9GB sys=9.1GB
[INFO] [04-23|08:09:25.567] [10/15 CallTraces] DONE                  in=1m10.896425372s
[INFO] [04-23|08:09:55.879] [11/15 AccountHistoryIndex] ETL [2/2] Loading into=AccountHistory current_prefix=bf2a2fa0
[INFO] [04-23|08:10:24.268] [txpool] stat                            pending=3945 baseFee=9 queued=941 alloc=3.9GB sys=9.1GB
[INFO] [04-23|08:10:39.026] [12/15 StorageHistoryIndex] ETL [2/2] Loading into=StorageHistory current_prefix=55d39832
[INFO] [04-23|08:11:09.026] [12/15 StorageHistoryIndex] ETL [2/2] Loading into=StorageHistory current_prefix=e3b1d32e
[INFO] [04-23|08:11:15.907] [12/15 StorageHistoryIndex] DONE         in=1m8.279033927s
[INFO] [04-23|08:11:15.907] [13/15 LogIndex] processing              from=27593481 to=27593889

@blxdyx
Copy link
Collaborator

blxdyx commented Apr 26, 2023

Maybe you can refer this
#41

@harveyff
Copy link
Author

ths

@icculp
Copy link

icculp commented May 14, 2023

Did anyone figure this out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants