-
Notifications
You must be signed in to change notification settings - Fork 52
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
LND Out of Memory with last version #152
Comments
I'm running a btcd/lnd/lncli-web stack on a 2 GB RAM VPS without any problem. All components updated to latest master. After a few hours, btcd takes about 50% mem, lnd 5% and lncli-web 5% too. 2 GB is not enough for building though, but should be ok for running. |
that's very strange... I didn't have any problem before pulling last master of lncli-web. LND seems to work fine, I successfully run some rpc commands like describegraph or queryroutes and I have results without problems. It's seems some looping activity done by lncli-web on mybox. What could be the issue? |
My NodeJS version is 7.8.0, that's the only difference I can see with your configuration. May be you could try to upgrade to a more recent NodeJS version. |
NAK. With Node 7.8.0 I can't build gRPC: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): npm ERR! [email protected] install: npm ERR! Please include the following file with any support request: |
If you could try to identify the particular commit that causes the regression that could help fixing it. |
Guys no luck at all. Some tests I did:
Tested on a different box (still Ubuntu 16.04), everything from scratch (lnd fresh build up to master, lncli fresh build with 7.8.0 and grpc 1.1.1 -> still fail. out-of-memory for lnd that get killed. Any idea on additional tests? |
Hi,
I updated the lncli-web to last version yesterday, but as soon as I open the webpage, lnd get killed because out of memory.
I'm running without docker on the following configuration:
I upgraded the VM with 4vCPU and 8GB Ram after the error and it still persists.
It was working as a charme with the gitlab code of 3 months ago, until yesterday (with last version of lnd). Now since there's no tags or branches to checkout, I'm not able to get it back working...
As soon as I open the webpage of lncli-web, it successfully retrieve the nodeinfo data tab, but it fails to retrieve Netwok Info tab.
This is the log of lnd:
fatal error: runtime: out of memory
runtime stack:
runtime.throw(0xf73577, 0x16)
/usr/lib/go-1.10/src/runtime/panic.go:619 +0x81
runtime.sysMap(0xc430600000, 0x124c590000, 0x0, 0x1766ed8)
/usr/lib/go-1.10/src/runtime/mem_linux.go:216 +0x20a
runtime.(*mheap).sysAlloc(0x174d400, 0x124c590000, 0x7f37e9b7d890)
/usr/lib/go-1.10/src/runtime/malloc.go:470 +0xd4
runtime.(*mheap).grow(0x174d400, 0x9262c7, 0x0)
/usr/lib/go-1.10/src/runtime/mheap.go:907 +0x60
runtime.(*mheap).allocSpanLocked(0x174d400, 0x9262c7, 0x1766ee8, 0x7ffd7ac599d0)
/usr/lib/go-1.10/src/runtime/mheap.go:820 +0x301
runtime.(*mheap).alloc_m(0x174d400, 0x9262c7, 0xffffffffffff0101, 0x7ffd7ac59a00)
/usr/lib/go-1.10/src/runtime/mheap.go:686 +0x118
runtime.(*mheap).alloc.func1()
/usr/lib/go-1.10/src/runtime/mheap.go:753 +0x4d
runtime.(*mheap).alloc(0x174d400, 0x9262c7, 0x7ffd7a010101, 0x4161bc)
/usr/lib/go-1.10/src/runtime/mheap.go:752 +0x8a
runtime.largeAlloc(0x124c58c22c, 0x450101, 0x7f37e9bbf6c8)
/usr/lib/go-1.10/src/runtime/malloc.go:826 +0x94
runtime.mallocgc.func1()
/usr/lib/go-1.10/src/runtime/malloc.go:721 +0x46
runtime.systemstack(0x0)
/usr/lib/go-1.10/src/runtime/asm_amd64.s:409 +0x79
runtime.mstart()
/usr/lib/go-1.10/src/runtime/proc.go:1170
goroutine 71931 [running]:
runtime.systemstack_switch()
The text was updated successfully, but these errors were encountered: