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

Maximum number of clients supported by change stream

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      Hi Devs,

      I'm running some tests to figure out the maximum number of clients that can be supported by change stream. I basically took the script from SERVER-32946 and changed the number of clients. I tested it on my own machine with three local replicas. When the client number is too high, like 100000, the primary replica constantly complains about "Too Many Open Files". I tried to tune up the ulimit to 65536, but it didn't help.

      I wonder probably the change stream is not designed for such use cases? What would be the maximum number of supportable clients in this case? Thank you!

      Attachments

        Activity

          People

            carl.champain@mongodb.com Carl Champain (Inactive)
            xkkwww@gmail.com Xikui Wang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: