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

Allow for a privileged connection to administrate the server even when it fills up with connections

    • Type: Icon: Improvement Improvement
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • None

      MySQL reserves one connection to allow a super user to administrate the server even if it ever hits max connections:http://dev.mysql.com/doc/refman/5.5/en/too-many-connections.html

      It would be very helpful if Mongo did this as well.

      I've run into the problem of too many connections a few times now; most recently, when I was mongorestoring a database and the indexes were being created (presumably in the foreground?), the server filled up on connections and I couldn't do anything but watch the server spit out "Too many connections" error messages. I couldn't step it down, and terminating the mongos processes didn't help. In the end I was forced to just kill -9 it in order to fail over to the secondary.

            Assignee:
            Unassigned Unassigned
            Reporter:
            mkwan Mark Kwan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: