[asterisk-bugs] [Asterisk 0016428]: [patch] park() function takes 100% of CPU

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jan 8 11:20:05 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16428 
====================================================================== 
Reported By:                Yasuhiro Konishi
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   16428
Category:                   Features/Parking
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Target Version:             1.6.0.22
Asterisk Version:           SVN 
JIRA:                       SWP-529 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-12-10 22:19 CST
Last Modified:              2010-01-08 11:20 CST
====================================================================== 
Summary:                    [patch] park() function takes 100% of CPU
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. 


====================================================================== 

---------------------------------------------------------------------- 
 (0116311) svnbot (reporter) - 2010-01-08 11:20
 https://issues.asterisk.org/view.php?id=16428#c116311 
---------------------------------------------------------------------- 
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 https://issues.asterisk.org/view.php?id=16428)
  Reported by: Yasuhiro Konishi
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-08 11:20 svnbot         Checkin                                      
2010-01-08 11:20 svnbot         Note Added: 0116311                          
======================================================================




More information about the asterisk-bugs mailing list