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

--maxConns parameter limit both client and replica connections

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Networking, Replication
    • Labels:
      None
    • Service Arch

      In the case when `mongod` hits connection limit it stops accepting connection both from clients and from other replicas in its replicaset.
      When something particularily bad happens on MongoDB replicaset and `mongod` exhausts connection limit, the only way to restore replicaset service is to restart all `mongod` processes.
      I consider `--maxConns` in its current state harmful for replicasets. I propose two ways for fixing the issue:
      1. Either reserve some quota for replicas or by any other means move connections from replicas out of connection limit.
      2. Forbid usage of `--maxConns` for replicasets.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            sz Sergey Zagursky
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: