Easily find & kill MongoDB operations from MongoLab’s UI

A few months ago, we wrote a blog post on finding and terminating long-running operations in MongoDB. To help make it even easier for MongoLab users* to quickly identify the cause behind database unresponsiveness, we've integrated the currentOp() and killOp() methods into our management portal.

* currentOp and killOp functionality is not available on our free Sandbox databases because they run on multi-tenanted mongod processes.

Quick intro to db.currentOp()

If you're unfamiliar with MongoDB's currentOp() method, it reports in-progress operations on your mongod process. In other words, it will return information on all active operations running on your instance. This allows you to quickly identify long-running and/or blocking operations and focus your attention on problematic areas.

Current database operations - now in MongoLab's UI

To access this functionality in MongoLab's management portal, navigate to the deployment with the current operations you want to view and click on the "Tools" tab. Here you'll see a button that will launch a new window with all of your current operations.

MongoLab Tools View

Once the window is loaded, you'll see a list of your deployment's in-progress operations. In this example, you see a long-running query and a replication operation. If you'd like to kill an operation, simply click on the blue X button.

For your safety, we've disabled the "kill" button for some types of operations. As such, you'll notice there are operations that do not have the blue X button next to them.

MongoLab current and kill operations view

Note that from this page, you can also choose to:

  • View current operations from any secondary nodes
  • Automatically reload the page to see current operations in real-time
  • View a more verbose output including idle and system operations

With great power...

With great power comes great responsibility. This new feature is very powerful in helping users find and kill operations. However, if you're ever in doubt about whether it's safe to terminate an operation, reach out support@mongolab.com anytime. We're here to help!

12 Responses to Easily find & kill MongoDB operations from MongoLab’s UI

  1. is motor club america a scam 2017/04/01 at 1:39 pm #

    190673 50316Perfectly written subject material , thanks for selective information . 16349

  2. hochsteckfrisur halboffen 2017/04/03 at 7:41 pm #

    Hello there! I know this is kind of off topic but I was wondering if
    you knew where I could find a captcha plugin for my comment form?
    I’m using the same blog platform as yours and
    I’m having difficulty finding one? Thanks a lot!

  3. hochsteckfrisur selber machen 2017/04/04 at 3:50 am #

    We’re a group of volunteers and starting a new
    scheme in our community. Your website offered
    us with valuable information to work on. You have
    done a formidable job and our whole community will be grateful to
    you.

  4. oxandrolone balkan 2017/04/04 at 11:18 am #

    262495 976807It is actually a cool and valuable piece of details. Im glad which you shared this valuable details with us. Please maintain us informed like this. Thanks for sharing. 459561

  5. Best Best Online News in the World 2017/04/06 at 2:01 pm #

    431064 158771very good put up, i definitely love this web site, keep on it 254809

  6. GVK BIO 2017/04/08 at 9:27 am #

    405395 806618Music began playing anytime I opened this website, so irritating! 673342

  7. GVK Biosciences 2017/04/08 at 7:23 pm #

    273092 338755Terrific paintings! That could be the type of data that are meant to be shared about the net. Shame on the seek for no longer positioning this publish higher! Come on more than and consult with my internet site . Thank you =) 394423

  8. buy Instagram views 2017/04/10 at 5:27 pm #

    817053 70667Likely to commence a business venture around the refers to disclosing your products and so programs not just to individuals near you, remember, though , to several potential prospects much more via the www often. earn cash 327846

  9. Dubai Escorts 2017/04/19 at 2:55 am #

    301028 845696But wanna say that this really is quite valuable , Thanks for taking your time to write this. 300713

  10. Switch Energy Supplier 2017/04/20 at 7:37 am #

    791817 626896if the buffalo in my head could speak german i would not know a god damm thing. What i do know is that the language of art is out of this world. 412390

  11. Best Online News 2017/04/22 at 6:35 am #

    477887 462100Taking a look forward to peer you. 310280

  12. Hoverboard Electric Scooters 2017/04/22 at 3:12 pm #

    870730 498353 I discovered your blog website on google and check a couple of of your early posts. Continue to keep up the extremely great operate. I just additional up your RSS feed to my MSN News Reader. Seeking forward to reading much more from you later on! 810695

Leave a Reply