Improving Core Dump Analysis

Within the Asterisk project we are constantly trying to improve our processes and data collection when a problem is encountered to reduce the back and forth for getting information. This initially started with the ast_coredumper script that is now the recommended way to collect information from a running Asterisk process or from a core dump resulting from a crash. Over time we’ve continued to improve this script with additional functionality and I’m excited to say that we’ve now extended it further so it can retrieve information about core Asterisk concepts!

In Asterisk we have a lot of APIs, structures, and containers which are instrumental in allowing Asterisk to work. You may know some of these just by seeing log messages and blog posts in regards to them, such as taskprocessors. When the ast_coredumper script is now run some of these will be collected and added to the resulting tarball. This gives developers better insight into what exactly is going on in your system without having to get a core dump, your Asterisk install, and without having to manually spend time going through analysis.

In the case of taskprocessors it even allows us to understand and see how relatively loaded your system is (or was) based on the values. This is because taskprocessors act as a work queue, so if things are processed slowly then the queue will increase and potentially exceed certain limits. This information is recorded in the taskprocessors and now retrieved by ast_coredumper.

To that end when filing an issue on the Asterisk issue tracker I urge everyone to use the ast_coredumper script to retrieve the information that developers need, even if using an old version of Asterisk. It helps us help you.

Leave a Reply

Your email address will not be published. Required fields are marked *

The reCAPTCHA verification period has expired. Please reload the page.

About the Author

What can we help you find?