monero-project / monero-gui

Monero: the secure, private, untraceable cryptocurrency
Other
1.7k stars 766 forks source link

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

Open Poecilia opened 2 years ago

Poecilia commented 2 years ago

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.

selsta commented 2 years ago

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

Poecilia commented 2 years ago

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.

gooseyman commented 2 years ago

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.

Poecilia commented 2 years ago

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.

devhyper commented 2 years ago

I'll look into this.

gooseyman commented 2 years ago

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

ghost commented 2 years ago

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

selsta commented 2 years ago

@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.

ghost commented 2 years ago

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

selsta commented 2 years ago

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

ghost commented 2 years ago

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.

tylerrihn commented 1 year ago

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.

devhyper commented 1 year ago

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.

tylerrihn commented 1 year ago

@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.

ERoCx420 commented 4 months ago

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