Vitz
Dabbler
- Joined
- Sep 21, 2019
- Messages
- 11
Hi there,
So I'm not sure what's going on here. I'm running TrueNAS Core 12.0-U5.1 in a virtualised environment on Proxmox. Everything is functional but there is one rather peculiar problem and I don't even know where to start in order to fix it.
Seeing as Proxmox does not offer robust network sharing options, I opted for TrueNAS to handle that part of the setup. I gave the VM 48GB of memory, which should be more than plenty for the ~30TB of hard drives connected to it through an ASUS PIKE2008 SAS controller (in IT mode) that TrueNAS has direct access to using PCI passthrough.
Another VM is running Jellyfin on Ubuntu Server 20.04 LTS, which accesses my data through an SMB share set up in TrueNAS. The problem is that whenever I play a video or refresh the library, RAM usage in TrueNAS skyrockets and fills it up over the space of about an hour (see screenshot). Once it fills up, everything still works, but performance isn't great. Even if it was, I'd still be making this thread because it makes no sense to me. The weird thing is that it was even worse when I tried NFS. The same behaviour occurred with one big difference: When memory was filled up, it flat-out crashed the TrueNAS VM. With SMB, it seems to release some memory when it needs more. NFS just didn't care and took it all so the OS couldn't even function. What is also weird is that none of these issues were present when I moved terabytes of data from one location to another through Windows 10, which of course also generates a ton of SMB traffic. It's like Jellyfin is the culprit here but why would TrueNAS allow an entirely separate machine to utilise all of its RAM?
All of this must be completely unusual behaviour. I'm more of a hardware guy and not terribly experienced with TrueNAS and networking in general. I just don't understand why TrueNAS allows a sharing service to nab all its available memory and only leave a sliver of it for the core system and ZFS cache. The install is basically fresh and I've pretty much only set up shares and permissions through ACL on it.
Is there something obvious I'm overlooking? Could I somehow diagnose this? I'd love some input and would gladly provide more details if requested.
Thank you in advance.
So I'm not sure what's going on here. I'm running TrueNAS Core 12.0-U5.1 in a virtualised environment on Proxmox. Everything is functional but there is one rather peculiar problem and I don't even know where to start in order to fix it.
Seeing as Proxmox does not offer robust network sharing options, I opted for TrueNAS to handle that part of the setup. I gave the VM 48GB of memory, which should be more than plenty for the ~30TB of hard drives connected to it through an ASUS PIKE2008 SAS controller (in IT mode) that TrueNAS has direct access to using PCI passthrough.
Another VM is running Jellyfin on Ubuntu Server 20.04 LTS, which accesses my data through an SMB share set up in TrueNAS. The problem is that whenever I play a video or refresh the library, RAM usage in TrueNAS skyrockets and fills it up over the space of about an hour (see screenshot). Once it fills up, everything still works, but performance isn't great. Even if it was, I'd still be making this thread because it makes no sense to me. The weird thing is that it was even worse when I tried NFS. The same behaviour occurred with one big difference: When memory was filled up, it flat-out crashed the TrueNAS VM. With SMB, it seems to release some memory when it needs more. NFS just didn't care and took it all so the OS couldn't even function. What is also weird is that none of these issues were present when I moved terabytes of data from one location to another through Windows 10, which of course also generates a ton of SMB traffic. It's like Jellyfin is the culprit here but why would TrueNAS allow an entirely separate machine to utilise all of its RAM?
All of this must be completely unusual behaviour. I'm more of a hardware guy and not terribly experienced with TrueNAS and networking in general. I just don't understand why TrueNAS allows a sharing service to nab all its available memory and only leave a sliver of it for the core system and ZFS cache. The install is basically fresh and I've pretty much only set up shares and permissions through ACL on it.
Is there something obvious I'm overlooking? Could I somehow diagnose this? I'd love some input and would gladly provide more details if requested.
Thank you in advance.