If I change autoload=no then asterisk is starting, but post to that loading modules even chan_sip.so asterisk hangs. Its strange, only in OpenSuse I am facing this. In CentOS, Ubuntu its working fine, same Asterisk version with same hardware.<div>
<br></div><div>Regards.</div><div><br><br><div class="gmail_quote">On Tue, Aug 14, 2012 at 11:05 AM, Steve Edwards <span dir="ltr"><<a href="mailto:asterisk.org@sedwards.com" target="_blank">asterisk.org@sedwards.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, 14 Aug 2012, Gopalakrishnan N wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
while executing asterisk -vvvvc from the root prompt, its stuck as below and the CPU usage is fully utilized,<br>
</blockquote>
<br></div>
[snip]<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
== Parsing '/etc/asterisk/modules.conf': == Found<br>
[Aug 14 10:48:36] NOTICE[3805]: loader.c:1133 load_modules: 184 modules will be loaded.<br>
</blockquote>
<br></div>
I'm just a 1.2 Luddite, but I'll take a stab...<br>
<br>
I'm guessing you're autoloading everything. (My personal preference is to turn autoloading off and explicitly load just what I need.)<br>
<br>
Mung a directory listing of your modules so each module name is prefixed with 'noload'<br>
<br>
Paste this into you modules.conf.<br>
<br>
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.<br>
<br>
Continue this process (bi-section search) until you identify the errant module.<br>
<br>
You'll have to fiddle a bit as you discover module inter-dependencies.<br>
<br>
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.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Thanks in advance,<br>
------------------------------<u></u>------------------------------<u></u>-------------<br>
Steve Edwards <a href="mailto:sedwards@sedwards.com" target="_blank">sedwards@sedwards.com</a> Voice: +1-760-468-3867 PST<br>
Newline Fax: +1-760-731-3000</font></span><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>