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

MongoDB 3.2.8 ignores ulimit in systemd distributions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 3.2.8
    • 3.2.10, 3.3.12
    • Admin
    • Fully Compatible
    • ALL
    • Hide

      Install mongod on debian 8 with 'deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.2 main' as source

      Show
      Install mongod on debian 8 with 'deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.2 main' as source
    • Build 2016-08-26

    Description

      Hello, I just update some mongod servers to 3.2.8 and I noticed that max open files setting is not respected. db.serverStatus().connections returns a maximum of 819 connections while the ulimit -n is correctly set at 65536

      My servers runs under Debian Jessie and before upgrading package I changed the source from wheezy to jessie repository

      This affects only the jessie version.

      I also tested this on a fresh new server to check if this was coming from my previous configuration and the result is the same, still capped at 819 connections.

      As I can't download pre 3.2.8 version with the Jessie source I wasn't able to see if this was affecting previous versions.

      Is the max open files limitation handled differently on Jessie ?

      Thanks

      Attachments

        Issue Links

          Activity

            People

              sam.kleinman Sam Kleinman (Inactive)
              chambo_e Emmanuel Chambon
              Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: