Translated message

A translation of this page exists in English.

什么是 TCP keepalive,如何更改它,以及如何知道它已在特定套接字上启用了?

Solution In Progress - Updated -

Issue

  • 什么是 TCP keepalive?
  • 如何知道 keepalive 在特定套接字上已启用了?
  • 为什么 TCP keepalive 没有在所有套接字上启用?
  • TCP keepalive 的可调整值是多少?
  • 如何计算检测 TCP 连接失败的时间?
  • 如何设置并更改 TCP keepalive?
  • 在 AIX 中,检测 TCP 连接失败的时间是 tcp_keepidle +(tcp_keepintvl * tcp_keepcnt),如何在 Linux 上计算它?

Environment

  • Red Hat Enterprise Linux (所有版本)
  • TCP 连接

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content