File tree Expand file tree Collapse file tree 3 files changed +17
-13
lines changed Expand file tree Collapse file tree 3 files changed +17
-13
lines changed Original file line number Diff line number Diff line change
1
+ Starting in MongoDB 4.4 running on Linux:
2
+
3
+ - When the :binary: `~bin.mongod ` and :binary: `~bin.mongos ` processes
4
+ receive a ``SIGUSR2 `` signal, backtrace details are added to the logs
5
+ for each process thread.
6
+
7
+ - Backtrace details show the function calls for the process, which can
8
+ be used for diagnostics and provided to MongoDB Support if required.
9
+
10
+ The backtrace functionality is available for these architectures:
11
+
12
+ - ``x86_64 ``
13
+ - ``arm64 `` (starting in MongoDB 4.4.15)
Original file line number Diff line number Diff line change @@ -2173,13 +2173,9 @@ Support for ``$natural`` Sort on Views
2173
2173
Support for Diagnostic Backtrace Generation
2174
2174
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2175
2175
2176
- Starting in MongoDB 4.4, :binary:`~bin.mongod` and :binary:`~bin.mongos`
2177
- processes running on Linux will now log a backtrace for each of their
2178
- running threads upon receipt of a ``SIGUSR2`` signal. This backtrace can
2179
- be analyzed for diagnostic information or provided to MongoDB support as
2180
- needed. This functionality is currently available only on the ``x86_64``
2181
- architecture. For more information on using this feature, see
2182
- :ref:`sigusr2-diagnostic-backtrace`.
2176
+ .. include:: /includes/diagnostic-backtrace-generation.rst
2177
+
2178
+ For more information, see :ref:`sigusr2-diagnostic-backtrace`.
2183
2179
2184
2180
Container-aware FTDC Reporting
2185
2181
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -206,12 +206,7 @@ Troubleshoot ``mongod`` Processes
206
206
Generate a Backtrace
207
207
~~~~~~~~~~~~~~~~~~~~
208
208
209
- Starting in MongoDB 4.4, :binary:`~bin.mongod` and :binary:`~bin.mongos`
210
- processes running on Linux will now log a backtrace for each of their
211
- running threads upon receipt of a ``SIGUSR2`` signal. This backtrace can
212
- be analyzed for diagnostic information or provided to MongoDB support as
213
- needed. This functionality is currently available only on the ``x86_64``
214
- architecture.
209
+ .. include:: /includes/diagnostic-backtrace-generation.rst
215
210
216
211
To issue a ``SIGUSR2`` signal to a running :binary:`~bin.mongod`
217
212
process, use the following command:
You can’t perform that action at this time.
0 commit comments