As previously discussed here https://feddit.de/post/1285536 , I am trying to properly decommission my private instance. My main issue: even though I unsubscribed from all communities, the server still gets a lot of POST requests with likes, comments, etc. So how do I tell all the instances to stop sending announcements? I also don’t want to go the hacky way of bogus DNS entries, as that won’t be good for the other instances. This also continues if I simply shut down the stack, just resulting in a lot of 404s.

Is there a manual for this I missed in all the googling?

  • hawkwind@lemmy.management
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    Commendable that you want to help, but the software needs to handle dead installations as there is no possible way to enforce people to decommission. :) Might be worth dropping just to help the use case of how this gets handled. I feel like you did everything you could.

  • PriorProject@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    This is a wild guess, but have you tried hacking your proxy to return 410 GONE for the ActivityPub endpoints? A well behaved system is supposed to interpret that response as meaning that the resource is gone forever and to stop trying. I have no idea how Lemmy will respond, but it might be a step along the way to disappearing the endpoints once you’ve run out of other ideas to see if the rate announcements starts to fall off.

  • gabriele97@lemmy.g97.top
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    There is a PR on GitHub that implements checks towards all the federated instances and those who doesn’t respond for a few days will be marked as stale and the instance will stop sending updates to them

  • I’d also like to know this. Out of curiosity I looked into whether blocking an instance would send some kind of message to de-federate, but that does not appear to be the case. If you look at beehaw and lemmy.world you can see that beehaw has lemmy.world blocked but lemmy.world is still federated with beehaw.

    I looked through the ActivityPub spec and didn’t find anything interesting there either.

    Also found this closed bug report on their github which really went nowhere. But that let me down the rabbit hole to this commit.

    I think the conclusion I’ve come to is that, as of today, there is no proper way to decom a lemmy instance. I think the best we can hope for is for there to be maturity detecting, flagging, and ultimately removing dead peers.

  • chris@l.roofo.cc
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    There is no way at the moment but to unsubscribe from all communities before stopping the instance. There is a bug ticket open at the moment.

    • JASN_DE@feddit.deOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I tried that. Even after unsubscribing from everything I still get the announcement traffic. Which might als be a problem as the instance is on 0.17.4, while lemmy.world (which is sending most of them) is on the 8.18.1 RC train.