Skip to content
Preptima
hardConceptMidSeniorStaff

A service stops accepting new connections while CPU and memory look fine. Which operating-system limits would you suspect, and how would you tell them apart?

5 min readUpdated 2026-08-15Target archetype: Big Tech, Enterprise Captive, Product Startup

Answer

Short answer

Suspect a bounded resource rather than a saturated one: file descriptors, threads, ephemeral ports or the listen queue. Each has a different scope — per process, per user, per cgroup, per system — and each announces itself with a different error, which is how you tell them apart.

Was this answer helpful?

Likely follow-ups

  • Where do you read both the limits and the current usage of a running process on Linux?
  • How does a container's pids limit interact with the per-user process limit on the host?
  • Which of these limits gets worse rather than better as you add instances behind a load balancer?
  • Why does a listen-queue overflow present as a client-side timeout rather than as a server error?

Related questions

Further reading