Ad Widget

Collapse

Many TIME_WAIT TCP Connection on Windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • turtleold
    Member
    • May 2021
    • 50

    #1

    Many TIME_WAIT TCP Connection on Windows

    Hi, everybody

    There is a problem with a large number of TCP connections in the TIME_WAIT state.
    In version Zabbix 5.4.4 it seems like the problem has been fixed.

    Configurable TCP queue maximum size


    A new configuration parameter ListenBacklog has been added to Zabbix server, Zabbix proxy, and Zabbix agent (Unix/Windows) configuration. This optional parameter can be used to specify the maximum number of pending connections in the TCP queue.
    Updated the server version to 5.4.9 on Ubuntu 20.04. Updated the Windows version of the Agent to 5.4.9. But the number of TCP connections still remains in large numbers.

    The ListenBacklog value is set to 1

    What other ideas are possible in this situation?
  • V.botta
    Junior Member
    • Dec 2021
    • 2

    #2
    if I'm not mistaken you can set it between 1 and 30, where 1 is the default. I solved it by setting it to 10.

    Comment

    • turtleold
      Member
      • May 2021
      • 50

      #3
      Originally posted by V.botta
      if I'm not mistaken you can set it between 1 and 30, where 1 is the default. I solved it by setting it to 10.
      From 0 to infinity
      ####### For advanced users - TCP-related fine-tuning parameters #######

      ## Option: ListenBacklog
      # The maximum number of pending connections in the queue. This parameter is passed to
      # listen() function as argument 'backlog' (see "man listen").
      #
      # Mandatory: no
      # Range: 0 - INT_MAX (depends on system, too large values may be silently truncated to implementation-specified maximum)
      # Default: SOMAXCONN (hard-coded constant, depends on system)
      ListenBacklog=1

      Comment

      • turtleold
        Member
        • May 2021
        • 50

        #4
        Does no one really know what to do with it? I don't have any ideas left myself...

        Comment

        Working...