Page 1 of 1

swap usage is getting filled

Posted: Mon Dec 30, 2019 2:01 am
by IT-OPS-SYS
hi team,

i would like to see wat causing the swap usage to get filled every 2nd day.

i have attached the system profile report to this. kindly check and let me know so that we can make the appropriate changes.


[root@cvrmnagiosxi001 var]# free -m
total used free shared buff/cache available
Mem: 16046 9682 1426 871 4937 5112
Swap: 2047 2047 0

Re: swap usage is getting filled

Posted: Mon Dec 30, 2019 11:40 am
by mbellerue
It looks like rsyslogd is taking up the largest chunk of memory, by far. Do you have the Nagios server sending its logs to another server?

Re: swap usage is getting filled

Posted: Thu Jan 02, 2020 9:50 am
by IT-OPS-SYS
yes, we have secondary server setup for backing up the server

Re: swap usage is getting filled

Posted: Thu Jan 02, 2020 10:34 am
by mbellerue
It might be worth checking to make sure that the remote server is getting the logs from your Nagios server. I know that rsyslog will hold a certain number of logs in cache when it cannot contact the remote server. That may be why rsyslog is using up your memory.