mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 14:27:14 +00:00
print a warning instructing the user to disable storesipcause if we process 100
or more scheduler entries at a time AST-580 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@332234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -25145,6 +25145,8 @@ static void *do_monitor(void *data)
|
||||
res = ast_sched_runq(sched);
|
||||
if (res >= 20)
|
||||
ast_debug(1, "chan_sip: ast_sched_runq ran %d all at once\n", res);
|
||||
if (global_store_sip_cause && res >= 100)
|
||||
ast_log(LOG_WARNING, "scheduler delays detected, setting 'storesipcause' to 'no' in %s will improve performance\n", config);
|
||||
ast_mutex_unlock(&monlock);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user