Skip to content

Commit

Permalink
Add jemalloc as linux prereq (#1319)
Browse files Browse the repository at this point in the history
* Add jemalloc as linux prereq

Signed-off-by: Alexandra Tran <alexandra.tran@consensys.net>

* add "jemalloc" to vocab

Signed-off-by: Alexandra Tran <alexandra.tran@consensys.net>

* change from pre-req to tip

Signed-off-by: Alexandra Tran <alexandra.tran@consensys.net>

* move tip box

Signed-off-by: Alexandra Tran <alexandra.tran@consensys.net>

---------

Signed-off-by: Alexandra Tran <alexandra.tran@consensys.net>
  • Loading branch information
alexandratran committed May 9, 2023
1 parent 0ea9f7f commit e024a39
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions CI/vale/styles/Vocab/Besu/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Infura
Italiane
Jasypt
Javadoc
jemalloc
JMeter
JSON
jnacl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,19 @@ besu --help

### Prerequisites

* [Java JDK](https://www.oracle.com/java/technologies/downloads/)
* [Java JDK 17+](https://www.oracle.com/java/technologies/downloads/)

!!! note "Linux open file limit"

If synchronizing to Mainnet on Linux or other chains with large data requirements, increase the
maximum number of open files allowed using `ulimit`. If the open files limit is not high
enough, a `Too many open files` RocksDB exception occurs.

!!! tip

We recommend installing [jemalloc](https://jemalloc.net/) to reduce memory usage.
If using Ubuntu, you can install it with the command: `apt install libjemalloc-dev`.

### Install from packaged binaries

Download the Besu [packaged binaries](https://github.com/hyperledger/besu/releases).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,19 @@ besu --help

### Prerequisites

* [Java JDK](https://www.oracle.com/java/technologies/downloads/)
* [Java JDK 17+](https://www.oracle.com/java/technologies/downloads/)

!!! note "Linux open file limit"

If synchronizing to Mainnet on Linux or other chains with large data requirements, increase the
maximum number of open files allowed using `ulimit`. If the open files limit is not high
enough, a `Too many open files` RocksDB exception occurs.

!!! tip

We recommend installing [jemalloc](https://jemalloc.net/) to reduce memory usage.
If using Ubuntu, you can install it with the command: `apt install libjemalloc-dev`.

### Install from packaged binaries

Download the Besu [packaged binaries](https://github.com/hyperledger/besu/releases).
Expand Down

0 comments on commit e024a39

Please sign in to comment.