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
    EconomicHitman (economic_hitman@shitposter.club)'s status on Wednesday, 04-Oct-2023 01:19:35 JST EconomicHitman EconomicHitman
    • shitpisscum :shrerbia: :verified:
    @shitpisscum HE'S SO BACK
    In conversation Wednesday, 04-Oct-2023 01:19:35 JST from shitposter.club permalink
    • Embed this notice
       (mint@ryona.agency)'s status on Wednesday, 04-Oct-2023 01:19:26 JST  
      in reply to
      • shitpisscum :shrerbia: :verified:
      • 7666
      • shitpisscum
      @shitpisscum @7666 @shitpisscum @Economic_Hitman >I left it federating for over 2 years so the db is too big (~11.000.000 activities)
      Rookie numbers.
      pleroma=# select count(1) from activities;
      count
      ----------
      28892409
      (1 row)That's year and a half, I think. Seems to be chugging fine on a spare PC with shitty pre-Ryzen AMD APU. So yeah, you probably need a little more RAM and clock cycles. Upgrading both postgres and pleromer would definely help, and you might also be able to spare some queries by caching objects via nginx.
      Screenshot_20231003_191413.png
      In conversation Wednesday, 04-Oct-2023 01:19:26 JST permalink

      Attachments


      1. https://ryona.agency/media/6f201e53e6cc41f91cb6a61fbf4d002031ced34c6d40eac0178ea06c94d365af.png?name=Screenshot_20231003_191413.png
    • Embed this notice
      shitpisscum :shrerbia: :verified: (shitpisscum@shitpisscum.mooo.com)'s status on Wednesday, 04-Oct-2023 01:19:32 JST shitpisscum :shrerbia: :verified: shitpisscum :shrerbia: :verified:
      in reply to
      • 7666
      • shitpisscum
      @7666 @Economic_Hitman @shitpisscum >what are you goofballs doing to cause this I left it federating for over 2 years so the db is too big (~11.000.000 activities) and is often timing out. For some reason Pleroma is extremely bad at handling db timeouts and is often locking up (not crashing, if it was crashing systemd would restart it). FAQ How are you going to fix it Getting a more powerful db server.
      Alternative way would be to hire Erlang devs to fork the project and implement some sort of exception handling but then you're stuck with paying someone to maintain your own fork. And your db is still timing out, you just kind of hide it (getting a blank tl instead of "502 uwu shit's fucked hihih"). So yea, I'll just get a more powerful server lol. What about pg_repack, updating Pleroma, pgtune.leopard.in.ua etc? Might give some temporary performace boost but I guarantee it'll be back here in a few months. Logs? [error] Internal server error: %DBConnection.ConnectionError{message: "connection not available and request was dropped from queue after 414ms. This means requests are coming in and your connection pool cannot serve them fast enough. You can address this by:\n\n 1. Ensuring your database is available and that you can connect to it >mine's fine Congrats, you won the "Works on my machine" award. You will be contacted by ShitPissCum Services South Eastern Europe within the next 5 to 10 week days to arrange the delivery
      In conversation Wednesday, 04-Oct-2023 01:19:32 JST permalink

      Attachments


      1. https://shitpisscum.mooo.com/media/77fca21f-5db5-44cc-b85a-4dfd17a8873f/works_on_my_machine.png
      2. No result found on File_thumbnail lookup.
        PGTune - calculate configuration for PostgreSQL based on the maximum performance for a given hardware configuration
        from /humans.txt
        PgTune - Tuning PostgreSQL config by your hardware
    • Embed this notice
      7666 (7666@comp.lain.la)'s status on Wednesday, 04-Oct-2023 01:19:33 JST 7666 7666
      in reply to
      • shitpisscum :shrerbia: :verified:
      @shitpisscum @Economic_Hitman what are you goofballs doing to cause this, mine's fine
      In conversation Wednesday, 04-Oct-2023 01:19:33 JST permalink

      Attachments


      1. https://comp.lain.la/media/0200228ff3d74a69d9b56957c610c3a7f13eb16d0124254cd0a33a947f371b9f.PNG
    • Embed this notice
      shitpisscum :shrerbia: :verified: (shitpisscum@shitpisscum.mooo.com)'s status on Wednesday, 04-Oct-2023 01:19:34 JST shitpisscum :shrerbia: :verified: shitpisscum :shrerbia: :verified:
      in reply to
      @Economic_Hitman :bob:
      In conversation Wednesday, 04-Oct-2023 01:19:34 JST permalink

      Attachments


      1. https://shitpisscum.mooo.com/media/79ececce-7b51-478d-9fd5-6d71f82b062b/pleromaLoop.png
    • Embed this notice
      shitpisscum (shitpisscum@mrhands.horse)'s status on Wednesday, 04-Oct-2023 01:48:47 JST shitpisscum shitpisscum
      in reply to
      • 
      • shitpisscum :shrerbia: :verified:
      • 7666
      @mint @7666 @shitpisscum @Economic_Hitman
      >you probably need a little more RAM
      I definitely do lol

      >Upgrading both postgres
      Will do when seeting up a new db server

      >and pleromer
      Will do as soon as the db is running well
      In conversation Wednesday, 04-Oct-2023 01:48:47 JST permalink
       likes this.
    • Embed this notice
      Yukkuri (iamtakingiteasy@eientei.org)'s status on Wednesday, 04-Oct-2023 02:59:42 JST Yukkuri Yukkuri
      in reply to
      • 
      • shitpisscum :shrerbia: :verified:
      • 7666
      • shitpisscum
      @mint @7666 @shitpisscum @shitpisscum @Economic_Hitman Over two years; select count(1) from activities; count ---------- 53683089 (1 row) Postgres connections can be tuned to have larger caches. https://pgtune.leopard.in.ua/ can give reasonable defaults. In practice, you may want to have cache sizes as big as available memory allows, and limit total number of workers accordingly. And naturally, the most recent part of tables is preferably to be located on nvme SSD.
      In conversation Wednesday, 04-Oct-2023 02:59:42 JST permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        PGTune - calculate configuration for PostgreSQL based on the maximum performance for a given hardware configuration
        from /humans.txt
        PgTune - Tuning PostgreSQL config by your hardware
       likes this.

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.