[Asterisk-Users] FreeBSD 100% cpu

Jan Baggen jbaggen at ip2.nl
Tue Sep 21 05:20:11 MST 2004


Compiled Asterisk from FreeBSD port (0.9.0_2) 
When I start asterisk it uses 100% cpu. Searches on Google
say to comment the noload => chan_oss.so in modules.conf
But this is already commented. Make.conf contains some 
optimizations. 

modules.conf:
; Asterisk configuration file
;
; Module Loader configuration file
;

[modules]
autoload=yes
;
; If you want, load the GTK console right away.
; Don't load the KDE console since
; it's not as sophisticated right now.
;
noload => pbx_gtkconsole.so
;load => pbx_gtkconsole.so
noload => pbx_kdeconsole.so
;
; Intercom application is obsoleted by
; chan_oss.  Don't load it.
;
noload => app_intercom.so
;
; Explicitly load the chan_modem.so early on to be sure
; it loads before any of the chan_modem_* 's afte rit
;
load => chan_modem.so
load => res_musiconhold.so
;
; Load either OSS or ALSA, not both
; By default, load OSS only (automatically) and do not load ALSA
;
noload => chan_alsa.so
;noload => chan_oss.so
;
; Module names listed in "global" section will have symbols globally
; exported to modules loaded after them.
;
[global]
chan_modem.so=yes


/etc/make.conf
CPUTYPE=i686
CFLAGS= -O2 -pipe -funroll-loops


---
Jan Baggen - jbaggen at ip2.nl
IP2 Internet BV / http://www.ip2.nl  




More information about the asterisk-users mailing list