I wanted to test some deployment scripts so I started a Hetzner Cloud CX11 (single CPU, 2GB Ram 20GB HDD) with Ubuntu 18.04 on it and installed Plex. This worked OK and I could add a library but I couldn’t scan any media in, it kept giving me errors about the database being locked and the Plex Scanner sat there unable to be killed using 0% CPU, in fact the whole system was not doing any work and sat at the 0% - 3% CPU usage.
I bumped the server up to a CX21 (dual CPU, 4GB Ram and 20GB HDD) and it could scan in fine and worked perfectly well for Direct Play/Stream.
Is anyone aware of issues scanning media in on a single threaded machine? Is dual core the minimum requirements? I can’t find anyone else mentioning this issue before.
Permissions will be the same as I just scaled the machine’s hardware up, naming will likewise be the same. I/O performance should be good as it’s NVMe SSD’s. All Hetzner cloud servers are Intel Skylake Xeon processors, so the CX11 has 1 core and the CX21 has two. It’s like it deadlocked or something because it only had 1 core.
The CX11 has 1 CPU not core. The “SkyLake Xeon” has 6 cores (independent processors inside the CPU chip) meaning it can run no less than 6 things simultaneously even if it did not multi-task.
Sorry for the bad terminology, the CX11 has 1 core of a SkyLake CPU and the CX21 has 2 cores of a CPU.
I’ve found out the issue now anyway and it’s nothing to do with Plex, my chosen fuse network filesystem software has a bug with 1 Core and Plex wasn’t able to access any files, I could see the directory structure but when I try and copy a file it hangs too.
That’s normal Linux permissions. FUSE normally runs in user space (the ‘US’ part of FUSE). If you mount it in /etc/fstab it will mount at the system level and be independent of Nautilus.