Skip to content

Commit fe05e34

Browse files
(DOCSP-5601): Adding way to kill long-running ops (#155)
1 parent 79625f9 commit fe05e34

File tree

3 files changed

+40
-3
lines changed

3 files changed

+40
-3
lines changed

source/images/compass/kill-op.png

54.9 KB
Loading

source/images/compass/slow-ops.png

26.6 KB
Loading

source/performance.txt

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,48 @@ The :guilabel:`Performance` tab displays various stats:
8383
operations correspond to a given moment in the charts; i.e. as
8484
you move over the charts, the corresponding slowest operations
8585
are displayed in the table. To view the details of a slow
86-
operation as reported by :manual:`db.currentOp()
87-
</reference/method/db.currentOp>`, click on the operation.
86+
operation or :ref:`kill the operation <kill-long-ops>`, click on
87+
the operation.
88+
89+
.. _kill-long-ops:
90+
91+
Kill Slow Operations
92+
--------------------
93+
94+
.. admonition:: Required Permissions
95+
:class: important
96+
97+
On deployments which require
98+
:manual:`authentication </core/authentication/>`, to kill operations
99+
not owned by the user, the user must have access that includes the
100+
:authaction:`killop` privilege action.
101+
102+
You can kill slow operations from the :guilabel:`Performance Tab`.
103+
104+
1. Click the query you would like to kill in the
105+
:guilabel:`Slowest Operations` section.
106+
107+
|
108+
109+
.. figure:: /images/compass/slow-ops.png
110+
:scale: 50%
111+
:alt: Slow Operations section
112+
113+
|
114+
115+
2. In the :guilabel:`Operation Details` view, click
116+
:guilabel:`Kill Op`.
117+
118+
|
119+
120+
.. figure:: /images/compass/kill-op.png
121+
:scale: 50%
122+
:alt: Kill Op button
123+
124+
|
88125

89126
Pause the Display
90-
~~~~~~~~~~~~~~~~~
127+
-----------------
91128

92129
The :guilabel:`Pause` button above the graph display pauses the update
93130
of the displays only. Pausing the performance tab does not impact the

0 commit comments

Comments
 (0)