-----Original Message----- From: [email protected] [mailto:[email protected]] 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
