Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1072

MongoDB cursor leaked by driver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 2.1.2
    • 12_01_17
    • Wire Protocol
    • MongoDB 3.0.7 with replica set, Ubuntu 14.04 LTS, Mongoid 5.0.1

    Description

      I recently upgraded to mongoid5 and experienced since then a high frequency of MongoDB server dying out of memory or being OOM Killed.
      I digged into the charts at MMS and saw a huge number of open cursors, slowly timeouting, causing a 10 times increase in memory usage:

      I haven't investigate more yet to find which query is causing this, and as it's not possible to list cusors yet (SERVER-3090) but I'm pretty sure this comes from the mongo driver. The left side of the chart was Mongoid 4 with Moped.

      I'll be happy to dig in to this more to help you but I wanted to post first so maybe you can tell me you're already aware or how I can help you with this.

      Thanks ! and keep up the good work ☺

      Attachments

        Issue Links

          Activity

            People

              durran.jordan@mongodb.com Durran Jordan
              bigbourin@gmail.com Adrien Jarthon
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: