File tree Expand file tree Collapse file tree 4 files changed +23
-13
lines changed Expand file tree Collapse file tree 4 files changed +23
-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, 5.0.10, and 6.0)
Original file line number Diff line number Diff line change @@ -2164,13 +2164,9 @@ Support for ``$natural`` Sort on Views
2164
2164
Support for Diagnostic Backtrace Generation
2165
2165
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2166
2166
2167
- Starting in MongoDB 4.4, :binary:`~bin.mongod` and :binary:`~bin.mongos`
2168
- processes running on Linux will now log a backtrace for each of their
2169
- running threads upon receipt of a ``SIGUSR2`` signal. This backtrace can
2170
- be analyzed for diagnostic information or provided to MongoDB support as
2171
- needed. This functionality is currently available only on the ``x86_64``
2172
- architecture. For more information on using this feature, see
2173
- :ref:`sigusr2-diagnostic-backtrace`.
2167
+ .. include:: /includes/diagnostic-backtrace-generation.rst
2168
+
2169
+ For more information, see :ref:`sigusr2-diagnostic-backtrace`.
2174
2170
2175
2171
Container-aware FTDC Reporting
2176
2172
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -701,6 +701,12 @@ connection object has the following new methods:
701
701
- :method:`Mongo.getWriteConcern()` returns the :term:`write concern`
702
702
- :method:`Mongo.setWriteConcern()` sets the :term:`write concern`
703
703
704
+ Support for Diagnostic Backtrace Generation in ``arm64``
705
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
706
+
707
+ Starting in MongoDB 6.0 (and 5.0.10, 4.4.15), :ref:`diagnostic backtrace
708
+ generation <sigusr2-diagnostic-backtrace>` in ``arm64`` is supported.
709
+
704
710
Changes Affecting Compatibility
705
711
-------------------------------
706
712
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