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

rlimit warning does not say which setting it refers to

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 4.4.0-rc10
    • Fix Version/s: 4.7.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Security 2020-07-27

      Description

      When I run `mongo` shell I get the following output:

      serene% mongo --port 14420                                                                 
      MongoDB shell version v4.4.0-rc10
      connecting to: mongodb://127.0.0.1:14420/?compressors=disabled&gssapiServiceName=mongodb
      Implicit session: session { "id" : UUID("11903d9e-d115-4135-bdc8-258d83dab610") }
      MongoDB server version: 4.4.0-rc10
      ---
      The server generated these startup warnings when booting: 
              2020-06-23T04:47:32.625-04:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted
              2020-06-23T04:47:32.625-04:00: This server is bound to localhost. Remote systems will be unable to connect to this server. Start the server with --bind_ip <address> to specify which IP addresses it should serve responses from, or with --bind_ip_all to bind to all interfaces. If this behavior is desired, start the server with --bind_ip 127.0.0.1 to disable this warning
              2020-06-23T04:47:32.625-04:00: /sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never'
              2020-06-23T04:47:32.625-04:00: Soft rlimits too low
              2020-06-23T04:47:32.625-04:00:         currentValue: 2000
              2020-06-23T04:47:32.625-04:00:         recommendedMinimum: 64000
      ---
      

      The last 3 lines are saying some value is set to 2000 and the recommended setting is 64000, but do not say what setting the numbers are referring to.

      I believe the message is referring to the number of open file descriptors allowed (ulimit -n).

        Attachments

          Activity

            People

            Assignee:
            adam.cooper Adam Cooper (Inactive)
            Reporter:
            oleg.pudeyev Oleg Pudeyev
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: