The high CPU issue that is causing midwest.social to slow way down and timeout on HTTP requests is still a mystery to me. But, it seems to do it less often and for less time now.

Here is CPU usage over 24 hours:

It’s a bunch of SELECT statements in Postgres that all seem to fire at one time and take a while to complete as a batch. I’ve inspected the logs and haven’t seen anything unusual. Just stuff federating and posts receiving upvotes.

  • seahorse [Ohio]OPMA
    link
    411 months ago

    It’s fixed. Was an inefficient database query.

    • RoundSparrow @ SJW
      link
      fedilink
      311 months ago

      Did you hand-modify lemmy_server? is there a code change/pull request to share?

      Thank you.

      • seahorse [Ohio]OPMA
        link
        211 months ago

        I manually modified the activity table. I’ll find the migration that didn’t run.