Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-101810

Use the runtime platform parameters for listenBacklog

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • N&O 2025-03-17, N&O 2025-03-31, N&O 2025-04-14, N&O 2025-04-28
    • None
    • None
    • None
    • None
    • None
    • None
    • None

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

      SOMAXCONNS 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@mongodb.com David Goffredo
            Reporter:
            erin.mcnulty@mongodb.com Erin McNulty
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: