On Mon, Apr 13, 2020 at 09:34:23AM -0500, Don Seiler wrote: > Good morning, > > Ubuntu 16.04.6 LTS > PostgreSQL 9.6.5 > > On one of our database servers, we're regularly seeing kswapd at the top of > "top" output, regularly using over 50 %CPU. We should have well over 80GB > of available memory according to "free -m". Do you have THP enabled? Or KSM ? tail /sys/kernel/mm/ksm/run /sys/kernel/mm/transparent_hugepage/khugepaged/defrag /sys/kernel/mm/transparent_hugepage/enabled /sys/kernel/mm/transparent_hugepage/defrag https://www.postgresql.org/message-id/20170718180152.GE17566%40telsasoft.com -- Justin