lvmetad swap memory issue on CentOS 7.6

General support questions
Post Reply
rstar
Posts: 1
Joined: 2023/09/08 00:26:21

lvmetad swap memory issue on CentOS 7.6

Post by rstar » 2023/09/08 01:09:39

I have a VM system for DB(postgresql).

The system information as below.

type : VM
CPU : 16 Core, intel Xeon Gold 6240 @ 2.6Ghz
Memory : 16GB (vm.swappiness = 1)
OS : Centos 7.6 1810 64bit


This VM have had around 50% swap memory for over 3 months,but it is incresing rapidly nowadays.(incresed over 20% for 2 weeks)
All parameter of a DB like session,age, etc are normal and any special event is not exist.
In addition, most of Swap memory are on lvmetad process(870m/1860m) in the TOP command.
In other VMs, I cannot see such a large swap memory on lvmetad.

In this situation, I have question.
1. Is it related of DB and lvmetad?
2. Why swap memory of lvmetad is incresing? or I want to know check point

User avatar
TrevorH
Site Admin
Posts: 33163
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: lvmetad swap memory issue on CentOS 7.6

Post by TrevorH » 2023/09/08 15:55:02

7.6 has been out of support for more than 4 years. Update to 7.9 which has many fixes and closes many security vulnerabilities. There are over 13,000 lines in the rpm changelog from kernel-3.10..0-957.el7 to the current kernel-3.10.0-1160.95.1.el7.x86_64. Any of those 13,000 entries could be your problem and you are missing them all.

yum update
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply