I’m one of those people who has an, let’s say, IPFS-incompatible modem. After a while, even if I change my Swarm settings to the bare minimum (I think) and apply all the things mentioned in the different GitHub issues.
It’s a bit frustrating because I really want to use IPFS via my own node. I’m also a bit puzzled why this happens because I can run BitTorrent and Bitcoin without having to limit anything.
So is there anything else that I can do, or try out to debug the issue?
Well, I thought I would have some quick results. But whatever I do I’m not getting it to reboot now, even with “dht” routing and higher connection numbers.
Edit: Ha, just as I send this message it rebooted. But that’s good, so I can try out your suggestions again.
I know the problem wasn’t incidental. I’ve been trying to use IPFS for over a year and it was always there. So I will have to wait until it starts again and then try the new settings.
Maybe it has to do with the rate of new connections, like you said, and that it happens to create fewer ones in short succession today.
Disabling MDNS is making things much better. The problem isn’t solved, but a reboot “only” happens two times a day or (or more, but I don’t notice it).
Because MDNS is related to peer discovery, it could mean that hector’s theory is right: it’s not the number of active connections that is causing problems but the number of dials at the same time.
I will now lower the ConcurrentFdDials setting and see if the problem disappears completely.
Hmm I can’t imagine why a router would end up rebooting from handling a broadcast every 10 seconds. But good to hear. mdns however should not really cause more dials, as it is only more discovery on the LAN (or should be).
ipfs dht findprovs <Qm_some_unexistent_hash> will trigger dht walks. Say you launch a few of those continuously, you might artificially increase the number of concurrent dials and then see if the router gives up.
Honestly, I checked the MDNS code and it just makes a broadcast per interval and handles any responses. There is nothing flooding MDNS from the IPFS side… I would be interesting to have a look into wireshark to see if something is going on on your network.
Maybe is some other device screwing things up somehow indirectly triggered by IPFS, or the router is simply horribly buggy.