Why we are obsering "fatal too many listen sockets Enlarge MAX LISTEN SOCKETS" error after increasing listen port limit in sshd_config ?

Solution Verified - Updated -

Issue

  • Getting error "fatal too many listen sockets Enlarge MAX LISTEN SOCKETS" in var/log/secure.
  • If we add tmore port and restart sftp service, the service is not starting up

Environment

  • Red Hat Enterprise Linux
  • ssh

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