No FreeBSD, fiz um projeto pequeno, apesar de aqui na Empresa no Geral 90% dos nossos servidores são FreeBSD, 9% Linux e 1% Windows.<br><br>No FreeBSD nunca precisei de uma Carga relativa com o Asterisk, então não vou pode opinar sobre sua instalação e uma solução para o mesmo.<br>
<br>Uma vez eu tive um problema parecido, e jogava a carga sobre apenas um nucleo, estava rodando Asterisk + Postgresql e um momento da Ligação o bixo pegava e um core chegar a 100% e outros 0%, o problema era uma consulta ao Banco que eu fazia no DialPlan e o retorno demorava (SQL mal feito). Depois que corrigi o select o problema foi solucionado.<br>
<br>Quanta ligações simutaneas você precisa colocar para dar o dico em sua maquina?<br><br>Quem sabe o Asterisk até está multcore mas em algum momento o que está elevando o seu processo ao maximo é apenas um chamada ao processador, por tal motivo os outro nucleo aparentam não rodar outras instancias do Asterisk.<br>
<br><div class="gmail_quote">2011/9/29 Levier - Rogerio Pellarin Barbeiro <span dir="ltr"><<a href="mailto:rogerio@levier.com.br">rogerio@levier.com.br</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Caro Daviramos<br>
<br>
<br>
Freebsd 7.3<br>
Asterisk 1.4<br>
<br>
os módulos são:<br>
res_config_pgsql.so PostgreSQL RealTime Configuration Driver 0<br>
cdr_pgsql.so PostgreSQL CDR Backend 0<br>
func_strings.so String handling dialplan functions 0<br>
res_musiconhold.so Music On Hold Resource 0<br>
res_crypto.so Cryptographic Digital Signatures 0<br>
res_features.so Call Features Resource 0<br>
res_indications.so Indications Resource 0<br>
res_jabber.so AJI - Asterisk Jabber Interface 0<br>
res_monitor.so Call Monitoring Resource 0<br>
res_smdi.so Simplified Message Desk Interface (SMDI) 0<br>
res_snmp.so SNMP [Sub]Agent for Asterisk 0<br>
res_speech.so Generic Speech Recognition API 0<br>
res_adsi.so ADSI Resource 0<br>
res_agi.so Asterisk Gateway Interface (AGI) 0<br>
codec_g729.so g729 Coder/Decoder, based on IPP 0<br>
codec_g723.so g723 Coder/Decoder, based on IPP 0<br>
res_clioriginate.so Call origination from the CLI 0<br>
res_convert.so File format conversion CLI command 0<br>
chan_agent.so Agent Proxy Channel 0<br>
chan_gtalk.so Gtalk Channel Driver 0<br>
chan_iax2.so Inter Asterisk eXchange (Ver 2) 0<br>
chan_local.so Local Proxy Channel (Note: used internal 0<br>
chan_zap.so Zapata Telephony 0<br>
pbx_config.so Text Extension Configuration 0<br>
chan_mgcp.so Media Gateway Control Protocol (MGCP) 0<br>
chan_oss.so OSS Console Channel Driver 0<br>
chan_sip.so Session Initiation Protocol (SIP) 634<br>
chan_skinny.so Skinny Client Control Protocol (Skinny) 0<br>
pbx_dundi.so Distributed Universal Number Discovery ( 0<br>
pbx_loopback.so Loopback Switch 0<br>
pbx_realtime.so Realtime Switch 0<br>
pbx_spool.so Outgoing Spool Support 0<br>
app_adsiprog.so Asterisk ADSI Programming Application 0<br>
app_alarmreceiver.so Alarm Receiver for Asterisk 0<br>
app_amd.so Answering Machine Detection Application 0<br>
app_authenticate.so Authentication Application 0<br>
app_cdr.so Tell Asterisk to not maintain a CDR for 0<br>
app_chanisavail.so Check channel availability 0<br>
app_channelredirect.so Channel Redirect 0<br>
app_chanspy.so Listen to the audio of an active channel 0<br>
app_controlplayback.so Control Playback Application 0<br>
app_db.so Database Access Functions 0<br>
app_dial.so Dialing Application 0<br>
app_dictate.so Virtual Dictation Machine 0<br>
app_directed_pickup.so Directed Call Pickup Application 0<br>
app_directory.so Extension Directory 0<br>
app_disa.so DISA (Direct Inward System Access) Appli 0<br>
app_dumpchan.so Dump Info About The Calling Channel 0<br>
app_echo.so Simple Echo Application 0<br>
app_exec.so Executes dialplan applications 0<br>
app_externalivr.so External IVR Interface Application 0<br>
app_flash.so Flash channel application 0<br>
app_followme.so Find-Me/Follow-Me Application 0<br>
app_forkcdr.so Fork The CDR into 2 separate entities 0<br>
app_getcpeid.so Get ADSI CPE ID 0<br>
app_hasnewvoicemail.so Indicator for whether a voice mailbox ha 0<br>
app_ices.so Encode and Stream via icecast and ices 0<br>
app_image.so Image Transmission Application 0<br>
app_lookupblacklist.so Look up Caller*ID name/number from black 0<br>
app_lookupcidname.so Look up CallerID Name from local databas 0<br>
app_macro.so Extension Macros 0<br>
app_meetme.so MeetMe conference bridge 0<br>
app_milliwatt.so Digital Milliwatt (mu-law) Test Applicat 0<br>
app_mixmonitor.so Mixed Audio Monitoring Application 0<br>
app_morsecode.so Morse code 0<br>
app_mp3.so Silly MP3 Application 0<br>
app_nbscat.so Silly NBS Stream Application 0<br>
app_page.so Page Multiple Phones 0<br>
app_parkandannounce.so Call Parking and Announce Application 0<br>
app_playback.so Sound File Playback Application 0<br>
app_privacy.so Require phone number to be entered, if n 0<br>
app_queue.so True Call Queueing 0<br>
app_random.so Random goto 0<br>
app_read.so Read Variable Application 0<br>
app_readfile.so Stores output of file into a variable 0<br>
app_realtime.so Realtime Data Lookup/Rewrite 0<br>
app_record.so Trivial Record Application 0<br>
app_sayunixtime.so Say time 0<br>
app_senddtmf.so Send DTMF digits Application 0<br>
app_sendtext.so Send Text Applications 0<br>
app_setcallerid.so Set CallerID Application 0<br>
app_setcdruserfield.so CDR user field apps 0<br>
app_sms.so SMS/PSTN handler 0<br>
app_settransfercapability.so Set ISDN Transfer Capability 0<br>
app_softhangup.so Hangs up the requested channel 0<br>
app_speech_utils.so Dialplan Speech Applications 0<br>
app_stack.so Stack Routines 0<br>
app_system.so Generic System() application 0<br>
app_talkdetect.so Playback with Talk Detection 0<br>
app_test.so Interface Test Application 0<br>
app_transfer.so Transfer 0<br>
app_url.so Send URL Applications 0<br>
app_userevent.so Custom User Event Application 0<br>
app_verbose.so Send verbose output 0<br>
app_voicemail.so Comedian Mail (Voicemail System) 0<br>
app_waitforring.so Waits until first ring after time 0<br>
app_waitforsilence.so Wait For Silence 0<br>
app_while.so While Loops and Conditional Execution 0<br>
app_zapateller.so Block Telemarketers with Special Informa 0<br>
app_zapbarge.so Barge in on Zap channel application 0<br>
codec_zap.so Generic Zaptel Transcoder Codec Translat 0<br>
app_zapras.so Zap RAS Application 0<br>
app_zapscan.so Scan Zap channels application 0<br>
codec_a_mu.so A-law and Mulaw direct Coder/Decoder 0<br>
codec_adpcm.so Adaptive Differential PCM Coder/Decoder 0<br>
codec_alaw.so A-law Coder/Decoder 0<br>
codec_g726.so ITU G.726-32kbps G726 Transcoder 0<br>
codec_gsm.so GSM Coder/Decoder 0<br>
codec_ilbc.so iLBC Coder/Decoder 0<br>
codec_lpc10.so LPC10 2.4kbps Coder/Decoder 0<br>
codec_speex.so Speex Coder/Decoder 0<br>
codec_ulaw.so mu-Law Coder/Decoder 0<br>
format_g723.so G.723.1 Simple Timestamp File Format 0<br>
format_g726.so Raw G.726 (16/24/32/40kbps) data 0<br>
format_g729.so Raw G729 data 0<br>
format_gsm.so Raw GSM data 0<br>
format_h263.so Raw H.263 data 0<br>
format_h264.so Raw H.264 data 0<br>
format_ilbc.so Raw iLBC data 0<br>
format_jpeg.so JPEG (Joint Picture Experts Group) Image 0<br>
format_ogg_vorbis.so OGG/Vorbis audio 0<br>
format_pcm.so Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G. 0<br>
format_sln.so Raw Signed Linear Audio support (SLN) 0<br>
format_vox.so Dialogic VOX (ADPCM) File Format 0<br>
format_wav.so Microsoft WAV format (8000Hz Signed Line 0<br>
format_wav_gsm.so Microsoft WAV format (Proprietary GSM) 0<br>
cdr_csv.so Comma Separated Values CDR Backend 0<br>
cdr_custom.so Customizable Comma Separated Values CDR 0<br>
cdr_manager.so Asterisk Manager Interface CDR Backend 0<br>
func_base64.so base64 encode/decode dialplan functions 0<br>
func_callerid.so Caller ID related dialplan function 0<br>
func_cdr.so CDR dialplan function 0<br>
func_channel.so Channel information dialplan function 0<br>
func_curl.so Load external URL 0<br>
func_cut.so Cut out information from a string 0<br>
func_db.so Database (astdb) related dialplan functi 0<br>
func_enum.so ENUM related dialplan functions 0<br>
func_env.so Environment/filesystem dialplan function 0<br>
func_global.so Global variable dialplan functions 0<br>
func_groupcount.so Channel group dialplan functions 0<br>
func_language.so Channel language dialplan function 0<br>
func_logic.so Logical dialplan functions 0<br>
func_math.so Mathematical dialplan function 0<br>
func_md5.so MD5 digest dialplan functions 0<br>
func_moh.so Music-on-hold dialplan function 0<br>
func_rand.so Random number dialplan function 0<br>
func_realtime.so Read/Write values from a RealTime reposi 0<br>
func_sha1.so SHA-1 computation dialplan function 0<br>
func_timeout.so Channel timeout dialplan functions 0<br>
func_uri.so URI encode/decode dialplan functions 0<br>
chan_oh323.so H.323 Protocol (OH323) 0<br>
151 modules loaded<br>
<br>
<br>
Vale lembrar que os módulos estão em multicore, mas o próprio asterisk não.<br>
<br>
Valeu mais uma vez pela força.<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.<br>
- Hardware com alta disponibilidade de recursos e qualidade KHOMP<br>
- Suporte técnico local qualificado e gratuito<br>
Conheça a linha completa de produtos KHOMP em <a href="http://www.khomp.com.br" target="_blank">www.khomp.com.br</a><br>
_______________________________________________<br>
DIGIVOICE: Lider no mercado de placas para Asterisk<br>
Único fabricante com Centro de Treinamento especializado.<br>
LANÇAMENTO: Channel Bank TDMoE, até 64 canais FXS / FXO.<br>
<a href="http://www.digivoice.com.br" target="_blank">www.digivoice.com.br</a> ou (11)3016-5200.<br>
________<br>
GATEWAY GSM-SIP, gateway Lyric VoIP com 2,4 e 6 canais GSM vía tronco SIP<br>
Escalável até 240 canáis, Portabilidade Numérica, Balanceamento de Carga, Bilhetagem<br>
Confira em <a href="http://www.yx.cl/landing/brasil/lyric_voip_asterisk.org" target="_blank">http://www.yx.cl/landing/brasil/lyric_voip_asterisk.org</a><br>
Shop Voip, representante exclusivo: <a href="http://www.shopvoip.com.br" target="_blank">www.shopvoip.com.br</a> ou 0800-6021244<br>
______________________________________________<br>
Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Atenciosamente<br>Daviramos Roussenq Fortunato<br>