0

I am running a private ethereum network and main ethereum network on the same server.

The private net shuts down abruptly after 5-10 mins after start with logs below.

Geth Details:

Geth
Version: 1.8.11-stable
Git Commit: dea1ce052a10cd7d401a5c04f83f371a06fe293c
Architecture: amd64
Protocol Versions: [63 62]
Network Id: 1
Go Version: go1.10
Operating System: linux
GOPATH=
GOROOT=/usr/lib/go-1.10

Surprising thing is the main net runs properly and never stops ( thankfully).

Command used to run geth:

geth --identity "TestChain1" --cache=1024 --rpc --rpcport "7230" --rpcaddr "127.0.0.1" --rpccorsdomain "*" --rpcapi "web3,eth,admin,debug,miner,net,db,personal" --datadir "myPrivateNet" --port "30312" -networkid 1902 --nat "any" console

Server Configurations:

RAM: 8GB ( + 5GB Swap) Disk Space: 925GB SSD ( 70 GB available)

Geth Logs:

 /build/ethereum-mDLEL3/ethereum-1.8.11+build13948+xenial/build/_workspace/src/github.com/ethereum/go-ethereum/accounts/keystore/keystore.go:382 +0x1f0
github.com/ethereum/go-ethereum/accounts/keystore.(*KeyStore).TimedUnlock(0xc4200322d0, 0x7c1e7cdd8ac66da2, 0xf1f0aeee14ce1047, 0xbb412dab, 0x0, 0x0, 0x0, 0x0, 0xc427b659a0, 0x4, ...)
        /build/ethereum-mDLEL3/ethereum-1.8.11+build13948+xenial/build/_workspace/src/github.com/ethereum/go-ethereum/accounts/keystore/keystore.go:340 +0xb6
github.com/ethereum/go-ethereum/internal/ethapi.(*PrivateAccountAPI).UnlockAccount(0xc42280c140, 0x7c1e7cdd8ac66da2, 0xf1f0aeee14ce1047, 0xbb412dab, 0xc427b659a0, 0x4, 0x0, 0x0, 0x0, 0x0)
        /build/ethereum-mDLEL3/ethereum-1.8.11+build13948+xenial/build/_workspace/src/github.com/ethereum/go-ethereum/internal/ethapi/api.go:330 +0x174
reflect.Value.call(0xc42252f680, 0xc4228c62d8, 0x13, 0xf16f4d, 0x4, 0xc4240589c0, 0x4, 0x4, 0xffffffffffff8300, 0xc4240589c0, ...)
        /usr/lib/go-1.10/src/reflect/value.go:447 +0x969
reflect.Value.Call(0xc42252f680, 0xc4228c62d8, 0x13, 0xc4240589c0, 0x4, 0x4, 0x3, 0x3, 0x2)
        /usr/lib/go-1.10/src/reflect/value.go:308 +0xa4
github.com/ethereum/go-ethereum/rpc.(*Server).handle(0xc4228c4700, 0x10a50c0, 0xc427ba8700, 0x10aa420, 0xc42783d360, 0xc427bee600, 0xd4ef60, 0xc423eeb9a0, 0x0)
        /build/ethereum-mDLEL3/ethereum-1.8.11+build13948+xenial/build/_workspace/src/github.com/ethereum/go-ethereum/rpc/server.go:312 +0x676
github.com/ethereum/go-ethereum/rpc.(*Server).execBatch(0xc4228c4700, 0x10a50c0, 0xc427ba8700, 0x10aa420, 0xc42783d360, 0xc427bea800, 0xfa, 0xfa)
        /build/ethereum-mDLEL3/ethereum-1.8.11+build13948+xenial/build/_workspace/src/github.com/ethereum/go-ethereum/rpc/server.go:357 +0x1c7
github.com/ethereum/go-ethereum/rpc.(*Server).serveRequest(0xc4228c4700, 0x10a5180, 0xc427bd6840, 0x10aa420, 0xc42783d360, 0xf1fd01, 0x1, 0x0, 0x0)
        /build/ethereum-mDLEL3/ethereum-1.8.11+build13948+xenial/build/_workspace/src/github.com/ethereum/go-ethereum/rpc/server.go:193 +0x408
github.com/ethereum/go-ethereum/rpc.(*Server).ServeSingleRequest(0xc4228c4700, 0x10a5180, 0xc427bd6840, 0x10aa420, 0xc42783d360, 0x1)
        /build/ethereum-mDLEL3/ethereum-1.8.11+build13948+xenial/build/_workspace/src/github.com/ethereum/go-ethereum/rpc/server.go:226 +0x65
github.com/ethereum/go-ethereum/rpc.(*Server).ServeHTTP(0xc4228c4700, 0x10a3b80, 0xc427942e00, 0xc427496700)
        /build/ethereum-mDLEL3/ethereum-1.8.11+build13948+xenial/build/_workspace/src/github.com/ethereum/go-ethereum/rpc/http.go:199 +0x420
