-
fsg
hyc: then I will try to enable in on the node server too
-
mechanic41turk[m
Hello
-
mechanic41turk[m
when I run p2pool according to the instructions given in
github.com/SChernykh/p2pool#how-to-mine-on-p2pool
-
mechanic41turk[m
I get following error from p2pool
-
mechanic41turk[m
2021-12-20 21:14:14.1752 P2Pool get_info RPC request failed: error ECONNREFUSED, trying again in 1 second
-
mechanic41turk[m
2021-12-20 21:14:15.1756 JSONRPCRequest failed to connect, error ECONNREFUSED
-
mechanic41turk[m
2021-12-20 21:14:15.1757 P2Pool get_info RPC request failed: error ECONNREFUSED, trying again in 1 second
-
mechanic41turk[m
2021-12-20 21:14:16.1760 JSONRPCRequest failed to connect, error ECONNREFUSED
-
mechanic41turk[m
How can I solve this?
-
mechanic41turk[m
<mechanic41turk[m> "Since restarting the monerod 3..." <- Also, just to report, my monerod blockchain sync got completed today. It took around 9 days, on a Raspberry Pi 4 (4GB) machine, using raspi.debian.net OS.
-
mechanic41turk[m
I have a feeling that `sudo sysctly vm.nr_hugepages=3072` is making my raspi freeze
-
mechanic41turk[m
Do I need to enter that command, if I am not going to run xmrig on the pi?
-
hyc
lol
-
hyc
you're asking it to reserve 6GB
-
mechanic41turk[m
haha
-
mechanic41turk[m
my poor pi
-
hyc
where did you get that 3072 number from? you only need ~1200 for a full mining node
-
mechanic41turk[m
hyc: from the p2pool github
-
mechanic41turk[m
-
hyc
and only about 256 for just verifying
-
hyc
hm. that may have been assuming you run p2pool and miner on same box
-
mechanic41turk[m
hyc: probably this.
-
mechanic41turk[m
I will be running the monerod and p2pool on the same raspberry pi 4 (4GB) running debian.
-
mechanic41turk[m
I will be running the xmrig on my laptop machine (8GB ram)
-
hyc
then you should be running p2pool --no-randomx
-
hyc
and you'll only need about 260 hugepages for monerod
-
mechanic41turk[m
hyc: so, I should be running this? `./p2pool --no-randomx --host 127.0.0.1 --wallet YOUR_WALLET_ADDRESS`
-
hyc
yeah
-
mechanic41turk[m
ok
-
mechanic41turk[m
thank.
-
hyc
you don't need the --host flag, that's already the default
-
mechanic41turk[m
hyc: good to know, thanks.
-
mechanic41turk[m
I will report back once my raspi gets unfrozen
-
hyc
that will be never. gonna have to hard reoot it
-
hyc
reboot / reset/ whatever
-
mechanic41turk[m
hyc: raspi is responding to my ctrl+c. only that it is taking it 5 mins to register it.
-
mechanic41turk[m
I don't want hard shutdown, as it has corrupted my local copy of the blockchain before, and I had to restart the sync all over.
-
hyc
because it's trying to push everything to swapspace to clear out 6GB of RAM when only 4GB exists
-
mechanic41turk[m
hyc: yeah. silly me.
-
hyc
if it's responding to commands at all, then just issue "reboot" as root
-
mechanic41turk[m
once the ctrl+c command registers to the monerod, it breaks away from its frozen state.