bubblineyuri
  • Joined on 2022-09-16
bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-08 11:41:40 +00:00
A lot of errors when migrating from Pleroma

Well, I have a backup, but I can't restore it when the database index is corrupt

bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-06 23:56:48 +00:00
A lot of errors when migrating from Pleroma

So I figured out that the whole database got corrupted. Rebuilding the index resulted in the whole database being yeeted.

bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-06 20:24:44 +00:00
A lot of errors when migrating from Pleroma
koyu@koyu:~$ dd if=/dev/urandom of=test.img bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 5.6276 s, 191 MB/s
koyu@koyu:~$…
bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-06 19:47:22 +00:00
A lot of errors when migrating from Pleroma

please benchmark your disk to ensure it has the read and write speeds necessary to comfortably run a database

How do I do that? I mean Pleroma and bloaty Mastodon worked before.

bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-06 19:46:48 +00:00
A lot of errors when migrating from Pleroma

I also tried regenerating the entire config. That didn't help.

bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-06 19:29:44 +00:00
A lot of errors when migrating from Pleroma

This is very interesting. I'm occasionally getting Oct 06 19:28:24 koyu.space mix[622149]: 19:28:24.173 [notice] :alarm_handler: {:clear, :system_memory_high_watermark} even though I still…

bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-06 19:25:33 +00:00
A lot of errors when migrating from Pleroma

Now I'm getting these funny things with a few requests:

Oct 06 19:24:47 koyu.space mix[622149]: 19:24:47.607 request_id=FxuRVH9dchMu0pwAAG9D [error] Internal server error: {:timeout,…
bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-06 19:23:27 +00:00
A lot of errors when migrating from Pleroma

Running a vacuum didn't improve performance though. I had high hopes.

bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-06 19:21:27 +00:00
A lot of errors when migrating from Pleroma

I might have found the issue. Running a vacuum using mix takes a long time to finish and has a very high IO load.

bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-06 19:13:36 +00:00
A lot of errors when migrating from Pleroma

pg_repack returned ERROR: query failed: ERROR: could not create unique index "index_371024" and the server is still slow

bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-06 13:34:53 +00:00
A lot of errors when migrating from Pleroma

I did an SQL vacuum and tried debug logging, but there's nothing of value. That's tough.

bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-05 21:34:17 +00:00
A lot of errors when migrating from Pleroma

iotop is safe so I don't think it's disk IO. How do I enable debug logging?

bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-05 20:32:30 +00:00
A lot of errors when migrating from Pleroma

check your running queries again - is there a specific one that's taking a long time?

This one has been trying to do something since start:

DO $$BEGIN LISTEN "public.oban_insert"; END$$

bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-05 18:39:49 +00:00
A lot of errors when migrating from Pleroma

This is also doing nothing, it's a real hard one

bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-05 18:24:14 +00:00
A lot of errors when migrating from Pleroma

I'm also getting these from time to time

Oct 05 18:23:32 koyu.space mix[20932]: 18:23:32.108 [notice] Application ex_aws exited: :stopped
Oct 05 18:23:32 koyu.space mix[20932]: 18:23:32.10…
bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-05 17:55:31 +00:00
A lot of errors when migrating from Pleroma

Removing masto-fe related settings from the database made it kinda faster 🤔

bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-05 16:34:48 +00:00
A lot of errors when migrating from Pleroma

I'll let it sink in a little longer. Will report back.

bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-05 16:25:23 +00:00
A lot of errors when migrating from Pleroma

Yes, it seems to have synced up, but timelines still load slow

bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-05 16:16:19 +00:00
A lot of errors when migrating from Pleroma

What I find ironic is that the timelines load super slow, but the rest like config etc. loads as it should

bubblineyuri commented on issue AkkomaGang/akkoma#215 2022-10-05 15:39:10 +00:00
A lot of errors when migrating from Pleroma

It's getting better, but it's still very slow. Some requests even don't get throguh now. I'm running koyu.space on a KVM VPS with the following specs:

10GB RAM 4 Cores (AMD EPYC) 200GB SSD