Reduce memory use - control multiple instances of chia_full_node #9914
Replies: 5 comments 8 replies
-
I am also issuing the same problem. I have from 17 instances of chia_full_node, each 1.1GiB, so chia eats up to 20GiB of RAM which is crazy! Still couldn't find a fix. |
Beta Was this translation helpful? Give feedback.
-
Since the processes may share pages, looking at PSS might be more relevant than RSS |
Beta Was this translation helpful? Give feedback.
-
Ubuntu 21.10 Interestingly I have four instances despite having 2 CPU cores and no hyperthreading in this machine... This install has been running for several months, so the config.yaml is quite old (i'd guess installed around the point 1.2.8 was current?). It's nice to see the new version is so much better documented (and it has a lot of new useful options!). I'm guessing there's no easy way to regenerate the config while retaining the configured options (particularly for payments...I know it's easy enough to move them over but also think it's good to avoid mistakes when that kind of thing is concerned).
|
Beta Was this translation helpful? Give feedback.
-
@arvidn the
All of the 3 snapshots I did right after all of the plots of my farm were appeared in |
Beta Was this translation helpful? Give feedback.
-
So based on this, have we concluded that each process is NOT taking up 1.1GiB but instead 90 MiB? 1.1GiB is the total right? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there some way to reduce the number of instances of chia_full_node that are running? I seem to have four by default and there doesn't seem to be a way to limit this. Could someone advise if it's possible to reduce, or if having four instances of chia_full_node is strictly necessary for farming to work? Ideally, I'd like to reduce this to two, or even one instance.
I'm running it on an older system with only 4GB of RAM, and it basically eats the entire memory capacity of the system. Since I've disabled the wallet and enabled zswap, I'm at least now avoiding very heavily smashing swap, but it would be good to use less RAM still. This would also help people running on 4GB Raspberry Pi 4s (the swap performance there is very poor, so it's probably really damaging overall system performance).
Top output (prior to disabling wallet - though ideally I'd like to get that back so I can get stats from plotnft show):
Beta Was this translation helpful? Give feedback.
All reactions