Fresh plex install hangs but continues doing some work on DB

Server Version#: unraid 7.1.4 | plex 1.42 binhex repo
Player Version#: n/a
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>

Been using plex for years without major issues, but recently made some upgrades and during the process I decided against spending few days moving few million metadata folders (in hindsight, terrible decision), I wiped it and started up a new plex instance and let it create a fresh db without a ton of bloat I’ve gathered over the years.

for ref, state of plex appdata from a recent check i did

now I’ve got a fairly large library but it does seem a bit crazy. but lets ignore that, gone, poof, deleted. and no I dont back this up, trying to zip 4.5mil folders isnt going to end well.

I’ve got it all setup, with minimal metadata handling. however when it came time for nightly scheduled tasks it’d always hang and I had to restart it to get it back up and working. eventually pinned it down to database optimizations, as I understand plex takes db offline to do these, which makes sense, however it just kept going when left, had it left for 3 days at one point, currently I have it at over a day, this is after dbrepair.sh auto.

Enabled logs, however all services seem to just be halted aside from whatever its doing in background and not logging it. For a test I’ve tried killing the 5 relay processes it created at some point, those log fine btw, here’s a snip of the output,

db optimisation was issues around 17:14, with no logs to show for it. at 4:40am it somehow picked up some network int resets (another issue entirely, likely down to container running in host on my unraid rather than bridge)

