[Home]

Summary:ASTERISK-26352: Astcanary dies when doing "core restart"
Reporter:Walter Doekes (wdoekes)Labels:
Date Opened:2016-09-09 09:13:34Date Closed:2016-10-26 08:58:53
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Utilities/astcanary
Versions:11.23.1 Frequency of
Occurrence
Related
Issues:
is related toASTERISK-19867 asterisk fails to lower its priority when astcanary dies
Environment:Attachments:
Description:Just noticed this now.

I haven't ever relied on the astcanary, but it looks like it dies after a 'core restart'.

See the following:

Start asterisk:

{noformat}
root     18551  0.0  0.1   4336  1560 ?        S    16:06   0:00 /bin/sh /usr/sbin/safe_asterisk -p -U asterisk
asterisk 18575  8.2  2.8 1244856 28936 ?       S<l  16:06   0:00  \_ /usr/sbin/asterisk -f -p -U asterisk
asterisk 18582  0.0  0.1  14588  1460 ?        S    16:06   0:00      \_ astcanary /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet 18575
asterisk 18597  0.0  0.0   4336   796 ?        S<   16:06   0:00      \_ /bin/sh /etc/asterisk/musiconhold.sh 16000
asterisk 18605  0.5  0.4  48372  4084 ?        S<   16:06   0:00          \_ /usr/bin/madplay -Q -o raw:- --mono -b 16 -R 16000 -a -12 -
{noformat}

After a restart when convenient:

{noformat}
root     18551  0.0  0.1   4336  1560 ?        S    16:06   0:00 /bin/sh /usr/sbin/safe_asterisk -p -U asterisk
asterisk 18575  3.4  2.8 1243892 28900 ?       S<l  16:06   0:02  \_ /usr/sbin/asterisk -f -p -U asterisk
asterisk 18582  0.0  0.0      0     0 ?        Z    16:06   0:00      \_ [astcanary] <defunct>
asterisk 18887  0.0  0.0   4336   760 ?        S<   16:07   0:00      \_ /bin/sh /etc/asterisk/musiconhold.sh 16000
asterisk 18896  0.5  0.4  48372  4080 ?        S<   16:07   0:00          \_ /usr/bin/madplay -Q -o raw:- --mono -b 16 -R 16000 -a -12 -
{noformat}

After another restart when convenient:

{noformat}
root     18551  0.0  0.1   4336  1560 ?        S    16:06   0:00 /bin/sh /usr/sbin/safe_asterisk -p -U asterisk
asterisk 18575  3.3  2.8 1243888 29060 ?       S<l  16:06   0:03  \_ /usr/sbin/asterisk -f -p -U asterisk
asterisk 19159  0.0  0.0   4336   748 ?        S<   16:08   0:00      \_ /bin/sh /etc/asterisk/musiconhold.sh 16000
asterisk 19167  0.6  0.3  49932  3940 ?        S<   16:08   0:00          \_ /usr/bin/madplay -Q -o raw:- --mono -b 16 -R 16000 -a -12 -
{noformat}
Comments:By: Asterisk Team (asteriskteam) 2016-09-09 09:13:35.087-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Rusty Newton (rnewton) 2016-09-15 17:27:33.340-0500

[~wdoekes] as an aside - does astcanary otherwise behave normal for you? I'm curious if ASTERISK-19867 is still an issue for anyone or if we can close that out.