Exceptionally long voice queue length queuing to Local
Posted: Thu Aug 15, 2019 9:08 am
vicibox installation
VERSION: 2.14-714a
BUILD: 190628-1511
Asterisk 11.25.1-vici
Timer card Amfeltec VoiceSync (pcie) installed.
Server is rebooted every night, pv6 disabled, unused ram is released drop_caches from crotab every minute.
And there is no external attacks on the server.
From time to time I see "Exceptionally long voice queue length queuing" errors in asterisk logs. If there is just a fief during a day there is no issue, but when I see lots of these the asterisk stops responding, not crashing, but not accepting any more sip messages.
In last 2 days I have noticed new WARNING in asterisk logs :
channel.c: Unable to write to alert pipe on Local/58600072@default-0000afdc;1 (qlen = 90): Resource temporarily unavailable!
By it self this message is harmless, however Local/58600072 is an extension of quiet monitor-only extensions for meetme rooms: Asterisk 1.8 workaround
and 58600072 was not the only one listed in logs with same warning I can see 4 other quiet monitor extensions.
The WARNINGS continued overnight all the way until crontab rebooted the server.
I believe that the 5 monitoring channels did not hangup and between Unable to write to alert pipe WARNINGS I've seen a lot of Exceptionally long voice queue length queuing warnings referring to same channels despite the fact that there was no agents logged on to the server at that time (4 AM EST)
this is a small part of logs:
[Aug 14 04:01:02] WARNING[17738][C-0000b473] channel.c: Unable to write to alert pipe on Local/58600081@default-0000b09d;1 (qlen = 95): Resource temporarily unavailable!
[Aug 14 04:01:02] WARNING[15231][C-0000b3a9] channel.c: Unable to write to alert pipe on Local/58600072@default-0000afdc;1 (qlen = 84): Resource temporarily unavailable!
[Aug 14 04:01:02] WARNING[13603][C-0000b322] channel.c: Unable to write to alert pipe on Local/58600086@default-0000af5f;1 (qlen = 64): Resource temporarily unavailable!
[Aug 14 04:01:02] WARNING[15809][C-0000b3db] channel.c: Exceptionally long voice queue length queuing to Local/58600080@default-0000b00c;1
[Aug 14 04:01:02] WARNING[15809][C-0000b3db] channel.c: Unable to write to alert pipe on Local/58600080@default-0000b00c;1 (qlen = 96): Resource temporarily unavailable!
[Aug 14 04:01:02] WARNING[17841][C-0000b482] channel.c: Unable to write to alert pipe on Local/58600071@default-0000b0ab;1 (qlen = 73): Resource temporarily unavailable!
[Aug 14 04:01:02] WARNING[17738][C-0000b473] channel.c: Exceptionally long voice queue length queuing to Local/58600081@default-0000b09d;1
[Aug 14 04:01:02] WARNING[17738][C-0000b473] channel.c: Unable to write to alert pipe on Local/58600081@default-0000b09d;1 (qlen = 96): Resource temporarily unavailable!
[Aug 14 04:01:02] WARNING[15231][C-0000b3a9] channel.c: Unable to write to alert pipe on Local/58600072@default-0000afdc;1 (qlen = 85): Resource temporarily unavailable!
[Aug 14 04:01:02] WARNING[13603][C-0000b322] channel.c: Unable to write to alert pipe on Local/58600086@default-0000af5f;1 (qlen = 65): Resource temporarily unavailable!
I understand that "Exceptionally long voice queue length " may be caused by slow internet connection or a timing issue.
The timing should not be a problem here since there is a Amfeltec card installed and dahdi is loading the driver.
As to the internet connection the server is on 100 Mbps fiber connection in a colo facility, but one of the agents location may be on little slower connection.
Asterisk shows 300-400 ms status to the extensions in question, but there is no much of UNREACHABLE NOTICEs corresponding to WARNINGS.
I guess my questions are:
Since the asterisk version is 11 not 1.8 should managers use other then 586000XX to monitor the calls?
Why are these channels do not get hangup?
Is there a way to hangup/kill these channels?
I can write a simple script monitoring the asterisk logs and "kill" the conference when 2-3 "Exceptionally long voice queue length" Waring appears referring to same conference. It would kick the agent off, but prevent the asterisk from not responding and bring the entire operation down.
Anyone have any other ideas or experience with same issue and possible workaround/fix.
VERSION: 2.14-714a
BUILD: 190628-1511
Asterisk 11.25.1-vici
Timer card Amfeltec VoiceSync (pcie) installed.
Server is rebooted every night, pv6 disabled, unused ram is released drop_caches from crotab every minute.
And there is no external attacks on the server.
From time to time I see "Exceptionally long voice queue length queuing" errors in asterisk logs. If there is just a fief during a day there is no issue, but when I see lots of these the asterisk stops responding, not crashing, but not accepting any more sip messages.
In last 2 days I have noticed new WARNING in asterisk logs :
channel.c: Unable to write to alert pipe on Local/58600072@default-0000afdc;1 (qlen = 90): Resource temporarily unavailable!
By it self this message is harmless, however Local/58600072 is an extension of quiet monitor-only extensions for meetme rooms: Asterisk 1.8 workaround
and 58600072 was not the only one listed in logs with same warning I can see 4 other quiet monitor extensions.
The WARNINGS continued overnight all the way until crontab rebooted the server.
I believe that the 5 monitoring channels did not hangup and between Unable to write to alert pipe WARNINGS I've seen a lot of Exceptionally long voice queue length queuing warnings referring to same channels despite the fact that there was no agents logged on to the server at that time (4 AM EST)
this is a small part of logs:
[Aug 14 04:01:02] WARNING[17738][C-0000b473] channel.c: Unable to write to alert pipe on Local/58600081@default-0000b09d;1 (qlen = 95): Resource temporarily unavailable!
[Aug 14 04:01:02] WARNING[15231][C-0000b3a9] channel.c: Unable to write to alert pipe on Local/58600072@default-0000afdc;1 (qlen = 84): Resource temporarily unavailable!
[Aug 14 04:01:02] WARNING[13603][C-0000b322] channel.c: Unable to write to alert pipe on Local/58600086@default-0000af5f;1 (qlen = 64): Resource temporarily unavailable!
[Aug 14 04:01:02] WARNING[15809][C-0000b3db] channel.c: Exceptionally long voice queue length queuing to Local/58600080@default-0000b00c;1
[Aug 14 04:01:02] WARNING[15809][C-0000b3db] channel.c: Unable to write to alert pipe on Local/58600080@default-0000b00c;1 (qlen = 96): Resource temporarily unavailable!
[Aug 14 04:01:02] WARNING[17841][C-0000b482] channel.c: Unable to write to alert pipe on Local/58600071@default-0000b0ab;1 (qlen = 73): Resource temporarily unavailable!
[Aug 14 04:01:02] WARNING[17738][C-0000b473] channel.c: Exceptionally long voice queue length queuing to Local/58600081@default-0000b09d;1
[Aug 14 04:01:02] WARNING[17738][C-0000b473] channel.c: Unable to write to alert pipe on Local/58600081@default-0000b09d;1 (qlen = 96): Resource temporarily unavailable!
[Aug 14 04:01:02] WARNING[15231][C-0000b3a9] channel.c: Unable to write to alert pipe on Local/58600072@default-0000afdc;1 (qlen = 85): Resource temporarily unavailable!
[Aug 14 04:01:02] WARNING[13603][C-0000b322] channel.c: Unable to write to alert pipe on Local/58600086@default-0000af5f;1 (qlen = 65): Resource temporarily unavailable!
I understand that "Exceptionally long voice queue length " may be caused by slow internet connection or a timing issue.
The timing should not be a problem here since there is a Amfeltec card installed and dahdi is loading the driver.
As to the internet connection the server is on 100 Mbps fiber connection in a colo facility, but one of the agents location may be on little slower connection.
Asterisk shows 300-400 ms status to the extensions in question, but there is no much of UNREACHABLE NOTICEs corresponding to WARNINGS.
I guess my questions are:
Since the asterisk version is 11 not 1.8 should managers use other then 586000XX to monitor the calls?
Why are these channels do not get hangup?
Is there a way to hangup/kill these channels?
I can write a simple script monitoring the asterisk logs and "kill" the conference when 2-3 "Exceptionally long voice queue length" Waring appears referring to same conference. It would kick the agent off, but prevent the asterisk from not responding and bring the entire operation down.
Anyone have any other ideas or experience with same issue and possible workaround/fix.