I have a Asterisk 22.8.2 machine that when I do a dialplan reload via AMI it gives me these errors:
[Apr 16 08:54:21] WARNING[2898] logger: Log queue threshold (1000) exceeded. Discarding new messages.
[Apr 16 08:54:21] WARNING[1347] logger: Logging resumed. 165 messages discarded.
It’s always the same two numbers, 1000 and 165. Doesn’t seem to grow with additional contexts.
jcolp
2
Those are warnings, not errors. The reload operation generated a ton of log messages faster than the thread that handles them could deal with them.
If I have dialplan errors at reload will the messages about them be dropped by the logging thread when this occurs?
jcolp
4
It looks like yes. We should probably limit that more so that errors and warnings get through. Create a feature on the issue tracker[1].
[1] Issues · asterisk/asterisk · GitHub
was the default changed lately ?
what is the max tried to set 99999 but did allow set to default even at 9999 got
Log queue threshold (9999) exceeded.
was trying to debug a issue
jcolp
6
For the logger? It hasn’t been touched in years, upon years, upon years.
Logger queue limit can be set:
do you have an idea what the maximum is ?
jcolp
9
I pulled up the code. There is no enforced maximum, so it would depend on memory.