Hello guys,
I'm running a FreeBSD 12 server and I'm experiencing this strange issue. I've looked around in this forum for people with the same problem, but these topics where a bit too old and I think that the proposed solution might not apply to FreeBSD 12. Many where suggesting using
but on FreeBSD 12 is not possible (?).
My server has a total of 4GB of ram and 2GB of swap. My processes use about 3.6GB of ram. Right now, after a fresh restart, my server has about 900MB of free ram.
The problem is that after a while (let's say 1-2 days), inactive memory gets really high (up to 2GB) and swap usage goes really high too.
Why won't the server recycle the inactive memory?
I'm running a mysql+minecraft server on my machine. My guess (but I'm a newbie) is a mal configured mysql server. I left it with default settings, maybe I should try running mysqltuner.
A part from that, it seems to me very strange.
Has anyone run in a similar situation? Is there anything that I can to do force my server to recycle inactive memory?
Thanks in advance!
I'm running a FreeBSD 12 server and I'm experiencing this strange issue. I've looked around in this forum for people with the same problem, but these topics where a bit too old and I think that the proposed solution might not apply to FreeBSD 12. Many where suggesting using
sysctl vm.defer_swapspace_pageouts=1
but on FreeBSD 12 is not possible (?).
My server has a total of 4GB of ram and 2GB of swap. My processes use about 3.6GB of ram. Right now, after a fresh restart, my server has about 900MB of free ram.
The problem is that after a while (let's say 1-2 days), inactive memory gets really high (up to 2GB) and swap usage goes really high too.
Why won't the server recycle the inactive memory?
I'm running a mysql+minecraft server on my machine. My guess (but I'm a newbie) is a mal configured mysql server. I left it with default settings, maybe I should try running mysqltuner.
A part from that, it seems to me very strange.
Has anyone run in a similar situation? Is there anything that I can to do force my server to recycle inactive memory?
Thanks in advance!