Go to All Forums

Swap Memory Utilization (%) exceeds 85 %. while the server has enough memory

Hi all,

 

We have a server that currently has 96GB of memory installed (Bit overkill for what it does)

The max this server ever uses is around 25-30GBs

Yet our monitor keeps popping up with the message: "Swap Memory Utilization (%) exceeds 85 %."

Is there any explanation for this?

Like (2) Reply
Replies (5)

Hi,

     You might be getting this message if data swapped by your servers from RAM to disk (Swap memory) is more than 85%.

 

Regards

Selva

     

 

Like (0) Reply

But it shouldnt be swapping if the server has over 60gb of available memory right? Im not sure where this message is coming from. Ive logged the memory usage of the server and it never passes 30%

Like (0) Reply

Hi ,

We use free command to capture swap memory utilization.

https://support.site24x7.com/portal/kb/articles/how-is-memory-utilization-calculated-for-a-linux-server-monitor

Swap memory is calculated from swap section output.

Swap (%) = ( Total - Free / Total ) * 100

There are cases where swap memory is used even when enough RAM is left. To dig deeper on why this scenario occurs, you can read on the concept Swappiness, that controls memory swapping.

Hope this helps. Let us know for further questions, if any. 

 

Regards,

Sriram

Like (0) Reply

Hey Sriram,

 

Thanks for your reply!

 

I forgot to mention that the server is running on Windows Server 2016. I'm guessing the tool is only available for Linux OS?

 

 

Like (0) Reply

Hi, 

For Windows, the memory utilization is calculated using WMI queries. Swap memory utilization is calculated using AllocatedBaseSize and CurrentUsage from Win32_PageFileUsage WMI query.

Please read our help documentation to know more.

Hope this helps. For any other queries, please comment in the below thread.

 

Regards
Sriram

Like (0) Reply

Was this post helpful?