[asterisk-users] Asterisk hangs while starting in OpenSuse 12.2
Steve Edwards
asterisk.org at sedwards.com
Tue Aug 14 00:35:05 CDT 2012
On Tue, 14 Aug 2012, Gopalakrishnan N wrote:
> while executing asterisk -vvvvc from the root prompt, its stuck as below
> and the CPU usage is fully utilized,
[snip]
> == Parsing '/etc/asterisk/modules.conf': == Found
> [Aug 14 10:48:36] NOTICE[3805]: loader.c:1133 load_modules: 184 modules will be loaded.
I'm just a 1.2 Luddite, but I'll take a stab...
I'm guessing you're autoloading everything. (My personal preference is to
turn autoloading off and explicitly load just what I need.)
Mung a directory listing of your modules so each module name is prefixed
with 'noload'
Paste this into you modules.conf.
Comment out the first half of the 'noloads.' If Asterisk still hangs, the
problem is somewhere in the second half. If not, un-comment the ones you
just commented and comment out the second half.
Continue this process (bi-section search) until you identify the errant
module.
You'll have to fiddle a bit as you discover module inter-dependencies.
You could probably make some educated guesses and start with modules that
touch hardware like dahdi or any timing cruft, but the above process will
work -- even after a couple of beers.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-users
mailing list