Skip to content
‹ 30-Day Drill

Day 3: Why New Connections Are Refused

Illustrative interview practice. Generic company names and hostnames do not represent any specific organization.

Scenario

Interviewer A server's processor and memory are barely used, but people cannot connect to it. Why might that be, and which command proves that connections are being turned away before the program ever sees them?

In plain words

When someone connects to a server, the operating system has to do some work before the program is told about it. If the operating system has no room for that work, the connection is dropped and the program never knows.

The question has two parts: name what can run out, and name a command that shows connections being dropped by the operating system, not by the program.

Words you need

WordWhat it means
TCPThe standard way two computers set up a reliable connection before sending anything.
PortA number that says which program on a computer a connection is for. Web servers use 443.
BacklogA short waiting line of new connections that the program has not picked up yet.
Connection trackingA table the firewall keeps of every connection passing through. It has a fixed size.

Your answer

2:00

Observe → Hypothesise → Investigate → Mitigate → Prevent. The timer is optional; your answer is not auto-submitted.

0 / 20,000 characters · Not saved
Sign in to save