rsyslogd uses 435M of swap memory right after restart

by Igor Semenov   Last Updated July 05, 2018 13:00 PM

I have Centos 7

    # cat /etc/centos-release
    CentOS Linux release 7.3.1611 (Core)

fresh rsyslogd

    # rsyslogd -version
    rsyslogd 8.36.0, compiled with:

enough free memory

    # free
                  total        used        free      shared  buff/cache   available
    Mem:       32741276    12244672     4931760      330064    15564844    19239180

But rsyslogd always uses about 430M of swap space, according to smem. I don't understand, why.

Can you give me some advice how to limit it's memory consumption and how to force it to use RAM instead of swap.

Related Questions

What is the syslog facility for auditd logs?

Updated May 18, 2017 21:00 PM

(CentOS) Adding swap file failed

Updated June 16, 2015 23:00 PM

Centos 6.10 Swap File Issue Wrong size

Updated November 27, 2018 09:00 AM

Linux swap not used, even when OS run out of memory.

Updated November 17, 2015 20:00 PM