Re: [asterisk-users] Base memory usage
On Thu, 30 Dec 2010 23:53:04 -0500, Jeremy Kister asterisk...@jeremykister.com wrote: I've got just about everything turned on via menuselect, but then i have a bunch of modules turned off via modules.conf Incidently, is there a sure-fire way (eg. checking error messages in Asterisk's log file) to know which modules a given Asterisk setup needs, so we can safely not load unneeded modules? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Base memory usage
Jeremy Kister wrote: On 12/30/2010 9:59 PM, Larry Wimble wrote: I just installed asterisk 1.8.1.1 along with FreePBX on a fairly small VPS (512mb standard, 512mb burst). I note that the asterisk process is using about 209mb of memory just doing nothing (not configured to do anything yet) I'm running 1.8.1 rc1 + some patches (nothing to do with memory) and i'm at 42MB resident (73 virt/8shared) I've got just about everything turned on via menuselect, but then i have a bunch of modules turned off via modules.conf I doubt that's your issue, but if you're interested to see my modules.conf, it's temporarily at http://jeremy.kister.net/tmp/modules.conf Thanks a bunch guys! I pruned the modules loading and that did the job, although I found something interesting in doing so: Removing modules one by one seemed to have virtually no effect until I got to chan_iax2.so. Removing this module dropped memory consumption from 209mb to 16mb (looking at the RES column in the output of `top'). Once again, thanks for your suggestions ... Works like a charm! Kind Regards, Larry -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Base memory usage
-Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Gilles Sent: Friday, December 31, 2010 3:21 AM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Base memory usage On Thu, 30 Dec 2010 23:53:04 -0500, Jeremy Kister asterisk...@jeremykister.com wrote: I've got just about everything turned on via menuselect, but then i have a bunch of modules turned off via modules.conf Incidently, is there a sure-fire way (eg. checking error messages in Asterisk's log file) to know which modules a given Asterisk setup needs, so we can safely not load unneeded modules? Check /var/log/asterisk/full from your last 1.6 startup. The list of modules from there should be what you need in 1.8. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Base memory usage
-Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Larry Wimble Sent: Friday, December 31, 2010 8:11 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Base memory usage Jeremy Kister wrote: On 12/30/2010 9:59 PM, Larry Wimble wrote: I just installed asterisk 1.8.1.1 along with FreePBX on a fairly small VPS (512mb standard, 512mb burst). I note that the asterisk process is using about 209mb of memory just doing nothing (not configured to do anything yet) I'm running 1.8.1 rc1 + some patches (nothing to do with memory) and i'm at 42MB resident (73 virt/8shared) I've got just about everything turned on via menuselect, but then i have a bunch of modules turned off via modules.conf I doubt that's your issue, but if you're interested to see my modules.conf, it's temporarily at http://jeremy.kister.net/tmp/modules.conf Thanks a bunch guys! I pruned the modules loading and that did the job, although I found something interesting in doing so: Removing modules one by one seemed to have virtually no effect until I got to chan_iax2.so. Removing this module dropped memory consumption from 209mb to 16mb (looking at the RES column in the output of `top'). Once again, thanks for your suggestions ... Works like a charm! Kind Regards, Larry Here is a future timesaver - use this command to see what is eating the asterisk memory before you start removing stuff: Pmap -d `pgrep asterisk` This will run a pmap on the active asterisk process -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to initiate a two-party call from within Asterisk
On Mon, Nov 29, 2010 at 01:36:17PM -0600, Chris Gentle wrote: This is click-to-call. It can be done with the Asterisk Manager Interface (AMI). See this site: Thanks to you and Tilghman for this, though as it turned out it was much simpler to avoid AMI completely and use the Extension: parameter to an outgoing call file. Roger -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Base memory usage
On 12/31/2010 9:11 AM, Larry Wimble wrote: Removing modules one by one seemed to have virtually no effect until I got to chan_iax2.so. Removing this module dropped memory consumption from 209mb to 16mb (looking at the RES column in the output of `top'). Apparently, it's a known issue: https://issues.asterisk.org/view.php?id=18194 -- Jeremy Kister http://jeremy.kister.net./ -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users