[asterisk-bugs] [Asterisk 0018687]: [patch] high iowait due to ast_db_put of realtime peers

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 31 14:03:06 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18687 
====================================================================== 
Reported By:                wdoekes
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18687
Category:                   Channels/chan_sip/DatabaseSupport
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.2.16.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-01-27 03:32 CST
Last Modified:              2011-01-31 14:03 CST
====================================================================== 
Summary:                    [patch] high iowait due to ast_db_put of realtime
peers
Description: 
Hi,

on an asterisk 1.6.2 server, I receive lots of REGISTERs (around 20
packets per second). For every (succesful) registration, it seems to be
writing a new astdb. This causes an unnecessary disk load. (It writes a new
blob of astdb data 10 times per second.)

As I understand it, there is no reason to store these realtime peers in
the astdb as the needed info is already in the SQL db.

I've patched asterisk to not do that, and I haven't noticed any adverse
effects after two weeks.


Regards,
Walter Doekes
OSSO B.V.
====================================================================== 

---------------------------------------------------------------------- 
 (0131290) lmadsen (administrator) - 2011-01-31 14:03
 https://issues.asterisk.org/view.php?id=18687#c131290 
---------------------------------------------------------------------- 
Thanks for the patch! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-31 14:03 lmadsen        Note Added: 0131290                          
======================================================================




More information about the asterisk-bugs mailing list