Hello,
these are my settings in asterisk.conf :
;maxcalls = 10 ; Maximum amount of calls allowed
;maxload = 0.9 ; Asterisk stops accepting new calls if the load average
exceed this limit
;maxfiles = 1000 ; Maximum amount of openfiles
;minmemfree = 1 ; in MBs, Asterisk stops accepting new calls if the
amount of free memory falls below this watermark
So I don't think that asterisk restarts/reloads because of the above
settings ?!
Jonas.
On 09/15/2010 10:36 AM, Jonas Kellens wrote:
The reboot occured a 10:11:11, this my debug log :
...
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'NoOp'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Function result is '252227026'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Set'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Macro'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL:
data=Connect connid localhost username passwd Asterisk
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: setting
var 'connid' to value '1'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL:
data=Query resultid 1 SELECT klantID, vakantieID, feestdagID,
kantoorurenID, routeID, Accountco
deIN, backupID from DID where DID=252482233
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: setting
var 'resultid' to value '2'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL:
data=Fetch fetchid 2 klantID vakantieID feestdagenID kantoorurenID
routeID AccountcodeIN BACKUP
ID
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: ast_MYSQL_fetch:
numFields=7
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: setting
var 'fetchid' to value '1'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'NoOp'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: NoOp
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: data=Clear 2
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL:
data=Disconnect 1
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MacroExit'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Macro'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL:
data=Connect connid localhost username passwd Asterisk
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: setting
var 'connid' to value '1'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL:
data=Query resultid 1 SELECT KNUMMER , vmcontext , accountcode_out ,
hostedformule , mohclass F
ROM AstDB where klantID=50
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: setting
var 'resultid' to value '2'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL:
data=Fetch fetchid 2 KNUMMER VMCONTEXT ACCOUT FORMULE MOHCLASS
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: ast_MYSQL_fetch:
numFields=5
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: setting
var 'fetchid' to value '1'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'NoOp'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: NoOp
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: data=Clear 2
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL:
data=Disconnect 1
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MacroExit'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Set'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'SetMusicOnHold'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Set'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Macro'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'NoOp'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: NoOp
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Goto'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: GoTo
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Set'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: Set
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MacroExit'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Function result is '50'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'NoOp'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Function result is '1'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'NoOp'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Function result is '1'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Expression result is '0'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Not taking any branch
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Return'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Goto'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'NoOp'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Set'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Function result is '"252471126"
<252471126>'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Set'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Goto'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'Macro'
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL:
data=Connect connid localhost username passwd Asterisk
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL: setting
var 'connid' to value '1'
[Sep 15 10:11:11] DEBUG[12353] app_macro.c: Executed application: MYSQL
[Sep 15 10:11:11] DEBUG[12353] pbx.c: Launching 'MYSQL'
[Sep 15 10:11:11] DEBUG[12353] app_addon_sql_mysql.c: MYSQL:
data=Query resultid 1 SELECT ast1 , ast2 , na , naID FROM vakantiedata
where ID=58
[Sep 15 10:11:22] DEBUG[12362] xmldoc.c: Cannot find variable
'IAXPEER' in tree 'description'
[Sep 15 10:11:22] DEBUG[12362] xmldoc.c: Cannot find variable 'IAXVAR'
in tree 'description'
[Sep 15 10:11:22] DEBUG[12362] xmldoc.c: Cannot find variable 'AGENT'
in tree 'description'
[Sep 15 10:11:23] DEBUG[12362] xmldoc.c: Cannot find variable
'SIPPEER' in tree 'description'
[Sep 15 10:11:23] DEBUG[12362] xmldoc.c: Cannot find variable
'SIPCHANINFO' in tree 'description'
[Sep 15 10:11:37] DEBUG[12434] xmldoc.c: Cannot find variable
'IAXPEER' in tree 'description'
[Sep 15 10:11:37] DEBUG[12434] xmldoc.c: Cannot find variable 'IAXVAR'
in tree 'description'
[Sep 15 10:11:37] DEBUG[12434] xmldoc.c: Cannot find variable 'AGENT'
in tree 'description'
[Sep 15 10:11:37] DEBUG[12434] xmldoc.c: Cannot find variable
'SIPPEER' in tree 'description'
[Sep 15 10:11:37] DEBUG[12434] xmldoc.c: Cannot find variable
'SIPCHANINFO' in tree 'description'
[Sep 15 10:15:47] DEBUG[12773] xmldoc.c: Cannot find variable
'IAXPEER' in tree 'description'
...
Do you guys see anything abnormal ?!
Thank you.
Kind regards,
Jonas.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users