-
Notifications
You must be signed in to change notification settings - Fork 61
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
extreamly slow booting #207
Comments
This may happen if there was an abnormal shutdown and |
Upgraded latest parity-db, the slow boot problem still exists (it takes about 8 minutes to start the node which using Azure premium SSD), here's another flaming graph UPDATE: after a very slow boot, re-run the node and it finish booting nearly instantly, what's the magic? |
Here's another flaming graph for the node stuck on exiting |
Are you sure this database was created with parity-db 0.4.7? Previous versions created a long queue of write-ahead log files that would take a long time to process on start. So if you already a database created by an older version and open it with 0.4.7, it will be slow the first time. |
I can confirm I'm using 0.4.7, and I have removed the old database before I do the new sync. The boot time is faster than the previous version (the previous will take more than half an hour to start, 0.4.7 about 7 minutes) |
What does |
|
|
This looks normal. If it takes 8 minutes to fsync ~500Mb to the disk, you might be hitting IOPS limits on the disk or VM. Check your VM configuration or try on a different hardware. |
Come from paritytech/polkadot-sdk#13
I'd catch nperf data from my Azure VM (premium SSD), and the node running in a Docker container, nperf running in the container too.
The current status is the node is stuck on booting, and it is not because of Cumulus reason, and the node is fresh sync last week (stop when speed reduced to 0 bps)
Here are flaming graphs I record the boot starting
flaminggraph.zip
the file system is ext4 without any configuration, the node is
--state-pruning=archive-canonical --blocks-pruning=archive-canonical
The text was updated successfully, but these errors were encountered: