Skip to content

Set 8GB MemoryLimit for GOGC when running as gateway #276

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ docker run -d --restart on-failure --name iotex \
-p 14014:14014 \
-p 15014:15014 \
-p 8080:8080 \
-e "GOMEMLIMIT=8000MiB" \
-v=$IOTEX_HOME/data:/var/data:rw \
-v=$IOTEX_HOME/log:/var/log:rw \
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
Expand All @@ -114,6 +115,9 @@ docker run -d --restart on-failure --name iotex \
-plugin=gateway
```

Adjust `GOMEMLIMIT` env according to the actual memory resource.


6. Make sure TCP ports 4689, 8080 (also 14014 if used) are open on your firewall and load balancer (if any).

## <a name="mainnet_native"/>Join Mainnet without using Docker
Expand Down