Maximum number of clients supported by change stream

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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!

            Assignee:
            Carl Champain (Inactive)
            Reporter:
            Xikui Wang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: