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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 27 03:33:46 CST 2011


The following issue has been UPDATED. 
====================================================================== 
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:                     new
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-27 03:33 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-27 03:33 wdoekes        Summary                  high iowait due to
ast_db_put of realtime peers => [patch] high iowait due to ast_db_put of
realtime peers
======================================================================




More information about the asterisk-bugs mailing list