These are some recommended specs to a ZetaChain node.
Node Type | CPU | Memory | Data Disk |
---|---|---|---|
Observer Signer | 8 CPUs | 32 GB Memory | 300+ GB Data Disk |
Core Validator | 4 CPUs | 16 GB Memory | 300+ GB Data Disk |
ZetaChain nodes have been developed and tested on x86_64 architecture. Our binary files have been compiled with Ubuntu 22.04 LTS x86_64. This guide assumes you are using Ubuntu 22.04 LTS x86_64. If you are using a different OS you may need to make some adjustments.
To better manage the resources of your nodes, we recommend setting some limits on the maximum number of open file descriptors (nofile) and maximum number of processes (nproc).
Edit /etc/security/limits.conf
to include or modify the following parameters:
* soft nproc 262144
* hard nproc 262144
* soft nofile 262144
* hard nofile 262144
Edit /etc/sysctl.conf
to include the following:
fs.file-max=262144
In a production environment we recommend monitoring the node resources (CPU load, Memory Usage, Disk usage and Disk IO) for any performance degradation.
Prometheus can optionally be enabled to serve metrics which can be consumed by Prometheus collector(s). Telemetry include Prometheus metrics can be enabled in the app.toml file. See the CosmosSDK Telemetry Documentation for more information.