Home › Topics › Timeouts & Keepalives

Timeouts, Keepalives, and Dropped Sessions

The transfer ran for forty minutes and died with connection reset by peer. Or it hung silently at ninety-eight percent. Or the directory listing timed out while a huge file was still moving fine on the other channel. Dropped sessions are the most misattributed failures in file transfer. The server blames the client, and the client blames the server. The actual culprit is a state table on a device nobody thought about.

This series finds the culprit. It covers the anatomy of a dropped session, and idle timeouts on the server, the client, and everything between. It explains address-table expiry as the silent killer of long transfers, plus keepalives for each protocol and when they hurt. It covers tuning both ends for long transfers. It also offers a method for diagnosing intermittent drops that only happen on Tuesdays.

Articles in This Series

  • Anatomy of a Dropped Session
    Learn what reset, timed out, and closed by remote host actually mean. See who can drop a session - client, server, firewall, translation device - and how the error text points at the culprit.
  • Idle Timeouts on Server, Client, and Everything Between
    Explore server idle settings and client timeouts. Learn about the control channel that goes quiet during a long data transfer - the classic FTP gap. Find tuning that keeps both ends patient enough.
  • Address Table Expiry: The Silent Killer of Long Transfers
    Learn why state tables forget idle connections and why long transfers die at suspiciously round minute counts. Find the symptoms that give it away, and the fixes on each side.
  • Keepalives: TCP, SSH, FTP NOOP, and HTTP
    Learn what each keepalive does and does not do, and how to configure them on clients and servers. Find operating-system keepalive settings in plain words, and the cases where keepalives make things worse.
  • Tuning Both Ends for Long Transfers
    Align server idle limits, client keepalives, and middlebox timeouts, with resume as the backstop when alignment fails. Find worked configuration sets for common setups.
  • Diagnosing Intermittent Drops
    Learn to correlate client, server, and firewall logs, spot timing patterns, and make packet-capture spot checks. Find the reproduction test that makes an intermittent problem reliable, and learn to write up the fix.

Explore More Topics

This series is part of the Sysax file transfer topic library. The library covers the protocols, security practices, automation techniques, and operational skills behind reliable file transfer. The library pairs well with the practical tools we build. Sysax Multi Server is a secure FTP, FTPS, SFTP, and HTTPS server for Windows. Sysax FTP Automation schedules and scripts secure transfers so the routine ones run themselves.