[General] Local ZkSync Node Is Shutting Down When Sending Many Transactions At A Same Time #792
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
It seems like your local ZKsync node is experiencing shutdowns when handling a high volume of transactions. This could be due to several reasons such as resource limitations (CPU, RAM), improper node configuration, or issues within the node software itself that may not handle burst loads efficiently. Here are a few steps you can take to troubleshoot and potentially resolve the issue:
If the problem persists, you might want to provide detailed logs and system information in a discussion on the ZKsync developers forum for more tailored support. Your feedback helps us serve you better. If this fully addresses your question, please give it a thumbs up. If it doesn't, please give it a thumbs down. This will inform the community and team so we can improve our support. |
Beta Was this translation helpful? Give feedback.
-
Hi @FaizanNehal — It’s likely because, in a local setup, the file system is used as an object store. When the node tries to write too many files from a single process, the OS may shut it down. An easy fix is to avoid running the A more robust (but costlier) solution is to switch to using GCS as an object store. |
Beta Was this translation helpful? Give feedback.
-
Hi @kaymomin thanks for the info. How can I avoid running the I have followed this guideline: |
Beta Was this translation helpful? Give feedback.
Seems like by default, these components are started:
The
bwip
component isn’t part of this default set, so its not running anyway.But if you want to avoid running any specific component, you’ll need to explicitly specify the components you do want to run. For example, if you don’t want to run the
da_dispatcher
, you’d use:zkstack server --components api,tree,eth,state_keeper,housekeeper,commitment_generator,vm_runner_protective_reads
Try this approach, and let me know if it's still causing issues.