[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  "lerto.chicco@t..." <lerto.chicco@t...>
 Subject :  Severe flood detected
 Date :  Thu, 15 Apr 2010 12:52:49 +0200 (CEST)
Hi,
I have downloaded and compiled Yate on a CentOS 5.4 dedicated server (3GHz Core2 Quad 4G RAM).

The routing is done with regex as:

.*=$(rotate,$index,sip/sip:@provider1,sip/sip:@provider2)

The log file shows some "severe flood detected" when there are more than 300 active calls.

In this situation the CPU is at 5%-6% and vmstat displays cpu with 95% idle:

procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
53  0      0 3412060  70476 486600    0    0     0     6 10225 88119  1  4 95  0  0


Before than "severe flood detected" appears in the log, it seems that yate is in a freezed state.

Can anyone help me to solve this problem?

Thanks,

Lerto Chicco





The log of yate is:


Yate (3997) is starting Thu Apr 15 12:04:28 2010
 Failed to open config file './conf.d/yate.conf', using defaults (2: No such file or directory)
Loaded module OpenSSL - based on OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
Loaded module MsgSniffer
Loaded module RegexRoute
Loaded module Conference
Loaded module ExtModule
Loaded module iLBC - based on iLBC library
Loaded module Call Generator
Loaded module MUX
Loaded module Call Forker
Loaded module WaveFile
Loaded module YSOCKS
Loaded module G.729a - based on Intel IPP
Loaded module PBX
Loaded module CdrBuild
Loaded module ToneDetector
Loaded module YSTUN
Loaded module ToneGen
Loaded module DumbChannel
Loaded module CdrFile
Loaded module MOH
Loaded module Analyzer
Loaded module YJingle
Loaded module RManager
Loaded module SIP Channel
Loaded module YIAX
Loaded module File Transfer
Loaded module YRTP
Loaded module Radius client
Loaded module Call Parking
Loaded module Queues Notify
Loaded module Cisco SM
Loaded module Sangoma TDM
Loaded module MGCP-GW
 Failed to open config file './conf.d/regfile.conf', using defaults (2: No such file or directory)
Loaded module Registration from file
 Failed to open config file './conf.d/dbpbx.conf', using defaults (2: No such file or directory)
Loaded module PBX for database
Loaded module CallCounters
Loaded module MySQL based on 5.0.77
Loaded module Late Router
Loaded module Queues
Loaded module MGCP-CA
Loaded module Wanpipe
 Failed to open config file './conf.d/register.conf', using defaults (2: No such file or directory)
Loaded module Register for database
Loaded module Signalling Channel
Loaded module SIP Features
Loaded module Analog Detector
Loaded module Heartbeat
Loaded module DbWave
Loaded module Clustering
 Failed to open config file './conf.d/accfile.conf', using defaults (2: No such file or directory)
Loaded module Accounts from file
Loaded module MRCP
Loaded module Analog Channel
Loaded module Jingle Features
Initializing plugins
Initializing module Clustering
 Failed to open config file './conf.d/clustering.conf', using defaults (2: No such file or directory)
Initializing module DbWave
Initializing module Analog Detector
Initializing module Wanpipe
 Failed to open config file './conf.d/wpcard.conf', using defaults (2: No such file or directory)
Initializing module MGCP Call Agent
 Failed to open config file './conf.d/mgcpca.conf', using defaults (2: No such file or directory)
Initializing module MySQL
 Failed to open config file './conf.d/mysqldb.conf', using defaults (2: No such file or directory)
Initializing module Sangoma TDM
 Failed to open config file './conf.d/tdmcard.conf', using defaults (2: No such file or directory)
 Failed to open config file './conf.d/tdmcard.conf', using defaults (2: No such file or directory)
 Failed to open Tdm device: driver might not be loaded 2: (No such file or directory)
Initializing module Cisco SM
 Failed to open config file './conf.d/ciscosm.conf', using defaults (2: No such file or directory)
Initializing module CdrFile
 Failed to open config file './conf.d/cdrfile.conf', using defaults (2: No such file or directory)
Initializing module YSOCKS
 Failed to open config file './conf.d/ysockschan.conf', using defaults (2: No such file or directory)
Initializing module MUX
 Failed to open config file './conf.d/mux.conf', using defaults (2: No such file or directory)
Initializing module OpenSSL
Initializing module MsgSniffer
Initializing module RegexRoute
Initializing module Conference
Initializing module ExtModule
 Failed to open config file './conf.d/extmodule.conf', using defaults (2: No such file or directory)
Initializing module Call Generator
Initializing module Call Forker
Initializing module WaveFile
Initializing module PBX
Initializing module CdrBuild
 Failed to open config file './conf.d/cdrbuild.conf', using defaults (2: No such file or directory)
Initializing module ToneDetector
Initializing module YSTUN
 Failed to open config file './conf.d/ystunchan.conf', using defaults (2: No such file or directory)
Initializing module ToneGen
Initializing module DumbChannel
DumbChannel initialized
Initializing module MOH
 Failed to open config file './conf.d/moh.conf', using defaults (2: No such file or directory)
Initializing module Analyzer
Initializing module YJingle
 Failed to open config file './conf.d/yjinglechan.conf', using defaults (2: No such file or directory)
 No default component server [0x8fa4378]
 Module initialized: localip= jingle_version=1 singletone=true pending_timeout=10000 anonymous_caller=unk_caller codecs=mulaw,alaw,slin,g729,ilbc20,ilbc30
 Failed to open config file './conf.d/enumroute.conf', using defaults (2: No such file or directory)
Initializing module RManager
 Failed to open config file './conf.d/rmanager.conf', using defaults (2: No such file or directory)
Initializing module SIP Channel
 Failed to open config file './conf.d/ysipchan.conf', using defaults (2: No such file or directory)
 Started on 0.0.0.0:5060, max 1500 bytes
Initializing module YIAX
 Failed to open config file './conf.d/yiaxchan.conf', using defaults (2: No such file or directory)
Initializing module File Transfer
 Failed to open config file './conf.d/filetransfer.conf', using defaults (2: No such file or directory)
Initializing module YRTP
 Failed to open config file './conf.d/yrtpchan.conf', using defaults (2: No such file or directory)
Initializing module Radius client
 Failed to open config file './conf.d/yradius.conf', using defaults (2: No such file or directory)
 Local address not set or invalid. Radius functions disabled
Initializing module Call Parking
Initializing module Queues Notify
 Failed to open config file './conf.d/queuesnotify.conf', using defaults (2: No such file or directory)
Initializing module MGCP Gateway
 Failed to open config file './conf.d/mgcpgw.conf', using defaults (2: No such file or directory)
Initializing module Register for file
 Failed to open config file './conf.d/regfile.conf', using defaults (2: No such file or directory)
Initializing module PBX for database
 Failed to open config file './conf.d/dbpbx.conf', using defaults (2: No such file or directory)
 Failed to open config file './conf.d/callcounters.conf', using defaults (2: No such file or directory)
Initializing module Late Router
 Failed to open config file './conf.d/lateroute.conf', using defaults (2: No such file or directory)
Initializing module Queues for database
 Failed to open config file './conf.d/queues.conf', using defaults (2: No such file or directory)
Initializing module Register for database
Initializing module Signalling Channel
 Failed to open config file './conf.d/ysigchan.conf', using defaults (2: No such file or directory)
Initializing module SIP Features
 Failed to open config file './conf.d/sipfeatures.conf', using defaults (2: No such file or directory)
 Failed to open config file './conf.d/heartbeat.conf', using defaults (2: No such file or directory)
Initializing module Accounts from file
 Failed to open config file './conf.d/accfile.conf', using defaults (2: No such file or directory)
Initializing module MrcpSpeech
Initializing module Analog Channel
 Failed to open config file './conf.d/analog.conf', using defaults (2: No such file or directory)
 Failed to open config file './conf.d/pbxassist.conf', using defaults (2: No such file or directory)
Initializing module Jingle Features
 Failed to open config file './conf.d/jinglefeatures.conf', using defaults (2: No such file or directory)
 Failed to open config file './conf.d/jinglefeatures.conf', using defaults (2: No such file or directory)
Initialization complete
Yate engine is initialized and starting up on localhost.localdomain
 Flood detected: 20 handled events
 Severe flood detected: 40 events
 Severe flood detected: 60 events
 Severe flood detected: 80 events
 Severe flood detected: 100 events
 Severe flood detected: 120 events
 Severe flood detected: 140 events
 Severe flood detected: 160 events
 Severe flood detected: 180 events
 Severe flood detected: 200 events
 Severe flood detected: 220 events
 Severe flood detected: 240 events
 Flood detected: 20 handled events
 Severe flood detected: 40 events
 Severe flood detected: 60 events
 Flood detected: 20 handled events
 Flood detected: 20 handled events
 Flood detected: 20 handled events
 Flood detected: 20 handled events
 Flood detected: 20 handled events
 Flood detected: 20 handled events
 Flood detected: 20 handled events
 Flood detected: 20 handled events
 Severe flood detected: 40 events
 Severe flood detected: 60 events
 Severe flood detected: 80 events
 Severe flood detected: 100 events
 Severe flood detected: 120 events
 Severe flood detected: 140 events
 Severe flood detected: 160 events
 Severe flood detected: 180 events
 Severe flood detected: 200 events
 Severe flood detected: 220 events
 RTP received SEQ 1175 while current is 974 [0xb7e2ca28]
 Flood detected: 20 handled events
 RTP sequence resync: 974 -> 1185 [0xb7e2ca28]
 Flood detected: 20 handled events
 Severe flood detected: 40 events
 Severe flood detected: 60 events
 Flood detected: 20 handled events
 Severe flood detected: 40 events
 Severe flood detected: 60 events
 Flood detected: 20 handled events



Presentaci un amico! Invita i tuoi amici a scoprire i servizi Tiscali: per ogni amico che attiverà un servizio Tiscali, potrai avere 30 euro di sconto e lo stesso sconto di 30 euro verrà poi offerto al tuo amico. 
Scopri come! http://abbonati.tiscali.it/presentaci_un_amico/?WT.mc_id=01fw





Hi,
I have downloaded and compiled Yate on a CentOS 5.4 dedicated server (3GHz Core2 Quad 4G RAM).

The routing is done with regex as:

.*=$(rotate,$index,sip/sip:@provider1,sip/sip:@provider2)

The log file shows some "severe flood detected" when there are more than 300 active calls.

In this situation the CPU is at 5%-6% and vmstat displays cpu with 95% idle:

procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
53  0      0 3412060  70476 486600    0    0     0     6 10225 88119  1  4 95  0  0


Before than "severe flood detected" appears in the log, it seems that yate is in a freezed state.

Can anyone help me to solve this problem?

Thanks,

Lerto Chicco





The log of yate is:


Yate (3997) is starting Thu Apr 15 12:04:28 2010
<NOTE> Failed to open config file './conf.d/yate.conf', using defaults (2: No such file or directory)
Loaded module OpenSSL - based on OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
Loaded module MsgSniffer
Loaded module RegexRoute
Loaded module Conference
Loaded module ExtModule
Loaded module iLBC - based on iLBC library
Loaded module Call Generator
Loaded module MUX
Loaded module Call Forker
Loaded module WaveFile
Loaded module YSOCKS
Loaded module G.729a - based on Intel IPP
Loaded module PBX
Loaded module CdrBuild
Loaded module ToneDetector
Loaded module YSTUN
Loaded module ToneGen
Loaded module DumbChannel
Loaded module CdrFile
Loaded module MOH
Loaded module Analyzer
Loaded module YJingle
Loaded module RManager
Loaded module SIP Channel
Loaded module YIAX
Loaded module File Transfer
Loaded module YRTP
Loaded module Radius client
Loaded module Call Parking
Loaded module Queues Notify
Loaded module Cisco SM
Loaded module Sangoma TDM
Loaded module MGCP-GW
<NOTE> Failed to open config file './conf.d/regfile.conf', using defaults (2: No such file or directory)
Loaded module Registration from file
<NOTE> Failed to open config file './conf.d/dbpbx.conf', using defaults (2: No such file or directory)
Loaded module PBX for database
Loaded module CallCounters
Loaded module MySQL based on 5.0.77
Loaded module Late Router
Loaded module Queues
Loaded module MGCP-CA
Loaded module Wanpipe
<NOTE> Failed to open config file './conf.d/register.conf', using defaults (2: No such file or directory)
Loaded module Register for database
Loaded module Signalling Channel
Loaded module SIP Features
Loaded module Analog Detector
Loaded module Heartbeat
Loaded module DbWave
Loaded module Clustering
<NOTE> Failed to open config file './conf.d/accfile.conf', using defaults (2: No such file or directory)
Loaded module Accounts from file
Loaded module MRCP
Loaded module Analog Channel
Loaded module Jingle Features
Initializing plugins
Initializing module Clustering
<NOTE> Failed to open config file './conf.d/clustering.conf', using defaults (2: No such file or directory)
Initializing module DbWave
Initializing module Analog Detector
Initializing module Wanpipe
<NOTE> Failed to open config file './conf.d/wpcard.conf', using defaults (2: No such file or directory)
Initializing module MGCP Call Agent
<NOTE> Failed to open config file './conf.d/mgcpca.conf', using defaults (2: No such file or directory)
Initializing module MySQL
<NOTE> Failed to open config file './conf.d/mysqldb.conf', using defaults (2: No such file or directory)
Initializing module Sangoma TDM
<NOTE> Failed to open config file './conf.d/tdmcard.conf', using defaults (2: No such file or directory)
<NOTE> Failed to open config file './conf.d/tdmcard.conf', using defaults (2: No such file or directory)
<Tdm:NOTE> Failed to open Tdm device: driver might not be loaded 2: (No such file or directory)
Initializing module Cisco SM
<NOTE> Failed to open config file './conf.d/ciscosm.conf', using defaults (2: No such file or directory)
Initializing module CdrFile
<NOTE> Failed to open config file './conf.d/cdrfile.conf', using defaults (2: No such file or directory)
Initializing module YSOCKS
<NOTE> Failed to open config file './conf.d/ysockschan.conf', using defaults (2: No such file or directory)
Initializing module MUX
<NOTE> Failed to open config file './conf.d/mux.conf', using defaults (2: No such file or directory)
Initializing module OpenSSL
Initializing module MsgSniffer
Initializing module RegexRoute
Initializing module Conference
Initializing module ExtModule
<NOTE> Failed to open config file './conf.d/extmodule.conf', using defaults (2: No such file or directory)
Initializing module Call Generator
Initializing module Call Forker
Initializing module WaveFile
Initializing module PBX
Initializing module CdrBuild
<NOTE> Failed to open config file './conf.d/cdrbuild.conf', using defaults (2: No such file or directory)
Initializing module ToneDetector
Initializing module YSTUN
<NOTE> Failed to open config file './conf.d/ystunchan.conf', using defaults (2: No such file or directory)
Initializing module ToneGen
Initializing module DumbChannel
DumbChannel initialized
Initializing module MOH
<NOTE> Failed to open config file './conf.d/moh.conf', using defaults (2: No such file or directory)
Initializing module Analyzer
Initializing module YJingle
<NOTE> Failed to open config file './conf.d/yjinglechan.conf', using defaults (2: No such file or directory)
<jbengine:NOTE> No default component server [0x8fa4378]
<jingle:NOTE> Module initialized: localip= jingle_version=1 singletone=true pending_timeout=10000 anonymous_caller=unk_caller codecs=mulaw,alaw,slin,g729,ilbc20,ilbc30
<NOTE> Failed to open config file './conf.d/enumroute.conf', using defaults (2: No such file or directory)
Initializing module RManager
<NOTE> Failed to open config file './conf.d/rmanager.conf', using defaults (2: No such file or directory)
Initializing module SIP Channel
<NOTE> Failed to open config file './conf.d/ysipchan.conf', using defaults (2: No such file or directory)
<sip:CALL> Started on 0.0.0.0:5060, max 1500 bytes
Initializing module YIAX
<NOTE> Failed to open config file './conf.d/yiaxchan.conf', using defaults (2: No such file or directory)
Initializing module File Transfer
<NOTE> Failed to open config file './conf.d/filetransfer.conf', using defaults (2: No such file or directory)
Initializing module YRTP
<NOTE> Failed to open config file './conf.d/yrtpchan.conf', using defaults (2: No such file or directory)
Initializing module Radius client
<NOTE> Failed to open config file './conf.d/yradius.conf', using defaults (2: No such file or directory)
<yradius:NOTE> Local address not set or invalid. Radius functions disabled
Initializing module Call Parking
Initializing module Queues Notify
<NOTE> Failed to open config file './conf.d/queuesnotify.conf', using defaults (2: No such file or directory)
Initializing module MGCP Gateway
<NOTE> Failed to open config file './conf.d/mgcpgw.conf', using defaults (2: No such file or directory)
Initializing module Register for file
<NOTE> Failed to open config file './conf.d/regfile.conf', using defaults (2: No such file or directory)
Initializing module PBX for database
<NOTE> Failed to open config file './conf.d/dbpbx.conf', using defaults (2: No such file or directory)
<NOTE> Failed to open config file './conf.d/callcounters.conf', using defaults (2: No such file or directory)
Initializing module Late Router
<NOTE> Failed to open config file './conf.d/lateroute.conf', using defaults (2: No such file or directory)
Initializing module Queues for database
<NOTE> Failed to open config file './conf.d/queues.conf', using defaults (2: No such file or directory)
Initializing module Register for database
Initializing module Signalling Channel
<NOTE> Failed to open config file './conf.d/ysigchan.conf', using defaults (2: No such file or directory)
Initializing module SIP Features
<NOTE> Failed to open config file './conf.d/sipfeatures.conf', using defaults (2: No such file or directory)
<NOTE> Failed to open config file './conf.d/heartbeat.conf', using defaults (2: No such file or directory)
Initializing module Accounts from file
<NOTE> Failed to open config file './conf.d/accfile.conf', using defaults (2: No such file or directory)
Initializing module MrcpSpeech
Initializing module Analog Channel
<NOTE> Failed to open config file './conf.d/analog.conf', using defaults (2: No such file or directory)
<NOTE> Failed to open config file './conf.d/pbxassist.conf', using defaults (2: No such file or directory)
Initializing module Jingle Features
<NOTE> Failed to open config file './conf.d/jinglefeatures.conf', using defaults (2: No such file or directory)
<NOTE> Failed to open config file './conf.d/jinglefeatures.conf', using defaults (2: No such file or directory)
Initialization complete
Yate engine is initialized and starting up on localhost.localdomain
<sip:MILD> Flood detected: 20 handled events
<sip:WARN> Severe flood detected: 40 events
<sip:WARN> Severe flood detected: 60 events
<sip:WARN> Severe flood detected: 80 events
<sip:WARN> Severe flood detected: 100 events
<sip:WARN> Severe flood detected: 120 events
<sip:WARN> Severe flood detected: 140 events
<sip:WARN> Severe flood detected: 160 events
<sip:WARN> Severe flood detected: 180 events
<sip:WARN> Severe flood detected: 200 events
<sip:WARN> Severe flood detected: 220 events
<sip:WARN> Severe flood detected: 240 events
<sip:MILD> Flood detected: 20 handled events
<sip:WARN> Severe flood detected: 40 events
<sip:WARN> Severe flood detected: 60 events
<sip:MILD> Flood detected: 20 handled events
<sip:MILD> Flood detected: 20 handled events
<sip:MILD> Flood detected: 20 handled events
<sip:MILD> Flood detected: 20 handled events
<sip:MILD> Flood detected: 20 handled events
<sip:MILD> Flood detected: 20 handled events
<sip:MILD> Flood detected: 20 handled events
<sip:MILD> Flood detected: 20 handled events
<sip:WARN> Severe flood detected: 40 events
<sip:WARN> Severe flood detected: 60 events
<sip:WARN> Severe flood detected: 80 events
<sip:WARN> Severe flood detected: 100 events
<sip:WARN> Severe flood detected: 120 events
<sip:WARN> Severe flood detected: 140 events
<sip:WARN> Severe flood detected: 160 events
<sip:WARN> Severe flood detected: 180 events
<sip:WARN> Severe flood detected: 200 events
<sip:WARN> Severe flood detected: 220 events
<WARN> RTP received SEQ 1175 while current is 974 [0xb7e2ca28]
<sip:MILD> Flood detected: 20 handled events
<NOTE> RTP sequence resync: 974 -> 1185 [0xb7e2ca28]
<sip:MILD> Flood detected: 20 handled events
<sip:WARN> Severe flood detected: 40 events
<sip:WARN> Severe flood detected: 60 events
<sip:MILD> Flood detected: 20 handled events
<sip:WARN> Severe flood detected: 40 events
<sip:WARN> Severe flood detected: 60 events
<sip:MILD> Flood detected: 20 handled events



Presentaci un amico! Invita i tuoi amici a scoprire i servizi Tiscali: per ogni amico che attiverà un servizio Tiscali, potrai avere 30 euro di sconto e lo stesso sconto di 30 euro verrà poi offerto al tuo amico.
Scopri come! http://abbonati.tiscali.it/presentaci_un_amico/?WT.mc_id=01fw