Just an update. I can’t explain this.
I rebuilt a Debian 9.9.0 vm on my ESXi host. I used Mr Worf’s plexupdate script to install Plex.
I mounted rclone with the following:
Conf:
[GDrive]
type = drive
client_id = **redacted**
client_secret = **redacted**
scope = drive
team_drive = **redacted**
token = **redacted**
use_trash = false
chunk_size = 16M
[GCrypt]
type = crypt
remote = GDrive:
filename_encryption = standard
directory_name_encryption = true
password = **redacted**
password2 = **redacted**
SystemD Service
[Unit]
Description=rclone-gcrypt
After=network-online.target
[Service]
Type=simple
User=root
Group=root
ExecStart=/usr/bin/rclone mount GCrypt: /mnt/GCrypt --allow-other --buffer-size 256M --dir-cache-time 24h --drive-chunk-size 128M --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off --use-mmap
ExecStop=/bin/fusermount -uz /mnt/GCrypt
Restart=always
RestartSec=2
[Install]
WantedBy=multi-user.target
I added one library at first, it scanned fine. I added the others and it’s on my last library, still scanning just fine. Interface is fully responsive, everything appears to be working as expected.
I’m absolutely at a loss to explain WHY it’s working.
tail -f *.log
==> Plex Media Server.log <==
Jun 04, 2019 17:31:05.344 [0x7f6aa9ffb700] DEBUG - Request: [127.0.0.1:35244 (Loopback)] GET /library/changestamp (5 live) GZIP Signed-in Token (Duvrazh)
Jun 04, 2019 17:31:05.345 [0x7f6afaffd700] DEBUG - Completed: [127.0.0.1:35244] 200 GET /library/changestamp (5 live) GZIP 0ms 467 bytes
==> Plex Media Scanner.log <==
Jun 04, 2019 17:31:05.345 [0x7fe22a503240] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/library/changestamp
Jun 04, 2019 17:31:05.345 [0x7fe22a503240] DEBUG - Added new metadata item () with ID 24296
Jun 04, 2019 17:31:05.346 [0x7fe21b893700] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
==> Plex Media Server.log <==
Jun 04, 2019 17:31:05.346 [0x7f6afbfff700] DEBUG - Request: [127.0.0.1:35246 (Loopback)] GET /:/metadata/flushMetadataCounterCache (5 live) GZIP Signed-in Token (Duvrazh)
Jun 04, 2019 17:31:05.346 [0x7f6afaffd700] DEBUG - Completed: [127.0.0.1:35246] 200 GET /:/metadata/flushMetadataCounterCache (5 live) GZIP 0ms 166 bytes
==> Plex Media Scanner.log <==
Jun 04, 2019 17:31:05.346 [0x7fe21b893700] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
Jun 04, 2019 17:31:07.434 [0x7fe22a503240] DEBUG - * Scanning New Girl Season 2 Episode 10
Jun 04, 2019 17:31:07.434 [0x7fe22a503240] DEBUG - Looking for path match for [/mnt/GCrypt/TV/New Girl/Season 2/New Girl - S02E10 - Bathtub WEBDL-1080p.mkv]
Jun 04, 2019 17:31:07.435 [0x7fe22a503240] DEBUG - Skipping hash check, no size match for 948045681 bytes.
Jun 04, 2019 17:31:07.436 [0x7fe22a503240] DEBUG - No match for hash.
Jun 04, 2019 17:31:07.436 [0x7fe22a503240] DEBUG - Checking descendants of New Girl
Jun 04, 2019 17:31:07.437 [0x7fe22a503240] DEBUG - -> Searching down into New Girl/Season 1
Jun 04, 2019 17:31:07.437 [0x7fe22a503240] DEBUG - Checking descendants of New Girl/Season 1
Jun 04, 2019 17:31:07.438 [0x7fe22a503240] DEBUG - -> FOUND metadata item (show)
Jun 04, 2019 17:31:07.438 [0x7fe22a503240] DEBUG - -> We found a local media item with rooted metadata in New Girl/Season 1
Jun 04, 2019 17:31:07.438 [0x7fe22a503240] DEBUG - Found existing show 24260
Jun 04, 2019 17:31:07.439 [0x7fe22a503240] DEBUG - Found existing leaf with index 10.
Jun 04, 2019 17:31:07.439 [0x7fe22a503240] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Jun 04, 2019 17:31:07.439 [0x7fe22a503240] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
==> Plex Media Server.log <==
Jun 04, 2019 17:31:07.440 [0x7f6ac5ffb700] DEBUG - Request: [127.0.0.1:35250 (Loopback)] GET /library/changestamp (6 live) GZIP Signed-in Token (Duvrazh)
Jun 04, 2019 17:31:07.441 [0x7f6afb7fe700] DEBUG - Completed: [127.0.0.1:35250] 200 GET /library/changestamp (5 live) GZIP 0ms 467 bytes
==> Plex Media Scanner.log <==
Jun 04, 2019 17:31:07.441 [0x7fe22a503240] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/library/changestamp
Jun 04, 2019 17:31:07.441 [0x7fe22a503240] DEBUG - Updating metadata item (save) () with ID 24296
Jun 04, 2019 17:31:07.441 [0x7fe21b893700] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
==> Plex Media Server.log <==
Jun 04, 2019 17:31:07.442 [0x7f6aa9ffb700] DEBUG - Request: [127.0.0.1:35252 (Loopback)] GET /:/metadata/flushMetadataCounterCache (5 live) GZIP Signed-in Token (Duvrazh)
==> Plex Media Scanner.log <==
Jun 04, 2019 17:31:07.442 [0x7fe21b893700] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
==> Plex Media Server.log <==
Jun 04, 2019 17:31:07.442 [0x7f6afaffd700] DEBUG - Completed: [127.0.0.1:35252] 200 GET /:/metadata/flushMetadataCounterCache (5 live) GZIP 0ms 166 bytes
This is version 1.15.8.1163. I thought this version was subject to the database lock problems. I was waiting for it to fail before scripting up an overlayfs to ramdrive the database. It looks like I don’t have a need to. The only difference between before and now is that the filesystem for the OS was thin provisioned on the first one, thick provisioned with lazy zeroing on the current. That alone shouldn’t have any measurable impact on the operating system or its applications.
@ChuckPa - If you have thoughts on this since you’re familiar with the topic and have been such a big help, I very much welcome your input. What do you make of this? Was the database lock issued resolved between versions 1.15.4.994 and 1.15.8.1163?