GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Phantasm (phnt@fluffytail.org)'s status on Tuesday, 06-Aug-2024 13:50:46 JST Phantasm Phantasm
    • feld

    @feld, is there a possibility that Oban behavior has changed between versions 2.13.4 and 2.17.9 that could break Pleroma's federation (version update commit: dbf29cba)? This commit is in the 03024318..9953b0da commit range from mint and also before the commit in the issue on Gitlab.

    I have a test instance that now runs on that commit to see if it will break. If it doesn't break this week, I'll slowly bisect the commit range.

    In conversation Tuesday, 06-Aug-2024 13:50:46 JST from fluffytail.org permalink
    • Embed this notice
      feld (feld@bikeshed.party)'s status on Tuesday, 06-Aug-2024 13:50:45 JST feld feld
      in reply to
      @phnt There is one known behavior change: instead of using Postgres insert triggers to tell Oban about new jobs, the Oban process itself tracks them.

      Nobody else (Oban users) had reported issues with Oban since this change, but now I've pulled up Oban's Github again and this is a possible candidate. Possible. Unsure though.

      https://github.com/sorentwo/oban/issues/1129
      In conversation Tuesday, 06-Aug-2024 13:50:45 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
        Oban OSS available jobs are not being executed · Issue #1129 · sorentwo/oban
        Environment Oban Version 2.17.12 PostgreSQL Version 16 Elixir & Erlang/OTP Versions (elixir --version) Erlang/OTP 26, 1.15.7 Current Behavior iex(tp@100.100.20.1)1> Oban.check_queue(queue: :docx_jo...
       likes this.
    • Embed this notice
       (mint@ryona.agency)'s status on Tuesday, 06-Aug-2024 13:53:54 JST  
      in reply to
      • feld
      @phnt @feld Worth noting that someone on [url=https://git.pleroma.social/pleroma/pleroma/-/issues/3286]#3286[/url] reported that updating Oban supposedly fixes the issue. I don't have much faith in that since the issue pops up very randomly and not enough time has passed since to make a full conclusion.
      Screenshot_20240806_075109.png
      In conversation Tuesday, 06-Aug-2024 13:53:54 JST permalink

      Attachments


      1. https://ryona.agency/media/87d24627f4c8f6cf0f115674ce9d2b22c02b42a0a93c722e6a4ad69e36927b22.png?name=Screenshot_20240806_075109.png
    • Embed this notice
      Phantasm (phnt@fluffytail.org)'s status on Tuesday, 06-Aug-2024 13:53:55 JST Phantasm Phantasm
      in reply to
      • feld
      @feld This instance currently still runs 2.6.3 and therefore isn't affected in any way, but the test instance runs:
      Erlang: 25.2.3+dfsg-1
      Elixir: 1.14.0.dfsg-2
      PostgreSQL: 15

      Both are the default Debian 12 packages. I can switch to a more upstream setup with asdf if you want.
      In conversation Tuesday, 06-Aug-2024 13:53:55 JST permalink
    • Embed this notice
      feld (feld@bikeshed.party)'s status on Tuesday, 06-Aug-2024 13:53:56 JST feld feld
      in reply to
      • feld
      @phnt Can you confirm the Elixir and Erlang versions of the servers where you've seen the issue?
      In conversation Tuesday, 06-Aug-2024 13:53:56 JST permalink
    • Embed this notice
       (mint@ryona.agency)'s status on Tuesday, 06-Aug-2024 13:58:12 JST  
      in reply to
      • 
      • feld
      @phnt @feld >but the versions deployed by the users will vary
      Agency and salon: OTP 25, Elixir 1.14.4, Oban 2.17.9
      boymoder.biz (still hasn't frozen since the last time, no updates done): OTP 25, Elixir 1.14.0, Oban 2.17.9
      In conversation Tuesday, 06-Aug-2024 13:58:12 JST permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        Akkoma
    • Embed this notice
       (mint@ryona.agency)'s status on Tuesday, 06-Aug-2024 14:12:25 JST  
      in reply to
      • 
      • feld
      @feld @phnt Disabled insert_trigger on salon as noted in 2.17 changelog to see if that makes any difference.
      In conversation Tuesday, 06-Aug-2024 14:12:25 JST permalink
    • Embed this notice
      feld (feld@bikeshed.party)'s status on Tuesday, 06-Aug-2024 21:52:47 JST feld feld
      in reply to
      • 
      @mint @phnt It has no effect as we ran the migration which deleted the triggers from the db
      In conversation Tuesday, 06-Aug-2024 21:52:47 JST permalink
       likes this.
    • Embed this notice
      Phantasm (phnt@fluffytail.org)'s status on Wednesday, 14-Aug-2024 05:19:14 JST Phantasm Phantasm
      in reply to
      • feld
      @feld It certainly did not do that with Pleroma's configuration at least. There are more cache misses, held locks and increased reads in Postgres. Unless there was a change in Pleroma somewhere between 2.6.3 and the Oban bump commit that would cause exactly this, which is unlikely I think.

      In conversation Wednesday, 14-Aug-2024 05:19:14 JST permalink

      Attachments


      1. https://upload.fluffytail.org/media/bdb932852fa4684e94325b47f059a2a980093bf1c2f659452fb7e11d1be5aa57.png?name=image.png

      2. https://upload.fluffytail.org/media/c0236766426b918400c0eb5f245dfb0c01f5871b2027cae71dddd1dc2dd7737e.png?name=image.png
      Pleroma-tan likes this.
    • Embed this notice
      feld (feld@bikeshed.party)'s status on Wednesday, 14-Aug-2024 05:19:15 JST feld feld
      in reply to
      @phnt the change they made was intended to reduce pressure on the database for the heaviest Oban users... so that's odd. 😲
      In conversation Wednesday, 14-Aug-2024 05:19:15 JST permalink
      Pleroma-tan likes this.
    • Embed this notice
      Phantasm (phnt@fluffytail.org)'s status on Wednesday, 14-Aug-2024 05:19:16 JST Phantasm Phantasm
      in reply to
      • feld
      @feld You probably won't trigger it on the thinclient. The test 1 core VPS from OVH is still doing fine after 10 days. Whatever change was made to Oban, it caused more iops which is killing the VM OS drive where the DB cache is. And that is causing timeouts which snowball into the DB driver probably restarting which eventually kills Oban. You can clearly see on the graph when I updated the instance and when it died today.


      In conversation Wednesday, 14-Aug-2024 05:19:16 JST permalink

      Attachments


      1. https://upload.fluffytail.org/media/614e43a7c9fa0c138efd19edbeb2449863c03938f4c533d01e9343f238781f8c.png?name=image.png

      2. https://upload.fluffytail.org/media/0325ee7af044e18bcd869ee89ca308048118e3710648ac56687f797e697db888.png?name=image.png

      3. https://upload.fluffytail.org/media/9159b0e81075b6fefc7b84aac3dfef4a287e3c4b92a969d4bc18e9356ff3d968.png?name=image.png
      Pleroma-tan likes this.
    • Embed this notice
      feld (feld@bikeshed.party)'s status on Wednesday, 14-Aug-2024 05:19:17 JST feld feld
      in reply to
      @phnt yeah, I'm trying to reproduce it on slower hardware too
      In conversation Wednesday, 14-Aug-2024 05:19:17 JST permalink
    • Embed this notice
      feld (feld@bikeshed.party)'s status on Wednesday, 14-Aug-2024 05:19:18 JST feld feld
      in reply to
      @phnt oh wow this is fantastic feedback, please let me know if Oban 2.18 resolves the issue
      In conversation Wednesday, 14-Aug-2024 05:19:18 JST permalink
    • Embed this notice
      Phantasm (phnt@fluffytail.org)'s status on Wednesday, 14-Aug-2024 05:19:18 JST Phantasm Phantasm
      in reply to
      • feld
      @feld Will do. I have my doubts though as it seems to be related to slow hardware where the database can't keep up and eventually everything crawls to a halt when Oban gets into some kind of a bad state.
      In conversation Wednesday, 14-Aug-2024 05:19:18 JST permalink
    • Embed this notice
      Phantasm (phnt@fluffytail.org)'s status on Wednesday, 14-Aug-2024 05:19:20 JST Phantasm Phantasm
      in reply to
      • feld
      @feld Can confirm that the upgrade to Oban 2.17 is likely the cause for the stalled federation as the 03024318...dbf29cba range doesn't seem to have anything related. I've updated FluffyTail to the Oban update commit on Sunday and it stalled few hours ago. Now running on your feld/debugging branch with Oban updated to 2.18.

      I have pleroma, postgres logs and a full copy of the DB I can restore locally if you want something from that.

      Here's also a reply to another thread that didn't federate to your instance: https://annihilation.social/notice/AkvXUKf4HtAFYuZnM0
      In conversation Wednesday, 14-Aug-2024 05:19:20 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: annihilation.social
        Phantasm (@phnt@annihilation.social)
        @feld @mint I think that this theory is the very likely cause. I've updated FluffyTail to the same Oban version bump commit (dbf29cbae4) on Sunday and it finally broke under it's own weight. I've s...

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.