---
title: Adjust swappiness on RSA NetWitness Logs & Network 10.x hosts
description: "Issue\nReceiving alarms from Health and Wellness about high swap memory utilization.After disabling and re-enabling swap volumes using the following co"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/adjust-swappiness-on-rsa-netwitness-logs-network-10-x-hosts#main-content)

![NW Logo](https://mydev.netwitness.com/hs-fs/hubfs/Portal-Partner%20Program/AssetFiles/NW%20Logo%20(2).png?width=180&height=32&name=NW%20Logo%20(2).png)

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

Open main navigation

Close main navigation

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [NetWitness Knowledge Base](https://mydev.netwitness.com/knowledge-base?hsLang=en)
2. [Break Fix](https://mydev.netwitness.com/knowledge-base/break-fix?hsLang=en)

April 30, 2026

# Adjust swappiness on RSA NetWitness Logs & Network 10.x hosts

#### Issue

- Receiving alarms from Health and Wellness about high swap memory utilization.
- After disabling and re-enabling swap volumes using the following commands, the issue reappears:

**sync; echo 3 \> /proc/sys/vm/drop\_caches** # Clear PageCache, dentries and inodes   
**swapoff -a  
swapon -a**

- When looking in 'top' output can see significant swap volume usage even though physical memory shows a reasonable amount of memory free.

#### Cause

- There is no exact way to determine why kernel chooses to page some of the RAM to swap.
- Mostly are common tasks not required by memory for now, however, their processes are still running.
- Kernel prefers to page these to swap to make room in the physical memory.
- We can discourage kernel from paging physical memory to swap space frequently.
- This can be controlled from a kernel parameter called vm.swappiness
- Swappiness is a value between 0 and 100 which controls the priority of your system using RAM versus Swap.
- A swappiness value of 0 means avoid swap as much as possible and only use RAM.
- A swappiness value of 100 means avoid RAM as much as possible and only use swap.

#### Resolution

- We can tune this parameter to discourage using swap as much as possible, but keep in mind, kernel uses other algorithms to choose which to be swapped and which not, tuning this value will only discourage it.
- A swappiness of 10 means that 90% of the times kernel will choose RAM, and only 10% of the times it can go to swap.

### NetWitness 10.x running on CentOS6

- Run the following one-liner command which immediately changes the value in memory and allows the setting to persist after an OS reboot.

**sourcefile=/etc/sysctl.conf;if \[\[ -f $sourcefile \]\]; then grep -q -m1 swappiness "$sourcefile"; if \[\[ $? -eq 0 \]\]; then printf "No change. Linux virtual memory swappiness has already been adjusted as per JIRA ASOC-23864.\\n"; else tail -n1 "$sourcefile" | grep -q -E '^$'; if \[\[ $? -ne 0 \]\]; then printf "\\n" \>\> "$sourcefile"; fi; printf "#Change per RSA ASOC-23864\\nvm.swappiness=10" \>\> "$sourcefile"; sysctl vm.swappiness=10; fi; else printf "FATAL error: Unable to locate %s\\n" "$sourcefile"; fi**

- If the swappiness parameter was already set, it will print "*No change. Linux virtual memory swappiness has already been adjusted as per JIRA ASOC-23864.*", if not, then it will set it to 10.
- When finished restart the affected NetWitness services, such as nwconcentrator.

 Note: It is best practice to stop concentrator aggregation before restarting the service.   
An example of the service restart commands would be:

**stop nwconcentrator  
start nwconcentrator**

#### Notes

### NetWitness 11.x running on CentOS7

- This does NOT apply to NetWitness 11.x running on CentOS7(rsa-nw-config-management RPM contains the recipe to change). You can confirm the value is 10 by checking the following:

**vm.swappiness Configuration in CentOS7** (value applied on next OS restart)

 \# **grep vm.swappiness /etc/sysctl.d/100-nw-base.conf**   
vm.swappiness = 10

**vm.swappiness running value** (current value)

 \# **sysctl vm.swappiness**   
vm.swappiness = 10 

  

- If you require assistance in performing these steps, please contact RSA Support and reference this article.

#### Product Details

**RSA Product Set:** NetWitness Logs & Network/Security Analytics   
**RSA Product/Service Type:** All NetWitness Hosts (appliances & virtual)   
**RSA Version/Condition:** 10.x   
**Platform:** CentOS   
**O/S Version:** 6

#### Approval Reviewer Queue

KCS Approval queue

[![Netwitness Logo](https://mydev.netwitness.com/hs-fs/hubfs/Quote%20Template%20-%20NW%20Logo/Netwitness%20Logo.png?width=158&height=42&name=Netwitness%20Logo.png "Netwitness Logo")](https://mydev.netwitness.com/?hsLang=en)

<https://www.linkedin.com/company/netwitness-platform/> <https://www.youtube.com/@netwitness>

Copyright © 2026, NetWitness LLC. All rights reserved.

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.