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

Large number of databases causes seg fault in mongotop

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.2.0-rc0
    • 2.1.2
    • Tools
    • None
    • regression from 2.0.6
    • ALL

    Description

      Create 85 databases with a single doc.

      var numDbs = 85;
       
      // insert 1 single doc in each db
      for ( i=0; i<numDbs; i++ ) {
          t = db.getSisterDB('boom-' + i)['boom'];
          t.drop();
          t.insert({_id:1, x:1});
      }

      then run mongotop with no args (--locks doesn't crash)

      dan:(git)mongo[master]/$ ./mongotop
      connected to: 127.0.0.1
      Segmentation fault

      Attachments

        Activity

          People

            dan@mongodb.com Daniel Pasette (Inactive)
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: