Huge thanks to Joshua Colp for mirroring services

*-Dev: pseudo realtime and load issue

Share on Twitter Digg this story Click to view a printable version Wed, 24 Aug 2005 06:44:23 -0700

Steven Critchfield has posted details of a patch to reduce the risk of running Asterisk in pseudo realtime mode:

Pinging fellow developers to look at this patch and possibly make comments on this buglet.

http://bugs.digium.com/view.php?id=4930

It simply makes the set_priority function globally accessible and changes it's name to ast_set_priority. Then at any point where we need to reduce priority we can call it to take care of the priority in a nice portable manner.

And in AGI after we fork but before we exec the agi script, we reduce our priority to keep from starving asterisk.

Those worried about asterisk running as a psuedo realtime app due to busy loops locking the machine should realize this reduces your risk of locking up as it keeps your AGI apps from being able to load up the machine too much in a busy loop.


You haven't voted yet! Vote:
Current Rating: 0/10 (0 votes)

Comments (Click to post)

Comments
Name:
Subject:
Website:
Message: 

Similar Articles (Based on Title)

*-dev Developers meeting at von - September 10, 2006
Olle has posted details of the developers meeting at VON.

*-dev Open Source Pavilion at AstriCon: Your project wanted - July 31, 2009
John Todd has posted a note to let people know that Digium will give you a free booth and passes to Astricon for an Open Source project.

*-CVS: Voicemail fix under load test - January 24, 2005
A couple of days ago someone posted an email to the Asterisk-Dev list stating that they had been performing load testing of Asterisk and had noticed a problem when more than one voicemail were written for the same person at exactly the same time. This has now been fixed in CVS-HEAD.

Improve scheduler performance under high load - February 17, 2009
Russell has posted details of some changes and tests he has run to improve the performance of Asterisk.

Sangoma: How to reduce Asterisk Load by 70 percent - September 14, 2009
The Sangoma Wiki has a PDF explaining how you can reduce Asterisk system load by up to 70 percent by increasing the chunk size so that you are not getting an interrupt every 1ms. Note that this is only applicable to cards with hardware echo cancellation.

*-Announce: New issue tracker for handling licensing issues for Asterisk, Zaptel and related projects - February 7, 2006
The Asterisk Development Team have posted details of a new issue tracker for Asterisk and Zaptel etc.

Security Issue in Asterisk trunk IMAP_STORAGE - June 26, 2007
Russell Bryant has posted details of a security issue in trunk.

Update on FBI Issue - Important - December 9, 2008
John Todd has sent a detailed note to the Asterisk developers list regarding the recent security release. Please post this wherever you can.

Workflow Guidelines for Asterisk Open Source Issue Tracker - September 25, 2009
The purpose of this document is to briefly describe the various statuses an issue can be placed in, and what that status means. In addition, the simple workflow and transition between statuses will be discussed.

Testers Needed Issue 16965 DBGet response does not end with a Complete event - March 19, 2010
Ryan Bullock is looking for people to test a patch he has written to fix the DBGet Action.

Details from on RealTime, RealTimeUpdate - October 10, 2004
Sorry this is just the information from the show application command. I'll bring more info as and when I find it.

Asterisk-Dev: Realtime Config/DB Driver Groups - October 10, 2004
Matthew Boehm has posted details on Realtime Config and DB Driver Groups to the Asterisk-Dev List.

Asterisk-Dev: RealTime - res_config_mysql - Ready for Testing - October 12, 2004
Matthew Boehm has released his MySQL driver for the new realtime config options in Asterisk


Original Content (C) 2004-2010 Matt Riddell
Back 5  Feed Add
to
Google Subscribe with Bloglines
Go to today

Icons by: FastIcon.com


AstriDevCon: October 29th, Washington DC
August 23, 2010 Average Vote: 10
John Todd has posted a note about the AstriDevCon conference which occurs within the Astricon conference.

Code Review: SRTP support for Asterisk
March 12, 2009 Average Vote: 10
Terry Wilson has moved his SRTP branch onto the Digium review board.

The Everything Asterisk Video Collection
August 5, 2010 Average Vote: 10
Steven Sokol has posted a blog entry on Asterisk Video Resources.

Voip-Forum: Lots of new articles
March 12, 2005 Average Vote: 10
Oej's Voip-Forum.com site has posted lots of new news articles while I've been away. Hopefully you found them via the asterisk-docs site. If not I've bookmarked them for you.