Oct 31, 2025 17:14:06.894 [22438093839160] VERBOSE - Comparing request from ::ffff:92.72.44.234 against ::ffff:192.168.0.0/120
Oct 31, 2025 17:14:06.894 [22438093839160] VERBOSE - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Oct 31, 2025 17:14:06.894 [22438093839160] DEBUG - Auth: authenticated user 42848564 as RadlerAlkoholfrei
Oct 31, 2025 17:14:07.895 [22438093839160] DEBUG - 13 threads are waiting on db connections held by threads: 22437870644024,22437896289080,22437936565048,22437934455608,22437934455608,22437934455608,22437934455608,22437934455608,22437934455608,22437934455608,22437934455608,22437934455608,22437934455608,22437934455608,22437934455608,22437934455608,22437934455608,22437934455608,22437934455608,22437934455608
Oct 31, 2025 17:14:14.744 [22438095948600] DEBUG - [EventSourceClient/pubsub/109.237.24.233:443] EventSource: Got event [data] ‘’
Oct 31, 2025 17:14:14.744 [22438095948600] DEBUG - [EventSourceClient/pubsub/109.237.24.233:443] Relay: already have an active relay connection for this server
Oct 31, 2025 17:14:29.860 [22438095948600] VERBOSE - Comparing request from ::ffff:92.72.44.234 against ::ffff:192.168.0.0/120
Oct 31, 2025 17:14:29.860 [22438095948600] VERBOSE - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Oct 31, 2025 17:14:29.860 [22438095948600] DEBUG - Auth: authenticated user 42848564 as RadlerAlkoholfrei
Nov 01, 2025 04:40:06.419 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=440, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:06.419 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=7, type=1, index=92, flags=0x1003, change=0x0
Nov 01, 2025 04:40:06.419 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:06.419 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:06.448 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 04:40:06.448 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=1828, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:06.448 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=92, flags=0x1003, change=0x0
Nov 01, 2025 04:40:06.448 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:06.448 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:06.450 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 04:40:06.450 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=1464, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:06.450 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=91, flags=0x1002, change=0xffffffff
Nov 01, 2025 04:40:06.450 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:06.450 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:06.452 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 04:40:06.489 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=1820, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:06.489 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=92, flags=0x1002, change=0x41
Nov 01, 2025 04:40:06.489 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:06.489 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:06.494 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 04:40:06.494 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=440, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:06.494 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=7, type=1, index=92, flags=0x1002, change=0x0
Nov 01, 2025 04:40:06.494 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:06.494 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:06.496 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 04:40:06.496 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=656, type=RTM_DELLINK, flags=0x0
Nov 01, 2025 04:40:06.496 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=91, flags=0x1002, change=0xffffffff
Nov 01, 2025 04:40:06.496 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=440, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:06.496 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=7, type=1, index=92, flags=0x1002, change=0x0
Nov 01, 2025 04:40:06.496 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:06.496 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:06.498 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 04:40:06.498 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=104, type=RTM_DELLINK, flags=0x0
Nov 01, 2025 04:40:06.498 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=7, type=1, index=92, flags=0x1002, change=0x0
Nov 01, 2025 04:40:06.498 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=656, type=RTM_DELLINK, flags=0x0
Nov 01, 2025 04:40:06.498 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=92, flags=0x1002, change=0xffffffff
Nov 01, 2025 04:40:06.646 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=1464, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:06.646 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=115, flags=0x1002, change=0xffffffff
Nov 01, 2025 04:40:06.646 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:06.646 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:06.668 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 04:40:06.668 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=1464, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:06.668 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=116, flags=0x1002, change=0xffffffff
Nov 01, 2025 04:40:06.668 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:06.668 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:06.671 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 04:40:06.671 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=1820, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:06.671 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=116, flags=0x1002, change=0x0
Nov 01, 2025 04:40:06.671 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:06.671 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:06.673 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 04:40:06.673 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=1820, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:06.673 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=116, flags=0x1002, change=0x100
Nov 01, 2025 04:40:06.673 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:06.673 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:06.675 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 04:40:06.675 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=440, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:06.675 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=7, type=1, index=116, flags=0x1002, change=0x0
Nov 01, 2025 04:40:06.675 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:06.675 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:06.677 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 04:40:06.677 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=1820, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:06.677 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=116, flags=0x1003, change=0x1
Nov 01, 2025 04:40:06.678 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:06.678 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:06.679 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 04:40:06.679 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=440, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:06.679 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=7, type=1, index=116, flags=0x1003, change=0x0
Nov 01, 2025 04:40:06.679 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:06.679 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:06.681 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 04:40:09.020 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=672, type=RTM_DELLINK, flags=0x0
Nov 01, 2025 04:40:09.020 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=115, flags=0x1002, change=0xffffffff
Nov 01, 2025 04:40:09.058 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=440, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:09.058 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=7, type=1, index=116, flags=0x11043, change=0x0
Nov 01, 2025 04:40:09.059 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:09.059 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:09.061 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 04:40:09.061 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=440, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:09.061 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=7, type=1, index=116, flags=0x11043, change=0x0
Nov 01, 2025 04:40:09.061 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:09.061 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:09.063 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 04:40:09.063 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=1828, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:09.063 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=116, flags=0x11043, change=0x0
Nov 01, 2025 04:40:09.063 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:09.063 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:09.065 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 04:40:24.367 [22437885741880] DEBUG - NetworkInterface: received Netlink message len=440, type=RTM_NEWLINK, flags=0x0
Nov 01, 2025 04:40:24.367 [22437885741880] DEBUG - NetworkInterface: Netlink information message family=7, type=1, index=116, flags=0x11043, change=0x0
Nov 01, 2025 04:40:24.367 [22437885741880] DEBUG - Network change.
Nov 01, 2025 04:40:24.367 [22437885741880] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 01, 2025 04:40:24.369 [22437885741880] DEBUG - Network change notification but nothing changed.
Nov 01, 2025 22:15:12.567 [22438101683000] DEBUG - Shutting down with signal 15 (Terminated)
Nov 01, 2025 22:15:12.567 [22438101683000] DEBUG - Ordered to stop server.
Nov 01, 2025 22:15:12.573 [22438414330512] DEBUG - Stopping server…
Nov 01, 2025 22:15:12.573 [22438414330512] DEBUG - HttpServer: Stopping server.
Nov 01, 2025 22:15:13.573 [22438414330512] WARN - Timed out waiting for server to finish.
Nov 01, 2025 22:15:13.573 [22438414330512] DEBUG - Server stopped.
Nov 01, 2025 22:15:13.573 [22438414330512] DEBUG - NetworkService: Stopping advertisement.
Nov 01, 2025 22:15:13.574 [22438414330512] DEBUG - Killing plug-ins.
Nov 01, 2025 22:15:13.953 [22438414330512] DEBUG - [com.plexapp.system] Killing.
Nov 01, 2025 22:15:13.965 [22438101683000] WARN - JobManager: Could not find job for handle 110
Nov 01, 2025 22:15:14.072 [22438414330512] INFO - Killing process: Plex Relay (pid: 337)
Nov 01, 2025 22:15:14.072 [22438414330512] INFO - Killing process: Plex Relay (pid: 339)
Nov 01, 2025 22:15:14.072 [22438414330512] INFO - Killing process: Plex Relay (pid: 340)
Nov 01, 2025 22:15:14.072 [22438414330512] INFO - Killing process: Plex Relay (pid: 399)
Nov 01, 2025 22:15:14.072 [22438414330512] INFO - Killing process: Plex Relay (pid: 436)
Nov 01, 2025 22:15:14.072 [22438414330512] DEBUG - Database: Shutting down.
Nov 01, 2025 22:15:14.073 [22438101683000] VERBOSE - JobManager: child process with handle 399 exited
Nov 01, 2025 22:15:14.073 [22438101683000] DEBUG - Jobs: ‘/usr/lib/plexmediaserver/Plex Relay’ exit code for process 399 is -9 (signal: Killed)
Nov 01, 2025 22:15:14.073 [22438101683000] VERBOSE - JobManager: child process with handle 337 exited
Nov 01, 2025 22:15:14.073 [22438101683000] DEBUG - Jobs: ‘/usr/lib/plexmediaserver/Plex Relay’ exit code for process 337 is -9 (signal: Killed)
Nov 01, 2025 22:15:14.073 [22438101683000] VERBOSE - JobManager: child process with handle 339 exited
Nov 01, 2025 22:15:14.073 [22438101683000] DEBUG - Jobs: ‘/usr/lib/plexmediaserver/Plex Relay’ exit code for process 339 is -9 (signal: Killed)
Nov 01, 2025 22:15:14.074 [22438101683000] VERBOSE - JobManager: child process with handle 436 exited
Nov 01, 2025 22:15:14.074 [22438101683000] DEBUG - Jobs: ‘/usr/lib/plexmediaserver/Plex Relay’ exit code for process 436 is -9 (signal: Killed)
Nov 01, 2025 22:15:14.074 [22438101683000] VERBOSE - JobManager: child process with handle 340 exited
Nov 01, 2025 22:15:14.074 [22438101683000] DEBUG - Jobs: ‘/usr/lib/plexmediaserver/Plex Relay’ exit code for process 340 is -9 (signal: Killed)
Nov 01, 2025 22:15:18.672 [22437900507960] DEBUG - Stopping file watcher for com.plexapp.system
Nov 01, 2025 22:16:17.025 [22438101683000] DEBUG - Server is already in shutdown mode, ignoring this signal…

