Summary:ASTERISK-02408: [request] auto limit IAX2 trunked calls or autoincrease the value to avoid flooding warning messages.
Reporter:zoa (zoa)Labels:
Date Opened:2004-09-15 03:43:13Date Closed:2011-06-07 14:10:14
Versions:Frequency of
Description:On high load servers, when the CLI starts flooding messages, the other end will get timeout for sure.

There should probably be a limit on the calls going through one trunk, or the trunk_max_data_size should auto increase.


Just an example, if you do too many simultaneous trunked calls, suddenly the CLI will start flooding with:

Sep 15 11:38:12 WARNING[348499]: chan_iax2.c:2919 iax2_trunk_queue: Maximum trunk data space exceeded to flood will result in:

After a few seconds, the other end of the link will get something like this.

Sep 15 11:38:05 WARNING[12300]: chan_iax2.c:1466 attempt_transmit: Max retries exceeded to host on IAX2/guest/16849 (type = 6, subclass = 2, ts=220016, seqno=64)

And the calls will get dropped.

Its not just a problem with this out of frame data, every time the cli decides to flood, calls WILL get dropped. (or at least the audio will have drops).

Comments:By: zoa (zoa) 2004-09-15 03:43:51

Please note that this is only for very high load.. (as in > 500 simultaneous calls).

By: zoa (zoa) 2004-09-15 03:46:16

This situation also doesn't self heal, once it happened, it keeps flooding.

For example, i currently have not a single call between my two trunked servers and no new ones are being made, but its still flooding the cli on one end. (already for 10 minutes).

By: Mark Spencer (markster) 2004-09-17 08:36:45

Max trunk data is currently hard set to 200-400 channels in chan_iax2.c, have you tried adjusting MAX_TRUNKDATA in that file?  Thanks.

By: zoa (zoa) 2004-09-17 11:51:57

no, i didnt yet. (probably post astricon).
This is more a request than a bug report, so i changed the title.

By: twisted (twisted) 2004-10-27 15:46:33

Status request?  Did you attempt what markster suggested?  What was the outcome?

need activity to avoid premature closure.


By: twisted (twisted) 2004-11-14 21:10:47.000-0600

This bug is being closed due to lack of interest.  Feel free to reopen if there is still interest here.