Interview with Mark Spencer
November 26, 2004 Average Vote: 9.9
We have managed to get an interview with Mark Spencer AKA Markster. Mark Spencer is the creator of Asterisk and by far the most active developer.

Asterisk and Kamailio realtime integration tutorial
May 24, 2010 Average Vote: 9.9
Daniel-Constantin Mierla has posted a link to a tutorial on integrating Asterisk and Kamailio using realtime.

Asterisk and Kamailio (openser) realtime integration
August 5, 2010 Average Vote: 9.8
Daniel-Constantin Mierla posted a writeup on combining Asterisk and Kamailio.

Asterisk IPv6 update
February 1, 2010 Average Vote: 9.8
Olle has posted an update on IPV6 in Asterisk and a link to a blog post of his.

Proposal for T.38 transparent gateway design in Asterisk
April 29, 2010 Average Vote: 9.8
Kevin Fleming has posted a proposed design for a transparent T.38 gateway for Asterisk:

Back to life
July 21, 2010 Average Vote: 9.8
Hey all - I am back online after some pretty big projects which have taken all my time. Will be updating the Asterisk news over the next few days.

Announcing Adhearsion 0.8.5
August 25, 2010 Average Vote: 9.8
Ben Klang has posted a note about the latest release of Adhearsion - a framework for developing Asterisk based solutions using Ruby.

app_swift v2.0 released
July 21, 2010 Average Vote: 9.8
Like a few of these news stories that I will be posting over the next couple of days this is a little old - hope it is not something you have already seen. This one is for a new version of the app_swift text-to-speech module for Asterisk 1.2, 1.4, and 1.6.

Monitoring Asterisk with Munin
January 7, 2010 Average Vote: 9.7
I had a few requests for these munin plugins after some discussion on one of the Asterisk lists and thought people might like them.

GUI changes from Trixbox, FreePBX, 2600hz, BlueBox
September 1, 2010 Average Vote: 9.7
Ok, bear with me on this one. If you understand all the ramifications, FreePBX has split to a new project called BlueBox contained within the 2600hz project. This obviously has implications for Trixbox that uses FreePBX to provide quite a bit of functionality.

Nerd Vittles: Finally... Installing Asterisk at Home on Your Windows PC
February 9, 2006 Average Vote: 9.7
Ward Mundy has posted details of a how to for installing Asterisk at Home on a windows machine without removing windows.


Asterisk 1.8.0-beta5 Now Available
September 9, 2010
The Asterisk Development Team has announced the release of Asterisk 1.8.0-beta5.

libpri 1.4.11.4 Now Available
September 3, 2010
The Asterisk Development Team has announced the release of libpri 1.4.11.4.

New CDR Stats Package
September 1, 2010
This one has been a long time coming. A new CDR stats package from Star2Billing to replace the 7 year old stalwart for viewing Asterisk call detail records.

GUI changes from Trixbox, FreePBX, 2600hz, BlueBox
September 1, 2010
Ok, bear with me on this one. If you understand all the ramifications, FreePBX has split to a new project called BlueBox contained within the 2600hz project. This obviously has implications for Trixbox that uses FreePBX to provide quite a bit of functionality.

RazorQuotePBP Asterisk Payment Module
August 31, 2010
RazorQuote has sent us a press release about the launch of RazorQuotePBP, a native Asterisk module that allows any Asterisk connected device to accept credit card payments.

CloudVox: Install an open source Asterisk phone app and get 250 dollars
August 30, 2010
CloudVox is running a competition for people to receive 250 dollars for writing up some documentation for Open Source applications on CloudVox - first in first served.

AstriCon approaches
August 25, 2010
John Todd has posted a note about the upcoming AstriCon conference in Washington, DC, and the innovation awards.

Announcing Adhearsion 0.8.5
August 25, 2010
Ben Klang has posted a note about the latest release of Adhearsion - a framework for developing Asterisk based solutions using Ruby.

Asterisk 1.8.0-beta4 Now Available
August 25, 2010
The Asterisk Development Team has announced the release of Asterisk 1.8.0-beta4.

AstriDevCon: October 29th, Washington DC
August 23, 2010
John Todd has posted a note about the AstriDevCon conference which occurs within the Astricon conference.