Server Version#: 1.22.3.4523
Player Version#: Latest Android, Android TV and Windows
I can see somone else has had this issue, and i’m not also struggling with it.
Plex is set up inside a bsd jail and works really well. When it works. Randomly the service inside the jail just stops. When I manually start it again, it works again without issue. The logs don’t show any particular error either.
So it is OOM, the process is killed cause you are running out of memory.
If your using freenas/truenas you probably have ZFS, you might need to limit the “arc” memory size,not sure if they change it,but by default it will be set to almost all your RAM,which doesn’t leave much for user processes.
Ofc limiting that affects ZFS performance, depends on how much RAM you actually have.
You should probably reboot after this happens, since smbd and collectd were also killed.
The Plex Media Scanner Deep Analysis.logs make me wonder if Plex is trying to analyze “broken” music files. (Maybe it doesn’t like One Direction, haha.)
My first step would be to track down which process is using up all of the memory. Plex doesn’t normally need a ton of RAM. But if something is using ALL of the system RAM, everything will be impacted.
I have fine luck on one 8GB TrueNAS box, running multiple other jails. There’s just a few GB for services, and everybody gets along.
I’m already using this box as a NAS and PLEX service only. It has 16Gigs.
I did remove the virtual machines from this box because I saw they were eating some RAM. I’ll report back after some stability testing