terra-money / classic-core

GO implementation of the Terra Protocol
https://www.terra.money
Other
978 stars 286 forks source link

[BUG] Node is always Killed #554

Closed vlads123 closed 3 years ago

vlads123 commented 3 years ago

I'm running a full node on linux

I'm using terrad v0.4.6 I tryed the following ways to get terrad binaries

To run the node do the following

  1. Increase limits of opened files
  2. terrad init
  3. Download addressbook and genesis.json into configs dir
  4. Insert seeds into config.toml
  5. also adjusted minimum-gas-prices in app.toml
  6. terrad start

In all cases the process fails after 2-3 min with Killed message, pls see screenshot attached

vlad@vlad:~$ ulimit -n
65535
vlad@vlad:~$ ulimit -Hn
65535
vlad@vlad:~$ terrad version --long
name: terra
server_name: terrad
client_name: terracli
version: 0.4.6
commit: c39ed2804dbb625c283d1cd11fac8d3bc79ff328
build_tags: netgo,ledger
go: go version go1.17 linux/amd64
build_deps:
- github.com/99designs/keyring@v1.1.6
- github.com/ChainSafe/go-schnorrkel@v0.0.0-20200405005733-88cbf1b4c40d
- github.com/CosmWasm/go-cosmwasm@v0.10.0 => github.com/terra-project/go-cosmwasm@v0.10.4
- github.com/Workiva/go-datastructures@v1.0.52
- github.com/bartekn/go-bip39@v0.0.0-20171116152956-a05967ea095d
- github.com/beorn7/perks@v1.0.1
- github.com/bgentry/speakeasy@v0.1.0
- github.com/btcsuite/btcd@v0.20.1-beta
- github.com/btcsuite/btcutil@v1.0.2
- github.com/cespare/xxhash/v2@v2.1.1
- github.com/cosmos/cosmos-sdk@v0.39.3
- github.com/cosmos/go-bip39@v1.0.0
- github.com/cosmos/ledger-cosmos-go@v0.11.1 => github.com/terra-project/ledger-terra-go@v0.11.1-terra
- github.com/cosmos/ledger-go@v0.9.2
- github.com/davecgh/go-spew@v1.1.1
- github.com/dvsekhvalnov/jose2go@v0.0.0-20200901110807-248326c1351b
- github.com/fsnotify/fsnotify@v1.4.7
- github.com/go-kit/kit@v0.10.0
- github.com/go-logfmt/logfmt@v0.5.0
- github.com/godbus/dbus@v0.0.0-20190726142602-4481cbc300e2
- github.com/gogo/protobuf@v1.3.1
- github.com/golang/protobuf@v1.4.1
- github.com/golang/snappy@v0.0.2
- - github.com/google/btree@v1.0.0
- github.com/gorilla/mux@v1.7.4
- github.com/gorilla/websocket@v1.4.2
- github.com/gsterjov/go-libsecret@v0.0.0-20161001094733-a6f4afe4910c
- github.com/gtank/merlin@v0.1.1
- github.com/gtank/ristretto255@v0.1.2
- github.com/hashicorp/golang-lru@v0.5.4
- github.com/hashicorp/hcl@v1.0.0
- github.com/libp2p/go-buffer-pool@v0.0.2
- github.com/magiconair/properties@v1.8.1
- github.com/mattn/go-isatty@v0.0.12
- github.com/matttproud/golang_protobuf_extensions@v1.0.1
- github.com/mimoo/StrobeGo@v0.0.0-20181016162300-f8f6d4d2b643
- github.com/minio/highwayhash@v1.0.0
- github.com/mitchellh/go-homedir@v1.1.0
- github.com/mitchellh/mapstructure@v1.1.2
- github.com/mtibben/percent@v0.2.1
- github.com/otiai10/copy@v1.0.2
- github.com/pelletier/go-toml@v1.6.0
- github.com/pkg/errors@v0.9.1
- github.com/pmezard/go-difflib@v1.0.0
- github.com/prometheus/client_golang@v1.5.1
- github.com/prometheus/client_model@v0.2.0
- github.com/prometheus/common@v0.9.1
- github.com/prometheus/procfs@v0.0.8
- github.com/rcrowley/go-metrics@v0.0.0-20200313005456-10cdbea86bc0
- github.com/rs/cors@v1.7.0
- github.com/spf13/afero@v1.2.1
- github.com/spf13/cast@v1.3.0
- github.com/spf13/cobra@v1.0.0
- github.com/spf13/jwalterweatherman@v1.1.0
- github.com/spf13/pflag@v1.0.5
- github.com/spf13/viper@v1.6.3
- github.com/stretchr/testify@v1.6.1
- github.com/subosito/gotenv@v1.2.0
- github.com/syndtr/goleveldb@v1.0.1-0.20190923125748-758128399b1d
- github.com/tendermint/btcd@v0.1.1
- github.com/tendermint/crypto@v0.0.0-20191022145703-50d29ede1e15
- github.com/tendermint/go-amino@v0.15.1
- github.com/tendermint/iavl@v0.14.3
- github.com/tendermint/tendermint@v0.33.9
- github.com/tendermint/tm-db@v0.5.2
- github.com/zondax/hid@v0.9.0
- golang.org/x/crypto@v0.0.0-20200728195943-123391ffb6de
- golang.org/x/net@v0.0.0-20201010224723-4f7140c49acb
- golang.org/x/sys@v0.0.0-20201013132646-2da7054afaeb
- golang.org/x/text@v0.3.3
- google.golang.org/genproto@v0.0.0-20200526211855-cb27e3aa2013
- google.golang.org/grpc@v1.30.0
- google.golang.org/protobuf@v1.25.0
- gopkg.in/ini.v1@v1.51.0
- gopkg.in/yaml.v2@v2.3.0
- gopkg.in/yaml.v3@v3.0.0-20200313102051-9f266ea9e77c

image

Any help is much appreciated

vlads123 commented 3 years ago

The process was OOM killed Due to wrong configuration container got just 2Gb of RAM ...