Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
We Distribute
  1. Home
  2. General Discussion
  3. I thinking of uninstalling the excellent #Wordpress #ActivityPub Plugin and defederating my sites from the #Fediverse.

I thinking of uninstalling the excellent #Wordpress #ActivityPub Plugin and defederating my sites from the #Fediverse.

Scheduled Pinned Locked Moved General Discussion
wordpressactivitypubfediverse
11 Posts 4 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • adamstuartsmith@sauropods.winA adamstuartsmith@sauropods.win

    I thinking of uninstalling the excellent #Wordpress #ActivityPub Plugin and defederating my sites from the #Fediverse. For technical reasons only. CPU goes through the roof when new posts are boosted for the first time, causing 508 errors.

    Does anyone else suffer from this problem and have any suggestions to lighten the load?

    Maybe I’m overreacting and should just live with the minute or two of daily downtime?

    I have Litespeed cache installed.

    Affected sites: @dinotoyblog @blog@animaltoyforum.com @blog@monstertoyblog.com

    pfefferle@mastodon.socialP This user is from outside of this forum
    pfefferle@mastodon.socialP This user is from outside of this forum
    pfefferle@mastodon.social
    wrote last edited by
    #2

    @AdamStuartSmith @dinotoyblog @blog@animaltoyforum.com @blog@monstertoyblog.com so you have the issue even with the lightspeed cache?

    adamstuartsmith@sauropods.winA 1 Reply Last reply
    1
    • pfefferle@mastodon.socialP pfefferle@mastodon.social

      @AdamStuartSmith @dinotoyblog @blog@animaltoyforum.com @blog@monstertoyblog.com so you have the issue even with the lightspeed cache?

      adamstuartsmith@sauropods.winA This user is from outside of this forum
      adamstuartsmith@sauropods.winA This user is from outside of this forum
      adamstuartsmith@sauropods.win
      wrote last edited by
      #3

      @pfefferle Exactly. Maybe there are there some Litespeed settings I could tweak?

      Thanks for your interest and help.

      pfefferle@mastodon.socialP 1 Reply Last reply
      0
      • adamstuartsmith@sauropods.winA adamstuartsmith@sauropods.win

        I thinking of uninstalling the excellent #Wordpress #ActivityPub Plugin and defederating my sites from the #Fediverse. For technical reasons only. CPU goes through the roof when new posts are boosted for the first time, causing 508 errors.

        Does anyone else suffer from this problem and have any suggestions to lighten the load?

        Maybe I’m overreacting and should just live with the minute or two of daily downtime?

        I have Litespeed cache installed.

        Affected sites: @dinotoyblog @blog@animaltoyforum.com @blog@monstertoyblog.com

        jdt@enigmatick.socialJ This user is from outside of this forum
        jdt@enigmatick.socialJ This user is from outside of this forum
        jdt@enigmatick.social
        wrote last edited by
        #4

        @AdamStuartSmith@sauropods.win I had that problem with vanilla Mastodon for a bit when I first installed it. Any posts that got any sort of activity from anyone with a significant following would overwhelm my server for several minutes.

        I solved that by setting up a #Varnish cache in front of my server. I don't use Mastodon anymore, but I still use the cache in front of my bespoke software (#Enigmatick). It works really well to take the load off of the core server for those fan-out posts. Varnish handles the load with aplomb.

        rimu@mastodon.nzoss.nzR 1 Reply Last reply
        0
        • jdt@enigmatick.socialJ jdt@enigmatick.social

          @AdamStuartSmith@sauropods.win I had that problem with vanilla Mastodon for a bit when I first installed it. Any posts that got any sort of activity from anyone with a significant following would overwhelm my server for several minutes.

          I solved that by setting up a #Varnish cache in front of my server. I don't use Mastodon anymore, but I still use the cache in front of my bespoke software (#Enigmatick). It works really well to take the load off of the core server for those fan-out posts. Varnish handles the load with aplomb.

          rimu@mastodon.nzoss.nzR This user is from outside of this forum
          rimu@mastodon.nzoss.nzR This user is from outside of this forum
          rimu@mastodon.nzoss.nz
          wrote last edited by
          #5

          @jdt @AdamStuartSmith Yep, this is the way. I recently did something similar with nginx https://join.piefed.social/2025/11/22/reducing-piefeds-dependence-on-cloudflare/

          jdt@enigmatick.socialJ 1 Reply Last reply
          0
          • rimu@mastodon.nzoss.nzR rimu@mastodon.nzoss.nz

            @jdt @AdamStuartSmith Yep, this is the way. I recently did something similar with nginx https://join.piefed.social/2025/11/22/reducing-piefeds-dependence-on-cloudflare/

            jdt@enigmatick.socialJ This user is from outside of this forum
            jdt@enigmatick.socialJ This user is from outside of this forum
            jdt@enigmatick.social
            wrote last edited by
            #6

            @rimu@mastodon.nzoss.nz Definitely. Offloading the static assets to nginx is a big win. Varnish adds a layer of serving from memory that takes it up a notch. Like having your own Fastly pop.

            It does require some configuration nuance to be sure you aren't serving cached assets to the wrong connections (e.g., authenticated GET requests that shouldn't be shared beyond a specific session).

            1 Reply Last reply
            0
            • adamstuartsmith@sauropods.winA adamstuartsmith@sauropods.win

              @pfefferle Exactly. Maybe there are there some Litespeed settings I could tweak?

              Thanks for your interest and help.

              pfefferle@mastodon.socialP This user is from outside of this forum
              pfefferle@mastodon.socialP This user is from outside of this forum
              pfefferle@mastodon.social
              wrote last edited by
              #7

              @AdamStuartSmith is this "only" a problem when you post new things?

              so there is always the option to tweak the scheduling, to not send all pings at the same time. the only downside is, that this can take some more time until every of your follower receives the new post.

              pfefferle@mastodon.socialP adamstuartsmith@sauropods.winA 2 Replies Last reply
              0
              • pfefferle@mastodon.socialP pfefferle@mastodon.social

                @AdamStuartSmith is this "only" a problem when you post new things?

                so there is always the option to tweak the scheduling, to not send all pings at the same time. the only downside is, that this can take some more time until every of your follower receives the new post.

                pfefferle@mastodon.socialP This user is from outside of this forum
                pfefferle@mastodon.socialP This user is from outside of this forum
                pfefferle@mastodon.social
                wrote last edited by
                #8

                @AdamStuartSmith I will put it on the backlog.

                idea: an option to chose between different scaling/load levels.

                1. publish as fast as possible (high load)
                2. reduce bulks and increase pauses between sending
                3. take your time ☕️

                pfefferle@mastodon.socialP 1 Reply Last reply
                0
                • pfefferle@mastodon.socialP pfefferle@mastodon.social

                  @AdamStuartSmith I will put it on the backlog.

                  idea: an option to chose between different scaling/load levels.

                  1. publish as fast as possible (high load)
                  2. reduce bulks and increase pauses between sending
                  3. take your time ☕️

                  pfefferle@mastodon.socialP This user is from outside of this forum
                  pfefferle@mastodon.socialP This user is from outside of this forum
                  pfefferle@mastodon.social
                  wrote last edited by
                  #9

                  @AdamStuartSmith https://github.com/Automattic/wordpress-activitypub/issues/2672

                  1 Reply Last reply
                  0
                  • pfefferle@mastodon.socialP pfefferle@mastodon.social

                    @AdamStuartSmith is this "only" a problem when you post new things?

                    so there is always the option to tweak the scheduling, to not send all pings at the same time. the only downside is, that this can take some more time until every of your follower receives the new post.

                    adamstuartsmith@sauropods.winA This user is from outside of this forum
                    adamstuartsmith@sauropods.winA This user is from outside of this forum
                    adamstuartsmith@sauropods.win
                    wrote last edited by
                    #10

                    @pfefferle Only when I post new things, but for each new post there are two CPU peaks associated with CPU faults. One when it is first published, then a larger one later when I (or someone else with a moderate following) boosts it directly on Mastodon.

                    Happy for pings to take their time. Thanks for looking into it, I’m also working through the suggestions as far as I’m able.

                    pfefferle@mastodon.socialP 1 Reply Last reply
                    0
                    • adamstuartsmith@sauropods.winA adamstuartsmith@sauropods.win

                      @pfefferle Only when I post new things, but for each new post there are two CPU peaks associated with CPU faults. One when it is first published, then a larger one later when I (or someone else with a moderate following) boosts it directly on Mastodon.

                      Happy for pings to take their time. Thanks for looking into it, I’m also working through the suggestions as far as I’m able.

                      pfefferle@mastodon.socialP This user is from outside of this forum
                      pfefferle@mastodon.socialP This user is from outside of this forum
                      pfefferle@mastodon.social
                      wrote last edited by
                      #11

                      @AdamStuartSmith phew... the load as a result of boosting is hard to intercept: https://ar.al/2022/11/09/is-the-fediverse-about-to-get-fryed-or-why-every-toot-is-also-a-potential-denial-of-service-attack/

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups