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

Memory depletion during the synchronization of the Shiden network node #1117

Closed
TomaszWaszczyk opened this issue Dec 29, 2023 · 9 comments
Closed
Labels
bug Something isn't working Stale

Comments

@TomaszWaszczyk
Copy link

TomaszWaszczyk commented Dec 29, 2023

Description

I try to make a fully sync of Shiden network, but I am not able to do it.

Steps to Reproduce

All made according to documentation with and without wrap mode with and without -- --wrap flag.

Expected vs. Actual Behavior

Obtain fully sync node.

Environment

Describe the environment in which you encountered this bug. Use the list below as a starting point and add additional information if you think it's relevant.

  • Operating system: GNU Debian 12.2
  • Project version/tag: v5.28.0 but I was trying also with a few last versions, too.

Additional Information

Initially, I attempted to synchronize with 32GB of RAM and 32GB of swap, contemplating whether expanding the swap to 64GB could alleviate the issue. Regrettably, even with an additional 64GB of swap, the problem persisted. Out of memory occurs around after ~40hrs of synchronization.

@TomaszWaszczyk TomaszWaszczyk added the bug Something isn't working label Dec 29, 2023
@ashutoshvarma
Copy link
Member

Can you share the logs and the full command used to start the node?

@TomaszWaszczyk
Copy link
Author

TomaszWaszczyk commented Dec 29, 2023

Commands like:

./astar-collator \
  --collator \
  --name 'test-name' \
  --chain shiden \
  --base-path /var/lib/astar \
  --pruning archive \
  --trie-cache-size 0 \
  --telemetry-url 'wss://telemetry.polkadot.io/submit/ 0'

or

./astar-collator \
  --collator \
  --name 'test-name' \
  --chain shiden \
  --base-path /var/lib/astar \
  --trie-cache-size 0 \
  --telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
  -- \
  --warp

or

ExecStart=/home/collator/astar-collator \
			--chain 'shiden' \
			--rpc-cors all \
                        --base-path '/home/shiden/' \
                        --name 'name' \
                        --rpc-port 9933 \
			--state-pruning archive \
			--blocks-pruning archive \
			--prometheus-external \
                        --telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
			-- --sync warp

Unfortunately, I don't have logs as I've removed them. I try sync next time, and if I have logs, I'll update the issue.

@asggWa

This comment was marked as spam.

@asggWa

This comment was marked as spam.

@asggWa

This comment was marked as spam.

@asggWa

This comment was marked as spam.

@asggWa

This comment was marked as spam.

Copy link

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

@github-actions github-actions bot added the Stale label Feb 18, 2024
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

3 participants