Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Since November 14 build, sometimes get many thousands of "get_providers" errors when control-c'ing a farmer #2241

Closed
Qwinn1 opened this issue Nov 17, 2023 · 0 comments · Fixed by #2312
Assignees
Labels
farmer Farming library/app good first issue Good for newcomers improvement it is already working, but can be better

Comments

@Qwinn1
Copy link

Qwinn1 commented Nov 17, 2023

It seems to be linked to the piece cache sync issues since the 14th.

Example - I'll get thousands of these, totally explode the logs:

2023-11-17T12:29:19.926408Z WARN subspace_networking::utils::piece_provider: get_providers returned an error piece_index=4510 key=Multihash { code: 11770128, size: 8, digest: [158, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] } err=SendCommand(SendError { kind: Disconnected })

The attached log is for me trying to create a new farm on the November 16th build. Right now, it is pretty much impossible to sync cache on a new farm. This is on Ubuntu 20.04 on a 10850k, and I had even worse results on a better processor (7950x) in Windows (never even got a 2% complete there).

badcachesyncnov16.log

I have gotten the get_providers errors when control-c'ing established farms, btw, which tend to cause "missing piece" errors until the problem sometimes sorts itself out with repeated restarts.

Please note that the log only ended where it did because I was forced to kill -9 the farm to get it to stop spitting these out. On a couple of rare occasions, I only got a handful of the get_providers errors and the farm did eventually stop, but I don't recall it producing any more useful messages afterwards.

@nazar-pc nazar-pc self-assigned this Nov 17, 2023
@nazar-pc nazar-pc added farmer Farming library/app improvement it is already working, but can be better labels Nov 17, 2023
@nazar-pc nazar-pc added this to the Protocol UX Improvements milestone Nov 17, 2023
@nazar-pc nazar-pc added the good first issue Good for newcomers label Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
farmer Farming library/app good first issue Good for newcomers improvement it is already working, but can be better
Projects
Development

Successfully merging a pull request may close this issue.

2 participants