Problem
Within the last week, perhaps two (and roughly coinciding with upgrading my server to the 1.9.x
series, though I am not sure if it is in any way related) the Plex Web App’s Dashboard has begun loading horribly slowly and erratically, often taking over 30 seconds for all the columns to display. There are also a number of JavaScript console errors that are triggered while it is fetching the different data sources and performing other operations.
Video
I recorded a screencast of my Chrome browser window (with the developer console open to show activity and errors) when loading app.plex.tv/desktop, which can be viewed at youtu.be/o2MhQANd7fE. This showcases the problem described above.
Environment
I’m not positive what environment information would be most important so I’ve provided details about the server and client systems and browser. If any additional information would be helpful, please let me know and I will provide it.
System (Server, Headless)
Make: Custom Build
OS: Linux (Ubuntu)
Version: 17.04 (zesty)
Kernel: 4.10.0-35.39
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Cores/Threads: 4/8
Memory: 32GB DDR4 (2400MHz) [4 x 8GB]
Graphics: None (Dedicated)
Graphics: Intel HD Graphics P530 (Integrated)
Plex Server: 1.9.1.4272-b207937f1
Filesystem: Btrfs [Samsung SSD 256GB] (System, Plex Databases)
Filesystem: ZFS [Western Digital HDD 6TBx9 30TB Raidz2] (Storage, Media, Plex Metadata)
Mounts: ...
/dev/sdi2 on / type btrfs (rw,relatime,ssd,space_cache,subvolid=257,subvol=/@)
/dev/sdi1 on /boot type ext4 (rw,relatime,data=ordered)
/dev/sdi4 on /home type btrfs (rw,relatime,ssd,space_cache,subvolid=257,subvol=/@home)
pool on /pool type zfs (rw,relatime,xattr,noacl)
pool/backup on /pool/backup type zfs (rw,xattr,noacl)
pool/download on /pool/download type zfs (rw,xattr,noacl)
pool/media on /pool/media type zfs (rw,noatime,xattr,noacl)
pool/opt on /pool/opt type zfs (rw,xattr,noacl)
pool/projects on /pool/projects type zfs (rw,xattr,noacl)
pool/torrent on /pool/torrent type zfs (rw,xattr,noacl)
pool/plexmediaserver on /var/lib/plexmediaserver type zfs (rw,relatime,xattr,noacl)
/dev/sdi4 on /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support type btrfs (rw,relatime,ssd,space_cache,subvolid=282,subvol=/@plex-plugin-support)
System (Client, Laptop)
Make: Lenovo Thinkpad P70
OS: Linux (Ubuntu)
Version: 17.04 (zesty)
Kernel: 4.10.0-35.39
CPU: Intel(R) Xeon(R) E3-1505M v5 CPU @ 2.80GHz
Cores/Threads: 4/8
Memory: 32GB ECC DDR4 (2133MHz) [2 x 16GB]
Graphics: NVIDIA GM204GLM Quadro M4000M 4GB [Driver: 381.22] (Dedicated)
Graphics: Intel HD Graphics P530 (Integrated)
Filesystems: Btrfs [Samsung NVMe SSD 512GB] (System [Primary, Linux])
Filesystems: NTFS [SanDisk SSD 1TB] (System [Secondary, Windows])
Filesystems: Btrfs [Samsung NVMe SSD 256GB] (Storage)
Filesystems: Btrfs [Seagate SSHD 2TB] (Storage)
Browser (Client)
Name: Chrome Browser
Version: 63.0.3218.0 (Official Build) dev (64-bit)
Revision: 8634c0eac009323c45c362e9308429d8f1e1976b-refs/heads/master@{#502516}
OS: Linux
JavaScript: V8 6.3.157
Flash: 27.0.0.134