[SERVER-33445] Add signal handler to generate stack traces Created: 22/Feb/18 Updated: 29/Oct/23 Resolved: 15/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics |
| Affects Version/s: | 3.4.13, 3.6.2 |
| Fix Version/s: | 4.3.3 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Kevin Arhelger | Assignee: | Billy Donahue |
| Resolution: | Fixed | Votes: | 9 |
| Labels: | SWDI, former-quick-wins, gm-ack | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||
| Sprint: | Platforms 2018-06-18, Platforms 2018-07-02, Platforms 2018-07-16, Dev Tools 2019-09-09, Dev Tools 2019-10-21, Dev Tools 2019-11-18, Dev Tools 2019-12-02, Dev Tools 2019-12-16, Dev Tools 2019-12-30, Dev Tools 2020-01-13, Dev Tools 2020-01-27 | ||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||||||||||||||||||
| Description |
|
Occasionally we need to capture the state of all threads for performance analysis. I propose implementing a signal handler calling printStackTrace(). This would ease diagnostics as we can achieve the same result by issuing a kill signal. |
| Comments |
| Comment by Githook User [ 13/Jan/20 ] |
|
Author: {'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}Message: |
| Comment by Billy Donahue [ 11/Dec/19 ] |
|
Committed as ... which has " |
| Comment by Gregory McKeon (Inactive) [ 13/Sep/18 ] |
|
This has turned out to be blocked on the third party upgrades project. |
| Comment by Bruce Lucas (Inactive) [ 14/Mar/18 ] |
|
Similar to the request in SERVER-33880 it would be useful to collect stack traces at various times when we detect problems - for example, when clean shutdown is attempted but stalls. |