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

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


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16428 
====================================================================== 
Reported By:                Yasuhiro Konishi
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16428
Category:                   Features/Parking
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for review
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:              
====================================================================== 
Date Submitted:             2009-12-10 22:19 CST
Last Modified:              2010-01-08 11:18 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. 


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

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

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

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

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




More information about the asterisk-bugs mailing list