-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add validator trobleshoot section to fix memory fragmentation problem #134
Conversation
@@ -106,3 +106,43 @@ The LCD to which the voter is connecting might be running from a different netwo | |||
Ensure you specify the LCD for the same network to which your node is connecting. | |||
|
|||
If you run a [local LCD](../Start-LCD.md) (for example, localhost:1317), ensure your LCD is connecting to the same node. | |||
|
|||
## Terrad crashes because of out of memory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Terrad crashes because of memory fragmentation
|
||
## Terrad crashes because of out of memory | ||
|
||
The default memory allocator is causing memory fragmentation issue on the `Columbus-5` network as described in [the issue](https://github.com/terra-money/core/issues/592). We highly recommend to install `jemalloc` and preload that `jemalloc` shared library with following steps: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As described in this issue, the default memory allocator causes memory fragmentation on the Columbus-5
network. To fix this problem, complete the following steps to install jemalloc
and preload the jemalloc
shared library:
sudo make install | ||
``` | ||
|
||
2. Restart the process with `LD_PRELOAD=/usr/local/lib/libjemalloc.so terrad start`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restart the process by running LD_PRELOAD=/usr/local/lib/libjemalloc.so terrad start
.
I added just a few minor changes. |
Thanks, I applied the changes. Later can we append this section as recommendations? |
Add troubleshoot section for the core memory fragmentation issue