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

Configurable service worker thread stack size

    XMLWordPrintableJSON

Details

    Description

      The size of the stack used by service worker threads (aka connection threads) is hardcoded to a maximum of 1MB, regardless of the RLIMIT_STACK ulimit. Some users might want to increase the stack size for these threads, so it would be nice to have a server parameter instead of the hardcoded 1048576.

      https://github.com/mongodb/mongo/blob/r4.1.0/src/mongo/transport/service_entry_point_utils.cpp#L71-L82

      Attachments

        Activity

          People

            billy.donahue@mongodb.com Billy Donahue
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: