Skip to content

Syncing problem #4840

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

Closed
AlirezaO opened this issue Dec 13, 2022 · 0 comments
Closed

Syncing problem #4840

AlirezaO opened this issue Dec 13, 2022 · 0 comments

Comments

@AlirezaO
Copy link

System information

OS: Linux
JVM: Red Hat, Inc. 1.8.0_352 amd64
version: 4.5.2

Java version:
OpenJDK version "1.8.0_352"

1. What did you do?

I followed the tutorial on running a full node.
the build was successful.
When I tried to sync the node from the beginning, it started without any problem and the blocks were syncing correctly.

2. What did you expect to see?

when I tried to sync the node again using the snapshot I downloaded, I expected the node to continue syncing the blocks from snapshot
I used this command to sync:
sudo java -Xmx100g -XX:+UseConcMarkSweepGC -jar /home/rocky/Documents/java-tron/build/libs/FullNode.jar -c main_net_config.conf -d ~/Documents/output-directory/output-directory/

3. What did you see instead?

instead of syncing, the log file is stuck at this:


03:00:57.733 INFO  [main] [app](FullNode.java:68) not in debug mode, it will check energy time
03:00:57.928 INFO  [main] [o.t.c.a.TronApplicationContext](AbstractApplicationContext.java:578) Refreshing org.tron.common.application.TronApplicationContext@3738449f: startup date [Tue Dec 13 03:00:57 EST 2022]; root of context hierarchy
03:01:01.422 INFO  [main] [o.s.b.f.a.AutowiredAnnotationBeanPostProcessor](AutowiredAnnotationBeanPostProcessor.java:153) JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
03:01:01.970 INFO  [main] [DB](LevelDbDataSourceImpl.java:136) DB account open success with : writeBufferSize 256M,cacheSize 32M,maxOpenFiles 100.
03:01:01.994 INFO  [main] [app](DefaultConfig.java:61) key-value data source created.
03:01:02.007 INFO  [main] [DB](LevelDbDataSourceImpl.java:136) DB tmp open success with : writeBufferSize 16M,cacheSize 32M,maxOpenFiles 100.
03:01:02.068 INFO  [main] [DB](LevelDbDataSourceImpl.java:136) DB accountTrie open success with : writeBufferSize 16M,cacheSize 32M,maxOpenFiles 100.
03:01:02.130 INFO  [main] [DB](LevelDbDataSourceImpl.java:136) DB balance-trace open success with : writeBufferSize 16M,cacheSize 32M,maxOpenFiles 100.
03:01:02.167 INFO  [main] [DB](LevelDbDataSourceImpl.java:136) DB account-trace open success with : writeBufferSize 16M,cacheSize 32M,maxOpenFiles 100.
03:01:02.216 INFO  [main] [DB](LevelDbDataSourceImpl.java:136) DB properties open success with : writeBufferSize 16M,cacheSize 32M,maxOpenFiles 100.
03:01:02.494 INFO  [main] [DB](LevelDbDataSourceImpl.java:136) DB account-asset open success with : writeBufferSize 16M,cacheSize 32M,maxOpenFiles 100.

Why isn't the log updating and the node is not syncing?

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

1 participant