[Home]

Summary:ASTERISK-15847: [patch] Real-time Priory
Reporter:Scott Johnson (globalnetinc)Labels:
Date Opened:2010-03-20 18:30:28Date Closed:2010-04-02 15:20:50
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) astcanary.patch
( 1) Ubuntu.txt
Description:after upgrade from 1.6.2.1 to 1.6.2.6

[Mar 20 17:26:54] WARNING[25120]: asterisk.c:3050 canary_thread: The canary is no more.  He has ceased to be!  He's expired and gone to meet )
Comments:By: frawd (frawd) 2010-03-20 20:10:29

It also happens to me in 1.6.2.6, usually less than a minute after Asterisk's start.

By: Tilghman Lesher (tilghman) 2010-03-21 21:41:28

You're going to need to provide more information to track this down.  That this message is printed is a symptom of a thread eating CPU.  It is not an error in itself.

By: Scott Johnson (globalnetinc) 2010-03-22 22:58:03

I can find no thread that is causing the problem.  I have uploaded a file of processes and the cpu load.

By: Makoto Dei (makoto) 2010-03-28 19:56:30

I have the same problem.
Attached patch will fix the problem.

Asterisk should pass its own pid to astcanary,
but it seems to pass astcanary's pid.

By: Scott Johnson (globalnetinc) 2010-04-01 21:18:00

applied the simple patch and all works for the last 3 days.

By: frawd (frawd) 2010-04-02 11:01:39

Same here, so far it looks like the patch makes it work.

By: Digium Subversion (svnbot) 2010-04-02 15:19:02

Repository: asterisk
Revision: 255952

U   trunk/main/asterisk.c

------------------------------------------------------------------------
r255952 | tilghman | 2010-04-02 15:19:01 -0500 (Fri, 02 Apr 2010) | 8 lines

Pass the PID of the Asterisk process, not the PID of the canary.

(closes issue ASTERISK-15847)
Reported by: globalnetinc
Patches:
      astcanary.patch uploaded by makoto (license 38)
Tested by: frawd, globalnetinc

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=255952

By: Digium Subversion (svnbot) 2010-04-02 15:20:29

Repository: asterisk
Revision: 255953

_U  branches/1.6.0/
U   branches/1.6.0/main/asterisk.c

------------------------------------------------------------------------
r255953 | tilghman | 2010-04-02 15:20:28 -0500 (Fri, 02 Apr 2010) | 15 lines

Merged revisions 255952 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r255952 | tilghman | 2010-04-02 15:19:01 -0500 (Fri, 02 Apr 2010) | 8 lines
 
 Pass the PID of the Asterisk process, not the PID of the canary.
 
 (closes issue ASTERISK-15847)
  Reported by: globalnetinc
  Patches:
        astcanary.patch uploaded by makoto (license 38)
  Tested by: frawd, globalnetinc
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=255953

By: Digium Subversion (svnbot) 2010-04-02 15:20:41

Repository: asterisk
Revision: 255954

_U  branches/1.6.1/
U   branches/1.6.1/main/asterisk.c

------------------------------------------------------------------------
r255954 | tilghman | 2010-04-02 15:20:40 -0500 (Fri, 02 Apr 2010) | 15 lines

Merged revisions 255952 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r255952 | tilghman | 2010-04-02 15:19:01 -0500 (Fri, 02 Apr 2010) | 8 lines
 
 Pass the PID of the Asterisk process, not the PID of the canary.
 
 (closes issue ASTERISK-15847)
  Reported by: globalnetinc
  Patches:
        astcanary.patch uploaded by makoto (license 38)
  Tested by: frawd, globalnetinc
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=255954

By: Digium Subversion (svnbot) 2010-04-02 15:20:49

Repository: asterisk
Revision: 255955

_U  branches/1.6.2/
U   branches/1.6.2/main/asterisk.c

------------------------------------------------------------------------
r255955 | tilghman | 2010-04-02 15:20:49 -0500 (Fri, 02 Apr 2010) | 15 lines

Merged revisions 255952 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r255952 | tilghman | 2010-04-02 15:19:01 -0500 (Fri, 02 Apr 2010) | 8 lines
 
 Pass the PID of the Asterisk process, not the PID of the canary.
 
 (closes issue ASTERISK-15847)
  Reported by: globalnetinc
  Patches:
        astcanary.patch uploaded by makoto (license 38)
  Tested by: frawd, globalnetinc
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=255955