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

when lots of web server, there is too many connections

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Duplicate
    • Affects Version/s: 2.2.2
    • Fix Version/s: None
    • Component/s: Networking, Sharding, Usability
    • Labels:
      None
    • Environment:
      Linux sharded cluster
    • Operating System:
      ALL

      Description

      I hava 100 web server, each use nginx and php-fpm.
      create 200 php-cgi process per web server.

      when i use persistent connection to mongos, there is 2w connections to mongos.
      because mongos keep last connection, use avail(shard_version.cpp, shardconnection.cpp),

      there will be 2w connection from mongos to shard server.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jmikola Jeremy Mikola
              Reporter:
              peanutgyz peanutgyz
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: