[Home]

Summary:ASTERISK-15300: [patch] park() function takes 100% of CPU
Reporter:Yasuhiro Konishi (yasuhiro konishi)Labels:
Date Opened:2009-12-10 22:19:37.000-0600Date Closed:2011-02-22 10:41:16.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Features/Parking
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) features.c.diff
Description:I found a following issue in the call parking function in 1.6.1.6

The park() function takes 100% of CPU if all of the parking lots has been used.
It seems something wrong in exit condition of the search loop for the unused parking lot.
Please see attached features.c.diff to fix this issue.

Comments:By: Digium Subversion (svnbot) 2010-01-08 11:18:42.000-0600

Repository: asterisk
Revision: 238583

U   trunk/main/features.c

------------------------------------------------------------------------
r238583 | jpeeler | 2010-01-08 11:18:41 -0600 (Fri, 08 Jan 2010) | 5 lines

Stop trying to find a parking space after traversing the parkinglot one time.

(closes issue ASTERISK-15300)
Reported by: Yasuhiro Konishi

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

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

By: Digium Subversion (svnbot) 2010-01-08 11:19:02.000-0600

Repository: asterisk
Revision: 238584

_U  branches/1.6.0/

------------------------------------------------------------------------
r238584 | jpeeler | 2010-01-08 11:19:02 -0600 (Fri, 08 Jan 2010) | 11 lines

Blocked revisions 238583 via svnmerge

........
 r238583 | jpeeler | 2010-01-08 11:18:41 -0600 (Fri, 08 Jan 2010) | 5 lines
 
 Stop trying to find a parking space after traversing the parkinglot one time.
 
 (closes issue ASTERISK-15300)
 Reported by: Yasuhiro Konishi
........

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

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

By: Digium Subversion (svnbot) 2010-01-08 11:19:38.000-0600

Repository: asterisk
Revision: 238585

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

------------------------------------------------------------------------
r238585 | jpeeler | 2010-01-08 11:19:38 -0600 (Fri, 08 Jan 2010) | 12 lines

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

........
 r238583 | jpeeler | 2010-01-08 11:18:41 -0600 (Fri, 08 Jan 2010) | 5 lines
 
 Stop trying to find a parking space after traversing the parkinglot one time.
 
 (closes issue ASTERISK-15300)
 Reported by: Yasuhiro Konishi
........

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

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

By: Digium Subversion (svnbot) 2010-01-08 11:20:05.000-0600

Repository: asterisk
Revision: 238586

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

------------------------------------------------------------------------
r238586 | jpeeler | 2010-01-08 11:20:04 -0600 (Fri, 08 Jan 2010) | 12 lines

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

........
 r238583 | jpeeler | 2010-01-08 11:18:41 -0600 (Fri, 08 Jan 2010) | 5 lines
 
 Stop trying to find a parking space after traversing the parkinglot one time.
 
 (closes issue ASTERISK-15300)
 Reported by: Yasuhiro Konishi
........

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

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