htop inside container, just 3 processes at constant 100% cpu (minimal system impact but they’re doing something)

looking at lsocks just shows them keeping databases open.

Kind of lost, I’d prefer not to restart it all over again as its likely to just happen again if I do, I can only assume that me adding somewhat large libraries (that scan has no issues with, with no new metadata to add etc) is the fault but, it was managing just fine before on 900gb structure.

any help would be appreciated.

Your network adapter is going :zany_face:

Starting with the obvious:

  1. Unraid host has static IP address assigned ?
  2. Container is static IP or DHCP preassigned ?
  3. Container in host networking mode or bridge mode ?

For the DB directory listing, please use ls -lah ( human flag)
It looks like a 10GB DB and 1GB blobs. This correct ?

Lastly,
May I have the actual ZIP file (PMS server DEBUG logs) captured about 3 minutes after server (container) start ?

Hey, thanks for response, the network thing will be my unraid mac bonding messing with it and plex being on host assignment

  1. using host address, I think its a separate issue that I was going to solve after I got it back up and working properly, I do believe giving it a network bridge or giving it a unique ip will help with that

  2. same as 1

  3. same as 1, host.

for db, yes 1gb ish main, it has 1.43 backup in there, that can be ignored.

where about are they located? only have txt’s in /logs, I can restart plex and get the zip from ui if thats what you’re after

edit; actually, is 1.43 backup ok… I cant remember now but i believe i pulled latest but then had some issues with playback tests and dropped down to 1.42, I assume it would’ve handled it fine but maybe the db is just out of sync with code?? am i talking rubish?

Logs: Settings - [server] - Troubleshooting - Download Logs

Settings - [server] - General - Show Advanced - DEBUG logging
(do not enable VERBOSE logging)

This is starting to sound like a separate issue (your LAN / cabling) but not enough info yet to know where to look

okay, restarting it then if its of no use keeping it running, I’ll get the changes I think it needs re the network resets in mean time, attached .zip debug about 3mins after start.

Plex Media Server Logs_2025-11-02_02-08-58.zip (786.5 KB)

You have a V4 network. Turn off the IPv6 support in Settings - Network.

Nov 02, 2025 02:04:04.704 [22862931307320] VERBOSE - Comparing request from ::ffff:192.168.0.1 against ::ffff:192.168.0.0/120
Nov 02, 2025 02:04:04.704 [22862933416760] VERBOSE - Comparing request from ::ffff:192.168.0.1 against ::ffff:192.168.0.0/120

I don’t see network flapping at this point. Keep an eye on it.

odd, its on ipv4 only

always has been afaik, aside from initial boot. but yeah swapped over to ipvlan and adjusted my bond anyways to be less “flappy” should sort those network resets.

so I guess back to main issue :slight_smile: pms hanging when doing a db optimization task.

Something I’ve not tried, is doing bundle cleanup. and hmmm this seems like a lot, did delete a very large library I need to reorganize at some point.

took a minute or two at 50%, then jumped to 75% and stated its got 520217 media bundles to wipe.

looking at htop and drive usage, its fairly similar to what I’ve seen when pms wasnt responsive, I wonder if its just been trying to clean this up all along but not bringing db back up during the process. 3-4 processes using 100%cpu with these pyhon plugin filling a lot of other pids

I believe I’ve got your dbrepair script or very strange coincidence, am I right in thinking I want to run a debloat/vaccum or whatever to help this task or should I just let it be for now?

new set of zip if thats easier.

Plex Media Server Logs_2025-11-02_02-40-44.zip (852.1 KB)

well it finished, so did the obvious, pressed optimize db and its gone.

here’s some logs, it got to 10% it seems then its just relay staying alive, eventually it’ll also die, thats what I’ve been seeing so far at least

new 1.txt (41.8 KB)

few mins later, plexweb ui is also dead.

In PMS – Settings - Network – Turn off IPv6. (PMS is trying to use v6)

The machine is deadlocking on the DB.

Nov 02, 2025 02:47:33.603 [23436508658488] DEBUG - 8 threads are waiting on db connections held by threads: 23436377058104,23436460116792,23436464507704,23436489673528,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104
Nov 02, 2025 02:47:33.679 [23436445350712] DEBUG - 8 threads are waiting on db connections held by threads: 23436377058104,23436460116792,23436464507704,23436489673528,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104
Nov 02, 2025 02:47:33.834 [23436355881784] DEBUG - 8 threads are waiting on db connections held by threads: 23436377058104,23436460116792,23436464507704,23436489673528,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104,23436377058104
Nov 02, 2025 02:47:37.569 [23436659088184] DEBUG - Request: didn't get any data from 192.168.0.1:41088: End of file
Nov 02, 2025 02:47:38.581 [23436353772344] DEBUG - Request: [192.168.0.1:41112 (Allowed Network (Subnet))] GET /web/in

The container is on locald storage ? (not stored over the LAN or on a device which spins down / goes to sleep )

It the DB is locked, everything stops

As for Deflate, You should only need that if your DB is 50+ GB (obvious bloated from PMS 1.41.7 days)

Don’t run just VACUUM, run a full AUTO to reorganize it. VACUUM doesn’t put the records in order nor does it rebuild search indexes. (Auto is like ‘Sort+Vacuum+Reindex’ in one step)

Local storage, direct disk access, zfs raidz1 pool, 24/7 on, without spindown nvme.

Tried the repair, auto, vaccum prune purge deflate auto, in that order, it reduced the appdata size a bit, about 10gig but still hangs on db optimisation.

anything I should try? otherwise I think I’ll just go nuclear and start from scratch, during all this I’ve made a bunch of improvements to the performance so rebuilding basic metadata should be fairly fast. if so, can you reccomend known stable version? 1.42? heard and seen too many issues around new ffmpeg on 1.43

@Neko237

  1. Go Nuclear
  2. As you create each library section
  3. AFTER it completes, run DBRepair “Auto” (that’s all you need)
  4. Continue creating and “auto” until done.
1 Like

wiped the appdata, kept the same 1.42 image, so far so good, 5 libraries added, changes made defo helped, finished main ones in a flash for basic metadata. surprisingly its the personal media libraries that took the longest but there was a ton of files it had to find metadata for itself.

just ran bundle + optimization from webui instead (script never had issues), so far so good. thanks.