I've got a server with 16G RAM, running 10.3 and a few internal systems (gitlab, jenkins, mysql, etc.)
For some unknown reasons after a while all the memory will be Inactive (at the moment I have 12G of the 16G as Inactive), and then it start swapping, and when there is no more swap processes starts dying.
I think the Inactive memory should be re-allocated but it's not happening!
Is there any way to cleanup/force reallocate it?
I've tested to stop all running services/processes except sshd and there is still 6G of memory is inactive (the rest is reallocated to free when I stopped the processes).
The only way to get rid of it is to reboot the server, but of course this isn't a proper solution.
I know this 6G of memory probably dirty due to some processes memory leak, but there must be a way to clean it up.
Anyone any idea?
Thanks.
For some unknown reasons after a while all the memory will be Inactive (at the moment I have 12G of the 16G as Inactive), and then it start swapping, and when there is no more swap processes starts dying.
I think the Inactive memory should be re-allocated but it's not happening!
Is there any way to cleanup/force reallocate it?
I've tested to stop all running services/processes except sshd and there is still 6G of memory is inactive (the rest is reallocated to free when I stopped the processes).
The only way to get rid of it is to reboot the server, but of course this isn't a proper solution.
I know this 6G of memory probably dirty due to some processes memory leak, but there must be a way to clean it up.
Anyone any idea?
Thanks.