I've been running a freenas box for the past 12 months, but over the last 2 months, the system has been acting strange. It randomly stops responding, shuts down the plex plugin and has just been a nightmare. I've been researching the symptoms and all things hint to the swap memory usage being the culprit. Appreciate if the community can help debug this issue and point me in the right direction. Here are some key pieces of information:
- I have 5 * 3 TB drives running in Raid-Z2 with 8GB RAM and the purpose of the box is solely to run 1-2 video streams on Plex
- The issue of ad-hoc shutdown (server becoming unresponsive) started in March'19; the system had been running fine at that point for ~10 months
- When I look at the logs, the problem always coincides with swap memory being fully used up
- Doubling the RAM to 16 GB did not address the problem
- In memory utilization chart below, the system used to have 10 GB of swap memory but it somehow seemed to have decreased to 5 GB