Forum Discussion
SWAP SPACE issue on F5 LTM
Hi Experts,
I am stuck with an issue for swap space. Need your expertise. Please review and advise.
On one of the boxes deployed in HA pair we are getting below error when doing SNMP walk.
snmpwalk -v 2c '10.1.1.1:161' .1.3.6.1.4.1.2021.4
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0 UCD-SNMP-MIB::memErrorName.0 = STRING: swap UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 0 kB UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 0 kB UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 16463260 kB UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 154640 kB UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 154640 kB UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000 kB UCD-SNMP-MIB::memBuffer.0 = INTEGER: 348520 kB UCD-SNMP-MIB::memCached.0 = INTEGER: 527772 kB UCD-SNMP-MIB::memSwapError.0 = INTEGER: error(1) UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING: Running out of swap space (0)
The swap space issue is fixed after following this workaround
https://support.f5.com/kb/en-us/solutions/public/13000/000/sol13061.html
But after this it swap space is created on physical harddisk instead of raid. Can someone advise how to make it to raid and what will be the impact?
DEVICE1:Standby:In Sync] ~ free total used free shared buffers cached Mem: 16463260 16223188 240072 0 19980 879700 -/+ buffers/cache: 15323508 1139752 Swap: 3136744 0 3136744
@DEVICE1:Standby:In Sync] ~ cat /proc/swaps Filename Type Size Used Priority /dev/hda2 partition 1048312 0 -1 /dev/sda2 partition 1044216 0 -2 /dev/sdb2 partition 1044216 0 -3
Below is the result of a normal box.
@DEVICE2:Active:In Sync] ~ free total used free shared buffers cached Mem: 16463260 16330464 132796 0 325372 545616 -/+ buffers/cache: 15459476 1003784 Swap: 1048504 1036 1047468
@DEVICE2:Active:In Sync] ~ cat /proc/swaps Filename Type Size Used Priority /dev/md2 partition 1048504 1036 0
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com