MongoDB service went down due to an error: BSONObjectTooLarge

XMLWordPrintableJSON

    • None
    • Ruby Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      My MongoDB service went down due to an error - BSONObjectTooLarge, which occurs when a single FTDC document exceeds the 16MB limit. Has anyone else encountered this error, or is it a bug? Does anyone know a solution for it?

      MongoDB version: 6.0.26
      Operating system: Ubuntu 22.04.4, arm64

      {{}}

      {"t":\{"$date":"2025-02-15T15:01:12.082+00:00"}

      ,"s":"E", "c":"ASSERT", "id":23077, "ctx":"ftdc","msg":"Assertion","attr":{"error":"BSONObjectTooLarge: BSONObj size: 17041110 (0x10406D6) is invalid. Size must be between 0 and 16793600(16MB) First element: start: new Date(1739631671000)","file":"src/mongo/bson/bsonobj.cpp","line":101}}

      {"t":\{"$date":"2025-02-15T15:01:12.084+00:00"}

      ,"s":"F", "c":"CONTROL", "id":6384300, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"terminate() called. An exception is active; attempting to gather more information\n"}}

      Note : The same error was happen to me on mongo 6.0.15 -> 6.0.25 also, now im here at 6.0.26 which also not helping me on the fix. 

            Assignee:
            Unassigned
            Reporter:
            Vatcharavel V
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: