Skip to content
English
  • There are no suggestions because the search field is empty.

How to update the CPU core and Driver Memory

  1.  Login to VM via zetaris user or switch to zetaris user after login.
    sudo su - zetaris
  2. Stop the Lightning server using:
    1. sudo service lightning-server stop

       

  3. Go to path 
    1. cd /home/zetaris/.environment
  4. Open the file server_env
    1.  vi server_env
  5. For a VM with 16 GB RAM ,update ZSPARK_DRIVER_CORES to 4 and  ZSPARK_DRIVER_MEM to 10GB. As shown below
     <The below values should be based on the selected VM size. It is recommended to consult Zetaris before making any changes to these values. The SPARK_DRIVER_MEM and SPARK_EXECUTOR_MEM can be configured up to (Available RAM -8GB) >
ZSPARK_DRIVER_CORES=4. 

ZSPARK_DRIVER_MEM=10g

 

. Save the file using the below command
!wq

 

6.  Start the Lightning server and check status using:
    1. sudo service lightning-server start
    2. sudo service lightning-server status