Interview Prep/Linux/Migrations, performance and fleet operations

A service must handle a 10× traffic spike for a sale event next week. As the Linux admin, what do you prepare on the hosts?

AdvancedScenarioMigrations, performance and fleet operations
Answer

Situation read → Remove host-level limits before they become the bottleneck.

What I'd do →

  1. Load-test to find the first limit.
  2. Raise LimitNOFILE for the service, net.core.somaxconn, tcp_max_syn_backlog, ephemeral port range.
  3. Check conntrack size if using NAT/firewalls: net.netfilter.nf_conntrack_max.
  4. Ensure log volume won't fill disks (rotate by size, ship off-host).
  5. Pre-scale instances and warm caches; confirm autoscaling and alerts.

Why → Under 10× load, kernel tables (fds, conntrack, backlog) overflow before CPU does.

Interview tip → Conntrack table full ("nf_conntrack: table full, dropping packet") is a classic surprise at peak.

All Linux questions Roadmap: Linux

More on Migrations, performance and fleet operations