Anthony Chastain
Dabbler
- Joined
- Jul 27, 2017
- Messages
- 16
I have a 28TB FreeNAS 11.2 with 64GB RAM, a 256GB L2ARC and a 16-core processor.
I am running FreePBX (based on CentOS) on a VM with 4GB RAM and 4 cores.
I'm also running a few other VMs.
I've noticed that all my VMs get slower and slower as time goes on. It gets to the point that it takes 20 minutes to start up a simple linux VM that originally took 30 seconds to start. The guest OS doesn't seem matter. Also, this has been happening since FreeNAS 9.10, so it doesn't seem related to updates. It takes about 6 months to get to where it's unbearably slow.
I've tried:
• Restarting the VMs
• Restarting the NAS server
• Recreating the VM based on the same info
• Doubling the memory, processor cores, etc.
None of these things worked.
Here's what did work though:
I took a snapshot of the ZVOL, saved it to a file, reimported it to a new ZVOL and connected the VM to that.
This sped things up instantly back to the original speed. And it stays that way for about 6 months again.
So what exactly is going on here?
I am running FreePBX (based on CentOS) on a VM with 4GB RAM and 4 cores.
I'm also running a few other VMs.
I've noticed that all my VMs get slower and slower as time goes on. It gets to the point that it takes 20 minutes to start up a simple linux VM that originally took 30 seconds to start. The guest OS doesn't seem matter. Also, this has been happening since FreeNAS 9.10, so it doesn't seem related to updates. It takes about 6 months to get to where it's unbearably slow.
I've tried:
• Restarting the VMs
• Restarting the NAS server
• Recreating the VM based on the same info
• Doubling the memory, processor cores, etc.
None of these things worked.
Here's what did work though:
I took a snapshot of the ZVOL, saved it to a file, reimported it to a new ZVOL and connected the VM to that.
This sped things up instantly back to the original speed. And it stays that way for about 6 months again.
So what exactly is going on here?