-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
handleAddProvider
messages don't appear in log tail after some time
#6296
Comments
handleAddProvider
messages don't appear in logs after some timehandleAddProvider
messages don't appear in log tail after some time
@dokterbob a few things:
Thanks for posting the issue |
@dokterbob 0.4.21 fixed a long-standing issue with providers where the internal provider logic would start doing more and more work over time, eventually stalling any provider-related operations. Could you try upgrading to 0.4.21 or, preferably, 0.4.22-rc1? |
We’re already running 0.4.21 for a while - it seems to exhibit the same problem. We’re currently trying to get more diagnostics.
I’ll try 0.4.22rc1 in a bit and let you know how that goes!
|
@dokterbob unfortunately, I'm quite sure that 0.4.22 won't help (it's a small patch release with a few bug fixes). |
Not fully sure, before 0.4.19 there was no connection manager - it would typically just soak up resources until being shut down by the OOM every 15 minutes or so.
We're not intentionally providing anything - but I suppose we're getting a lot of DHT flowing through. What do you suggest I do to look into this?
Would it suffice for you if I gave you a log file with times so you can do the timeseries yourself? I'm quite stuck on time these days... I've just upgraded to 0.4.22, curious to see how this behaves. |
Since the 0.4.22 I can't seem to keep the daemon running long enough to replicate the problem, there seems to be a serious issue with resource constraints (or lack thereof, ref #6286). |
@aschmahmann was correct in #6286 (comment). Effectively, the entire network is trying to connect to you all at once. |
Closing as this could have been one of many issues and the DHT has been rewritten (mostly) in 0.5.0. Please comment if this is still an issue and I'll reopen. |
Version information:
Type: bug
Description:
In order to index items, at ipfs-search, we're continuously tailing the logs and filtering for
handleAddProvider
messages through the following command:ipfs log tail | jq -r 'if .Operation == "handleAddProvider" then .Tags.key else empty end'
It seems that, with 0.4.19 as well as 0.4.20 (and possibly prior versions), after outputting hashes for about 2 hours, IPFS suddenly stops outputting anything. I am yet to discover after how much time this happens.
What I do know, is that it's not a matter of restart
ipfs log tail
and I've also confirmed that there's plenty of other messages. Also, manually requesting hashes should result in new messages, but none seem to appear. Perhaps I'm missing something?Ref: ipfs-search/ipfs-search#108
The text was updated successfully, but these errors were encountered: