It’s been about 3 weeks and I did completely uninstall Plex and started over with a fresh database. I decided not to import the previously viewed states. I decided just keep all the old database information to itself and just let the new database be.
I suspect that some, but not all, of the slow queries were from other programs using the mac mini disk, but at the same time I just added a couple of files and got plenty of slow query warnings with plex being the only program running on the mac mini. I am not seeing the same Error messages of failed sql commands, so I am happy about that.
Here’s an example of what I see for Warnings and Errors now:
Warnings:
Aug 16, 2020 16:25:04.808 [0x7000082ab000] Warning — SLOW QUERY: It took 340.000000 ms to retrieve 1 items.
Aug 16, 2020 16:25:04.810 [0x70000907c000] Warning — SLOW QUERY: It took 390.000000 ms to retrieve 1 items.
Aug 16, 2020 16:25:05.353 [0x700008ef3000] Warning — Held transaction for too long (…/Library/MetadataItem.cpp:1107): 0.210000 seconds
Aug 16, 2020 16:25:05.466 [0x700008ef3000] Warning — Held transaction for too long (…/Library/MetadataItem.cpp:3648): 0.220000 seconds
Aug 16, 2020 16:25:06.419 [0x7000078f2000] Warning — Held transaction for too long (…/Library/MetadataCollection.cpp:404): 0.850000 seconds
Aug 16, 2020 16:25:06.585 [0x7000088cf000] Warning — SLOW QUERY: It took 790.000000 ms to retrieve 1 items.
Aug 16, 2020 16:25:06.585 [0x700009182000] Warning — SLOW QUERY: It took 460.000000 ms to retrieve 1 items.
Aug 16, 2020 16:25:06.589 [0x70000809f000] Warning — SLOW QUERY: It took 500.000000 ms to retrieve 1 items.
Aug 16, 2020 16:25:08.649 [0x7000082ab000] Warning — SLOW QUERY: It took 240.000000 ms to retrieve 1 items.
Aug 16, 2020 16:25:09.180 [0x70000938e000] Warning — Held transaction for too long (…/Library/MetadataItem.cpp:6790): 0.110000 seconds
Aug 16, 2020 16:25:09.284 [0x70000938e000] Warning — Held transaction for too long (…/Library/MetadataItem.cpp:1055): 0.320000 seconds
Aug 16, 2020 16:33:38.531 [0x700007a7b000] Warning — QueryParser: Invalid field ‘libraryHubsOnly’ found, ignoring.
Aug 16, 2020 16:33:38.535 [0x700007a7b000] Warning — QueryParser: Invalid field ‘libraryHubsOnly’ found, ignoring.
Aug 16, 2020 16:34:09.708 [0x7000081a5000] Warning — QueryParser: Invalid field ‘libraryHubsOnly’ found, ignoring.
Aug 16, 2020 16:34:09.853 [0x7000081a5000] Warning — QueryParser: Invalid field ‘libraryHubsOnly’ found, ignoring.
Aug 16, 2020 16:34:18.647 [0x7000081a5000] Warning — [Chromecast] Did not move header “accept” to query string. This can result in an unnecessary OPTIONS preflight request.
Aug 16, 2020 16:34:18.840 [0x7000079f8000] Warning — [Chromecast] [MDE] Invalid profile property; channels: 6 > 2
Aug 16, 2020 16:34:18.840 [0x7000079f8000] Warning — [Chromecast] [MDE] Invalid profile property; channels: 6 > 2
Aug 16, 2020 16:34:19.310 [0x7000079f8000] Warning — [Chromecast] [MDE] Invalid profile property; channels: 6 > 2
Aug 16, 2020 16:34:19.310 [0x7000079f8000] Warning — [Chromecast] [MDE] Invalid profile property; channels: 6 > 2
Aug 16, 2020 16:34:35.720 [0x70000809f000] Warning — [Chromecast] Did not move header “accept” to query string. This can result in an unnecessary OPTIONS preflight request.
Errors:
Aug 16, 2020 15:38:40.426 [0x700007b81000] Error — Error issuing curl_easy_perform(handle): 28
Aug 16, 2020 16:22:23.809 [0x700007663000] Error — EventSource: Retrying in 15 seconds.
Aug 16, 2020 16:22:29.592 [0x700007663000] Error — EventSource: Retrying in 15 seconds.
Aug 16, 2020 16:22:39.567 [0x700007e10000] Error — [PlexRelay] client_loop: send disconnect: Broken pipe
Aug 16, 2020 16:22:47.281 [0x7000076e6000] Error — MyPlex: mapping failed due to potential double NAT configuration
Aug 16, 2020 16:24:01.647 [0x700008be1000] Error — Error parsing content.
Aug 16, 2020 16:24:01.647 [0x700008be1000] Error — Error parsing XML: Error parsing file.
Aug 16, 2020 16:24:01.647 [0x700008be1000] Error — Scanner [Plex Movie]: error reading match results
The main reason it’s been 3 weeks from my last message is because I paused in investigating Plex to address my Drobo Gen2 4-bay that was unmounting from my mac mini when Plex would scan it and also when I would try to watch content from it. I had been tolerating it for months and decided to deal with it. I checked online and it seems that all drive slots green but with unmounting may be a disk failing in a way Drobo can’t report yellow/red. So, I took out drive 2 (different serial numbers, it was a guess), let Drobo rebalance the data and noticed wildly changing estimates to completion. Then I removed drive 1, and was impatient so put drive 2 back in, and it rebalanced the data but the estimate remained steady. After the data was rebalanced I did an extended copy out of the Drobo and it didn’t unmount and the estimate to completion was consistent. Then I did an extended copy onto the Drobo and it didn’t unmount and the estimate to completion was consistent. Then I turned Plex on and scanned the Drobo and it didn’t unmount. I’ve also watched several shows that reside on the Drobo and not had trouble. So, I think the Drobo is resolved. Drive 1 seems to have been the culprit.
That had nothing to do with Plex but the Plex scan is what would lead to the unmounting so I addressed the Drobo.
So, I feel like I’m done with this activity. I still have slow query Warnings but they don’t seem to affect using Plex, whereas before maybe they were? The sql Errors are gone. I learned that I can make Plex more usable by turning off other programs on the mac mini while I’m going to actively be using Plex. The mac mini is from 2013 so I guess it’s not super robust.
Mac mini:
Processor: 1.4 GHz Dual-Core Intel Core i5
Memory: 4 GB 1600 MHz DDR3
Thanks to @FordGuy61 and @SE56 for your help and discussion!
JMC