Comments (26)
You would need to check your Bitcoin peers to see why the sync stopped.
For RAM usage, there is an LND update that fixes a memory leak. It will be in the next release.
from mynode.
Yes!! same problem here, with mynode on a VM on proxmox.
The VM freeze with CPU at 100% every 24 approx
This is the only log I got to catch:
from mynode.
BTC Pay Server was off , I just turned Mempool off , let me see if it will crash or not
I removed BTC pay and mempool , restarted and everything was ok. Now I'm running Mempool only without BTC, and everything is fine after the last update. Thanks for your support.
from mynode.
It looks like it shuts off intentionally shortly after a window resize. If you log a support ticket, we can take a further look at the logs, but it doesn't appear to be a MyNode software issue. I'd guess RAM or memory problem. There was a recent LND bug reported about a memory leak.
from mynode.
hi, your device is power off? i correctly understand? if yes, i had same situation with my Raspberry pi, in 1-2 or 3 days, my raspberry shutting down, or other crash type, because in monitor i don't have video signal, i need to restart, after few days situation happens again, i thinked that my hardware have problems, but if you had same issue on different hardware, i think problem is not in hardware
from mynode.
It looks like it shuts off intentionally shortly after a window resize. If you log a support ticket, we can take a further look at the logs, but it doesn't appear to be a MyNode software issue. I'd guess RAM or memory problem. There was a recent LND bug reported about a memory leak.
I'm running server and its running solid with no critical errors
https://www.youtube.com/watch?v=FX6yMC74QJM
from mynode.
hi, your device is power off? i correctly understand? if yes, i had same situation with my Raspberry pi, in 1-2 or 3 days, my raspberry shutting down, or other crash type, because in monitor i don't have video signal, i need to restart, after few days situation happens again, i thinked that my hardware have problems, but if you had same issue on different hardware, i think problem is not in hardware
its a server based hardware above asustor storage server device and i'm running Virtual Box within a server and VB acts like device and yes myNode environment within VBox shuts down within 10-15 hrs after successful restart.
from mynode.
hi, your device is power off? i correctly understand? if yes, i had same situation with my Raspberry pi, in 1-2 or 3 days, my raspberry shutting down, or other crash type, because in monitor i don't have video signal, i need to restart, after few days situation happens again, i thinked that my hardware have problems, but if you had same issue on different hardware, i think problem is not in hardware
I believe it is a memory leak, my configuration never changed and amount of apps running under my node exactly the same for the past 12+ months
error log from myNode status page
Low MemoryYour device was running low on memory and a process has been restarted. You may want to disable some applications.[ 1833.364551] Out of memory: Killed process 12986 (netdata) total-vm:89892kB, anon-rss:25808kB, file-rss:0kB, shmem-rss:500kB, UID:201 pgtables:160kB oom_score_adj:1000
from mynode.
hi, i installed few days ago mynodebtc on clean debian, using this tutorial https://github.com/mynodebtc/mynode#install-on-existing-system-beta
today, mynodebtc stuck, ping working, ssh not working, gui (openbox) not working, just black screen, i have 4 cpu i5 10 gen, 6 GB ram, problem is not in hardware, i had same problem on my raspberry.
mynodebtc stuck on full bitcoin sync ~ 32%
from mynode.
You would need to check your Bitcoin peers to see why the sync stopped.
For RAM usage, there is an LND update that fixes a memory leak. It will be in the next release.
Last release don't fix problem, i can confirm, exist memory leak i have this apps installed only:
memory leak proof:
mynodebtc hardware after update to 0.3.19
after ~24 hours
after ~24 hours
after ~24 hours i get unexpected system crash.
RAM 4GB. SWAP 3GB.
from mynode.
yes the last update 0.3.19 did nothing and actually myNode stays active for about 4-8 hrs before crashing used to be 8-15hrs
from mynode.
from mynode.
2023-07-22 15:57:23 (00:07:36) - CRITICAL on MEM (96.1)
from mynode.
@h33fn Could be caused by the update to BTC Pay server using more memory.
@onlineapps-cloud You definitely need more RAM than 4GB if you want to run BTCPay and Mempool at the same time.
In general, watch Glances like in the above screenshots, and if you see memory warning add more RAM.
from mynode.
BTC Pay Server was off , I just turned Mempool off , let me see if it will crash or not
from mynode.
now i have running only this apps:
but today i had unexpected crash again
resource usage:
from mynode.
Been happening to me too, currently on 0.3.19. Increasing the swap file to 4GB has stopped it from crashing, but RAM usage currently sitting at 90% and swap usage at 40%. Running core, lightning, electrum, mempool, and explorer on a Pi4 4GB. Bitcoind sitting at over 5GB virtual and over 1GB res. NodeJS is also over 1GB res memory. I've also attempted to limit bitcoind memory usage with considerable limitation to the config without much result.
dbcache=250
maxorphantx=10
maxmempool=200
maxconnections=20
maxuploadtarget=1000
rpcworkqueue=32
mempoolfullrbf=1
from mynode.
That's good to know - perhaps new versions of BTC Pay server are using more RAM than before. Looks like a 4GB device may not be enough to keep up with that app.
from mynode.
That's good to know - perhaps new versions of BTC Pay server are using more RAM than before. Looks like a 4GB device may not be enough to keep up with that app.
I'm not now, nor ever have had BTC Pay enabled. So at least in my case, that's not the culprit. But I'm agreeing with the end conclusion, maybe 4GB just isn't enough to run the mynodebtc suite any longer. I was going to install node-exporter and cadvisor to try and monitor the resources, but the added resource draw for these services just isn't sustainable.
from mynode.
@cexshun Your case sounds like its btc rpc explorer (it uses nodejs).
from mynode.
Alright, disabled and restarting just for debugging purposes. I likely won't leave it disabled since it runs without crashing with the 4GB swap file, but it seems like valuable information to have.
from mynode.
node /backend/package/index.js
Even with RPC explorer disabled, that process still munches memory like mad. Second only to bitcoind.
from mynode.
You can run this to possibly find which service that instance of node belong to.
sudo systemctl status < pid >
from mynode.
c191868384ff mempool/backend:v2.5.0 "docker-entrypoint.sā¦" 4 hours ago Up 4 hours 8999/tcp mempool_api_1
mempool_api docker container
from mynode.
Sorry, github hid part of that command. Enter the process id of the node process to find the app.
from mynode.
That process is running under a docker container. Checking docker, the containerID is for mempool_api_1.
from mynode.
Related Issues (20)
- fresh install on raspberry pi 4; some apps stuck in "installing ..." forever HOT 3
- Electrum Wallet will not connect. HOT 1
- LND Error - The LND service is not running properly. HOT 1
- Docker error="unauthorized: authentication required" HOT 10
- security: implement LNbits update to 0.12.x HOT 1
- i2pd is running even not enabled as a bitcoin protocol HOT 5
- That's the mempool log. Is docker still failing? If you can, can you create a new VM to see if it also has the same issue?
- Support for UPS power shutdown HOT 2
- Public IP shown in Status page would be useful HOT 1
- Bug fix
- allow PCIe NVMe on Raspberry Pi 5 HOT 5
- idk if it's a docker-based problem š¤·āāļø The log is full of entries like that:
- When I debug a transaction with both a P2TR scriptpath and a P2TR keypath input, I always get an error:
- Problem on Raspi5 initial login HOT 2
- Change the size in MyNode . OVA OS Disk HOT 3
- Broken links with tailnet on
- Migration to PC mynode HOT 2
- Cannot connect to Alby with LND - ERR_UNSAFE_PORT 10080 HOT 1
- ye
- Color Shell HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mynode.