Article Number | 000038993 |
Applies To | RSA Product Set: NetWitness Platform RSA Product/Service Type: NetWitness Azure Virtual Machine RSA Version/Condition: 11.3.x, 11.4.0.x Platform: CentOS 7 |
Issue | RSA NetWitness host that is deployed in Azure platform shows /var/log/messages flooding with an error below.
collectd[2470]: nwprocess.py: Error retrieving swap info from /proc/swaps
|
Resolution | The error is fixed in 11.4.1. |
Workaround | SSH to a host in problem.
- Backup waagent.conf
# cd /etc # cp waagent.conf waagent.conf.bak
- Update /etc/waagent.conf with below parameters and save it:
# vi /etc/waagent.conf ResourceDisk.Format=y ResourceDisk.Filesystem=ext4 ResourceDisk.MountPoint=/mnt/resource ResourceDisk.EnableSwap=y ResourceDisk.SwapSizeMB=2048
- Restart WALinuxAgent service by running the command below.
# systemctl restart waagent.service
- Run one of the following commands to show the swap space that is being used after the restart:
# dmesg | grep swap # swapon -s # cat /proc/swaps # file /mnt/resource/swapfile # free| grep -i swap
- If it does not show the swap space, reboot the Virtual Machine.
# shutdown -r now
|