monero-gui icon indicating copy to clipboard operation
monero-gui copied to clipboard

Monero wallet shows active p2pool mining when no mining is taking place

Open Poecilia opened this issue 3 years ago • 17 comments

Setup: -Ubuntu 22.04 on older PC (Core i7-4790K - 8 GB - 120 GB SSD - 4Ghz) -Downloaded pruned version of node (30+GB) -p2pool mini mining 6/8 threads around 1200 H/s

Problem: -Monero GUI reports "Connected & Mining" with hashrates looking active (changing values once in a while) even when Ubuntu System Monitor shows no cpu activity is taking place for p2pool (usually shows 75% when mining).

Possible cause; -either because Ubuntu display was set to turn off automatically, or because I'd set wallet to lock automatically. I have turned both off and now it doesn't seem to be happening anymore.

In any case, the Wallet is reporting active mining that isn't taking place. This can be confusing for people new to Monero GUI and to mining.

Poecilia avatar May 29 '22 11:05 Poecilia

Wallet lock should be unrelated here. It is visual only.

selsta avatar May 29 '22 21:05 selsta

Update: I can't figure out what the reason is actual p2pool mining stops on my PC. The issue remains the same, which is that Monero GUI reports 'Connected & Mining' and shows active H/s when no mining is taking place on the PC.

Poecilia avatar May 30 '22 05:05 Poecilia

I too am experiencing this issue with Pop OS 22.04 (ubuntu). I can see cpu usuage when solo mining. However, when p2pool mining, the wallet reads connected + mining but there is no CPU usage.

gooseyman avatar May 31 '22 16:05 gooseyman

I discovered the problem why the mining wasn't happening: a faulty ethernet switch that was sometimes connecting, sometimes not connecting to the internet. The issue remains that Monero GUI reports inaccurately about the status of connectivity and mining.

Poecilia avatar May 31 '22 17:05 Poecilia

I'll look into this.

devhyper avatar Jun 01 '22 07:06 devhyper

nethogs is showing the monerod process on my end has activity so I don't think I have the same issue regarding connectivity.

gooseyman avatar Jun 01 '22 14:06 gooseyman

Can confirm. GUI showing "Connected + Mining" however 'status' command output shows "on mainnet, not mining." monerod shows minimal activity in task manager.

ghost avatar Aug 06 '22 21:08 ghost

@username-username-null p2pool mining works with p2pool, so entering "status" on monerod will say "not mining" even if p2pool is mining. That is expected.

selsta avatar Aug 07 '22 12:08 selsta

Ah, I understand, thank you. That just leaves the very low CPU usage.

ghost avatar Aug 07 '22 14:08 ghost

@username-username-null Did you only check the CPU usage for monerod or your whole system?

selsta avatar Aug 07 '22 18:08 selsta

Both. Based on your reply above, I would guess monerod usage does not apply. For the whole system CPU usage appears unchanged whether P2Pool is on or off.

ghost avatar Aug 07 '22 18:08 ghost

Just wanted to say this problem appears to be ongoing. My miner says I'm mining to the p2p pool however when I ask the daemon its status it says "not currently mining". I also haven't received any awards since this issue started, though cpu usage seems to imply mining.

tylerrihn avatar May 20 '23 23:05 tylerrihn

Just wanted to say this problem appears to be ongoing. My miner says I'm mining to the p2p pool however when I ask the daemon its status it says "not currently mining". I also haven't received any awards since this issue started, though cpu usage seems to imply mining.

Pretty sure the daemon only reports the status for the built in solo mining. If the CPU usage is high it is probably mining.

devhyper avatar May 21 '23 05:05 devhyper

@devhyper Thanks sir, that seems to be my understanding now. The daemon isn't really 'running', but I am still mining the cpu usage is just going to the p2pool rather than my personal daemon. I think my hash rate is just very low so it takes me awhile to see rewards.

tylerrihn avatar May 21 '23 13:05 tylerrihn

Mine is now doing the same. Before I had an issue with amd adrenaline and ryzen master not showing cpu temp. So I went through a reinstall to fix them. Then after I got that working I opened up Monero gui and started to mine and now it doesn't show hashrste. It says connected and mining but there is no cpu usage. When I check status it says not mining. What should I do?

Windows 11 5950x 7800xt 64 gig ram

ERoCx420 avatar Apr 18 '24 00:04 ERoCx420