Use runtime platform parameters for listenBacklog

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • Fully Compatible
    • v8.1, v8.0
    • N&O 2025-03-17, N&O 2025-03-31, N&O 2025-04-14, N&O 2025-04-28, N&O 2025-05-12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Right now, we set the listenBacklog based on the platform-specific value of the compile-time constant SOMAXCONN.

      SOMAXCONN is a value determined by the build machine, which is not what we want to use at runtime in the database.

      Instead, we should use the corresponding system parameters determined at runtime, such as net.core.somaxconn kernel parameter on Linux.

            Assignee:
            David Goffredo
            Reporter:
            Erin McNulty
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: