From 8c5dad2f269fb52930b8fc0d16c03360f33f93d0 Mon Sep 17 00:00:00 2001 From: Alexandra Tran Date: Tue, 3 Dec 2024 12:55:13 -0800 Subject: [PATCH] more lint fixes --- docs/get-started/manage-memory.md | 3 ++- docs/get-started/start-teku.md | 7 +++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/get-started/manage-memory.md b/docs/get-started/manage-memory.md index 82daf6ac4..0643a7f10 100644 --- a/docs/get-started/manage-memory.md +++ b/docs/get-started/manage-memory.md @@ -41,7 +41,8 @@ The node uses more RAM to perform better if it’s available, especially during ## Manage the heap dump If an out of memory error occurs, the heap dump file is placed in the directory that Teku runs from. -The heap dump file is potentially large (1-2 GB), to specify the directory to place the file, set the `-XX:HeapDumpPath` Java option to the required path. +The heap dump file can be 1-2 GB in size. +To specify the directory to place the file, set the `-XX:HeapDumpPath` Java option to the required path. diff --git a/docs/get-started/start-teku.md b/docs/get-started/start-teku.md index e7e68c9c8..3d1d562fa 100644 --- a/docs/get-started/start-teku.md +++ b/docs/get-started/start-teku.md @@ -151,11 +151,12 @@ To correct this, make the appropriate changes to the setup and then restart Teku The exit codes for Teku are important to understand so that you know how to approach a restart and mitigate the issue. -The **service unit configuration** file is an example of how status codes can be used. `RestartPreventExitStatus=` and `RestartForceExitStatus=` can be used to automatically restart Teku or stop it in case of failure. +The **service unit configuration** file is an example of how status codes can be used. +`RestartPreventExitStatus=` and `RestartForceExitStatus=` can be used to automatically restart Teku or stop it in case of failure. The following is an example of a [`systemd.service`](https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html) file: -``` +```text RestartForceExitStatus=1 RestartPreventExitStatus=2 ``` @@ -164,7 +165,5 @@ RestartPreventExitStatus=2 [validator clients]: #start-the-validator [running beacon node]: #start-the-beacon-node -[Validator keystores]: connect/testnet.md#generate-the-validators-and-send-the-deposits -[password files]: connect/testnet.md#create-a-password-file-for-each-validator-key [slashable offense]: ../concepts/slashing-protection.md [single process]: #start-the-clients-in-a-single-process