If you are looking for the old MongoLab workflow, its instructions describe a historical portal—not a verified path through today’s MongoDB Atlas interface. For current documented workflows, MongoDB says to find an operation ID with $currentOp or db.currentOp(), then use db.killOp(opid) only for an eligible, client-initiated operation.
What the MongoLab UI instructions describe
Chris Chang’s DZone article, updated October 11, 2022, described a portal view for finding in-progress database operations. The steps below reflect that article’s historical interface; they are not current Atlas instructions. Read the DZone article.
- Open the deployment and select the Tools tab.
- Open the separate current-operations view to see operations in progress.
- For an eligible operation, click the blue X beside it to request termination. The control was disabled for some operation types.
The article also described displaying operations from secondary nodes, automatic reloading, and a more verbose view that included idle and system operations. Those are historical capabilities reported in that article; they do not establish that the same controls or labels remain available in Atlas.
How to find and kill an operation with current MongoDB methods
MongoDB’s documented mongosh method is db.killOp(opid). First locate the operation ID using $currentOp or db.currentOp(), then pass that ID to the method. See the MongoDB db.killOp() method reference for the applicable deployment and operation details.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Scan for outdated or missing drivers - takes under a minute3Repair Windows errors before they cause bigger problems#1 Best Overall
- Use
$currentOpordb.currentOp()to inspect current operations and identify the target operation ID. - Confirm that the operation was initiated by a client and that you have permission to terminate it.
- Run
db.killOp(opid)with the identified operation ID in the appropriate deployment context. - Check current operations again to confirm whether the operation is still running.
MongoDB’s warning is explicit: “Terminate running operations with extreme caution. Only use db.killOp() to terminate operations initiated by clients and do not terminate internal database operations.” A kill request is not a general remedy for an unresponsive database; identify the operation and its context before acting.
Permissions and deployment differences
| Context | What the documentation establishes |
|---|---|
| Self-managed deployment with authorization | Killing an operation not owned by the current user requires the killop privilege action. On mongod, users can kill their own operations without that privilege. |
| MongoDB Atlas | The method is limited to the MongoDB user who ran the operation. This does not establish a current Atlas UI workflow. |
| Sharded read operation | Find the operation on the same mongos that received the client query, using $currentOp with localOps: true, then issue db.killOp() there. |
| Sharded write operation | The method reference documents additional shard-specific handling. Do not assume the read-operation procedure or one generic kill command covers every sharded write. |
These distinctions come from the MongoDB method reference. In particular, an operation ID alone does not guarantee that a user may terminate the operation or that a command issued from any node will target it appropriately.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Atlas Data Federation uses a separate documented path
For an Atlas Data Federation query, MongoDB documents a distinct command: run killOp against the admin database with db.runCommand() and an ObjectId operation identifier. An admin or a user with the killop privilege can terminate any federated query; the query issuer can terminate their own. Do not apply this ObjectId-specific procedure to ordinary MongoDB operation IDs.
The command may return the same success response when the operation is no longer running. Verify the result by checking $currentOp. See MongoDB’s Atlas Data Federation termination instructions.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →Quick Recap
Best Value
Rank #4
Rank #3
Historical UI versus current documented methods
| Question | MongoLab portal article | Current MongoDB documentation |
|---|---|---|
| How do you locate operations? | The 2022-updated article describes a current-operations view reached from the deployment’s Tools tab. | Use $currentOp or db.currentOp() to locate operation IDs. |
| How do you request termination? | Click the blue X beside an eligible operation; the control was disabled for some types. | Use db.killOp(opid) where permitted, with additional context-specific handling for sharded operations and Data Federation. |
| What can be terminated? | The article says some operations were not eligible for the UI control. | Terminate client-initiated operations only; authorization, ownership, product, and operation type affect what is permitted. |
| How do you verify? | The article describes a reloading view but does not establish today’s UI or a specific verification procedure. | Inspect current operations again; for Data Federation, MongoDB specifically directs users to check $currentOp. |
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

