Skip to content

Commit

Permalink
more lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandratran committed Dec 3, 2024
1 parent 4d50949 commit 8c5dad2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion docs/get-started/manage-memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<Tabs>
<TabItem value="Environment variable" label="Environment variable" default>
Expand Down
7 changes: 3 additions & 4 deletions docs/get-started/start-teku.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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

0 comments on commit 8c5dad2

Please sign in to comment.