π ~1 min read
Table of contents
Symptom & Impact
System responsiveness collapses and services time out while kernel aggressively swaps pages.
Environment & Reproduction
Triggered by sudden memory growth in Java, database, or cache workloads.
Root Cause Analysis
Working set exceeds RAM capacity and reclaim behavior pushes active pages into swap.
Quick Triage
Identify largest resident processes and confirm swap churn before restarting services.
Step-by-Step Diagnosis
Profile memory consumers and kernel reclaim metrics to validate pressure source.

Solution – Primary Fix
Reduce memory footprint, tune swappiness, and right-size heap allocations for critical apps.
Still having issues? Our Managed IT Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Add RAM, use cgroup memory limits, or split workloads across additional nodes.
Verification & Acceptance Criteria
Swap activity subsides and service latency returns to normal operating baseline.
Rollback Plan
Revert sysctl values and process limits if new settings destabilize memory use patterns.
Prevention & Hardening
Set memory alerts, enforce quotas, and capacity plan high-growth workloads.
Related Errors & Cross-Refs
OOM killer logs, stalled task warnings, and GC pause amplification incidents.
Related tutorial: View the step-by-step tutorial for Ubuntu 16.04 LTS.
View all Ubuntu 16.04 LTS tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Linux VM tuning references relevant to Ubuntu 16.04 production servers.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β we respond within one business day.