question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Harvester plots_refresh_parameter not keeping track of plots

See original GitHub issue

The harvester is losing track of my plots during replotting, and my plot count is going down.

I have 5156 plots. All of my drives are full, so I am currently replotting. I have a script that, upon completion of a new NFT plot, it identifies an OG plot, deletes it, and moves the new NFT plot in its place. I am currently creating 64 plots every 24h. Earlier today, my harvester did indeed show that it was farming 5156 plots. I check my status a few moments ago, and it shows that I’m only farming 5129 plots.

2021-08-29_01-35 (Then some time passes for the farmer to rediscover all my plots) 2021-08-29_01-36

Ok, so back to 5156 after restarting the farmer. It lost track of 27 plots.

When I first discovered this bug this morning, there was a Δ of 85 plots that the harvester wasn’t tracking.

2021-08-28T13:54:20.544 harvester chia.harvester.harvester: INFO … Total 5071 plots

chia stop all -d chia start farmer

2021-08-28T14:49:27.451 harvester chia.harvester.harvester: INFO … Total 5156 plots

What I suspect: My config.yaml had been with me since before launch, and I decided to compare it against https://github.com/Chia-Network/chia-blockchain/blob/main/chia/util/initial-config.yaml to see if I needed to refresh it any. There were a few things that I was missing. I had plot_loading_frequency_seconds: 120, which isn’t anywhere in the current initial-config.yaml, so I swapped that out with: https://github.com/Chia-Network/chia-blockchain/blob/main/chia/util/initial-config.yaml#L128-L131 I think that this may not be discovering new plots for some reason. I’m going to attempt to remove those lines, and go back to plot_loading_frequency_seconds: 120. I’ll check back in the morning to see if the count is off.

Chia: 1.2.5 Distro: Arch Linux [x86_64] Kernel: Linux 5.13.12-arch1-1 Processor: 24 x Intel® Xeon® CPU E5-2697 v2 @ 2.70GHz Processor: 24 x Intel® Xeon® CPU E5-2697 v2 @ 2.70GHz RAM: 64362 MiB

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
danarbrazcommented, Aug 30, 2021

On Linux, use rsync to copy plots if you don’t want to script changing file names. rsync creates a temporary file while transferring and renames it to the final file name after transfer is complete.

1reaction
jamiefiedlercommented, Aug 30, 2021

Yep, that solved it. It seems like the ban on badbit/failbit lasts until a restart of the farmer?

restarting the harvester alone appears to be sufficient.

chia start harvester -r

Read more comments on GitHub >

github_iconTop Results From Across the Web

Checking new plots - Chia Farming & Harvesting
The harvester systematically checks the presence of new plots in the farm ... to add the three new plots refresh parameters mentioned above, ......
Read more >
Harvester Plots Not Showing Up on Windows Machine - Reddit
Windows 1.2.0 GUI is not showing plot files. Plot refresh button does not do anything. Background harvester must be working because the 49 ......
Read more >
FAQ | Chia Documentation
A plot is a large set of proofs of space. A harvester can harvest multiple plots on the same machine. A farmer can...
Read more >
Plotman - Automate and Manage Chia Plotting
Plotman is a tool for managing Chia plotting operations. It allows you to configure parameters for scheduling plot jobs, typically in a ...
Read more >
CFD-Post won't plot or display the results
This was not the first time I do such an analysis. However, this time was different. The geometry is very simple - it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found