eire1274 wrote: ↑
04 May 2019 02:09
OBI (and therefore all subsequent extension plugins) is installed on my ZFS cluster, a 2TBx4 stripe. Initially, I had it installed on the Data partition, but moving it to the large pool didn't change the behavior. It wasn't until I decided to treat Xigmanas as a FreeBSD server rather than a "smart" NAS appliance, and I found that even though I was no longer using the Data partition, the partition was full to bursting. I was installing using the recommended partition sizes, and there stemmed the issue.
With a config backup, another
fresh install of 18.104.22.168r6625 but with a 40GB OS partition and a 12GB Swap (unnecessary really, just had the space so why not), and then a restore, Plex is behaving itself, and system memory usage has dropped massively. It was usually 90-95% of the 8GB RAM occupied, plus Swap overreach, which was unusual but I mistakenly decided was an artifact of the new software set. It now sits at a cozy 18% with no Swap usage.
System specs are in my signature.
Perhaps this should be considered in future releases to increase the minimum values presented by the installer based on projected usage?
Hello, glad you spotted the problems on your NAS setup, between I will give you some advice and installation practices.
I'm non sure why you've set 40GB to the OS partition, unless you are using the Legacy XigmaNAS Full platform, setting more than say 4GB or 8GB to the Embedded platform root partition is just a waste of SSD space, since Embedded platforms loads the OS into RAM and remains static there.
This partition settings are there for Embedded users to avoid facing the "upgrade failed due root partition too small" issue that affect all Embedded platforms by design.
So if you placed Plex Extension in the Embedded root partition, you will eventually lost every setting after reboot regardless of its OS partition size, just install Embedded with about ~4GB partition for OS root, a 2 to 4GB partition for Swap and the rest of the space for the Data partition on the SSD in which you can later mount and use for Extensions.
If this is an XigmaNAS Full Platform running on UFS filesystem, you will be unable to perform Firmware upgrades from the WebGUI, you need to boot from LiveMedia and perform upgrades from there and if something goes wrong you will not be able to roll back easily, but rather forced to perform a OS reinstall and side packages reinstall and setup as well, XigmaNAS RootOnZFS
platform supersedes the Legacy Full platform running on UFS but is recommended for advanced/experienced FreeBSD users generally.
Also a 4 x 2TB ZFS stripe
will lost all the data with just a single disk failure, so you need a great backup plan to back this up.
Additionally sooner or later this 4x2TB disk ZFS pool will start eating RAM as cache(ZFS ARC), but you can limit this ZFS ARC usage regarding your system RAM and side applications running on, and tuning until reaching a sweet spot for your system between reliability performance.
Sorry for the long post but hope this can help some