github.com/ethereum/go-ethereum/vendor/github.com/rs/cors.(*Cors).Handler.func1(0x10a3b80, 0xc427942e00, 0xc427496700)
        /build/ethereum-mDLEL3/ethereum-1.8.11+build13948+xenial/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/github.com/rs/cors/cors.go:190 +0xfe
net/http.HandlerFunc.ServeHTTP(0xc4228c5b60, 0x10a3b80, 0xc427942e00, 0xc427496700)
        /usr/lib/go-1.10/src/net/http/server.go:1947 +0x44
github.com/ethereum/go-ethereum/rpc.(*virtualHostHandler).ServeHTTP(0xc4228c5b80, 0x10a3b80, 0xc427942e00, 0xc427496700)
        /build/ethereum-mDLEL3/ethereum-1.8.11+build13948+xenial/build/_workspace/src/github.com/ethereum/go-ethereum/rpc/http.go:257 +0x204
net/http.serverHandler.ServeHTTP(0xc4228cb930, 0x10a3b80, 0xc427942e00, 0xc427496700)
        /usr/lib/go-1.10/src/net/http/server.go:2694 +0xbc
net/http.(*conn).serve(0xc427b8ca00, 0x10a50c0, 0xc427ba8600)
        /usr/lib/go-1.10/src/net/http/server.go:1830 +0x651
created by net/http.(*Server).Serve
        /usr/lib/go-1.10/src/net/http/server.go:2795 +0x27b

goroutine 59663 [chan receive]:
github.com/ethereum/go-ethereum/p2p/discover.(*udp).ping(0xc4203ac070, 0x48ba9bd476f43de, 0xc45a4c4935f2f0b5, 0x7cd48a9be5fe1535, 0x1cc8223688e464b6, 0xc88535735e524c6, 0x995463373f065bc3, 0xd99b86a78174a247, 0x77caf4f11f9ce294, 0xc4248eb830, ...)
        /build/ethereum-mDLEL3/ethereum-1.8.11+build13948+xenial/build/_workspace/src/github.com/ethereum/go-ethereum/p2p/discover/udp.go:289 +0x350
github.com/ethereum/go-ethereum/p2p/discover.(*Table).ping(0xc420694140, 0x48ba9bd476f43de, 0xc45a4c4935f2f0b5, 0x7cd48a9be5fe1535, 0x1cc8223688e464b6, 0xc88535735e524c6, 0x995463373f065bc3, 0xd99b86a78174a247, 0x77caf4f11f9ce294, 0xc4248eb830, ...)
        /build/ethereum-mDLEL3/ethereum-1.8.11+build13948+xenial/build/_workspace/src/github.com/ethereum/go-ethereum/p2p/discover/table.go:663 +0xd3
github.com/ethereum/go-ethereum/p2p/discover.(*Table).pingpong(0xc420694140, 0xc42317e4e0, 0x8ba9bd476f43de00, 0x5a4c4935f2f0b504, 0xd48a9be5fe1535c4, 0xc8223688e464b67c, 0x88535735e524c61c, 0x5463373f065bc30c, 0x9b86a78174a24799, 0xcaf4f11f9ce294d9, ...)
        /build/ethereum-mDLEL3/ethereum-1.8.11+build13948+xenial/build/_workspace/src/github.com/ethereum/go-ethereum/p2p/discover/table.go:644 +0xb2
github.com/ethereum/go-ethereum/p2p/discover.(*Table).bond(0xc420694140, 0x8ba9bd476f43de00, 0x5a4c4935f2f0b504, 0xd48a9be5fe1535c4, 0xc8223688e464b67c, 0x88535735e524c61c, 0x5463373f065bc30c, 0x9b86a78174a24799, 0xcaf4f11f9ce294d9, 0x77, ...)
        /build/ethereum-mDLEL3/ethereum-1.8.11+build13948+xenial/build/_workspace/src/github.com/ethereum/go-ethereum/p2p/discover/table.go:616 +0x65a
github.com/ethereum/go-ethereum/p2p/discover.(*Table).bondall.func1(0xc420694140, 0xc420d87800, 0xc42596a320)
        /build/ethereum-mDLEL3/ethereum-1.8.11+build13948+xenial/build/_workspace/src/github.com/ethereum/go-ethereum/p2p/discover/table.go:562 +0xd8
created by github.com/ethereum/go-ethereum/p2p/discover.(*Table).bondall
        /build/ethereum-mDLEL3/ethereum-1.8.11+build13948+xenial/build/_workspace/src/github.com/ethereum/go-ethereum/p2p/discover/table.go:561 +0x9a

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.