David Cunningham
2022-Jul-28 01:20 UTC
[asterisk-users] Asterisk "we couldn't allocate a port for RTP" errors
Hello, We have an Asterisk 13.38.2 server which today started giving "we couldn't allocate a port for RTP" errors. The output of "netstat -anp" showed that Asterisk was using all 10,000 ports allocated for RTP, even though it only had a maximum of around 200 concurrent calls at any point in the day. Even now when calls have fallen to less than 30, there are still almost 10,000 ports in use. Does anyone have any suggestions on how to find out why so many ports are in use? I'm aware that Asterisk 13 is no longer supported by Sangoma so I haven't opened a bug report. Thanks in advance for any advice. -- David Cunningham, Voisonics Limited http://voisonics.com/ USA: +1 213 221 1092 New Zealand: +64 (0)28 2558 3782 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20220728/35fe4712/attachment.html>
Joel Serrano
2022-Jul-28 01:30 UTC
[asterisk-users] Asterisk "we couldn't allocate a port for RTP" errors
I would check if you don't have any channels in a hung/zombie state... Have a look if "core show calls" matches "core show channels". Either way, it seems wonky, so you might end up having to give that asterisk a restart... :S On Wed, Jul 27, 2022 at 6:21 PM David Cunningham <dcunningham at voisonics.com> wrote:> Hello, > > We have an Asterisk 13.38.2 server which today started giving "we couldn't > allocate a port for RTP" errors. The output of "netstat -anp" showed that > Asterisk was using all 10,000 ports allocated for RTP, even though it only > had a maximum of around 200 concurrent calls at any point in the day. Even > now when calls have fallen to less than 30, there are still almost 10,000 > ports in use. > > Does anyone have any suggestions on how to find out why so many ports are > in use? > > I'm aware that Asterisk 13 is no longer supported by Sangoma so I haven't > opened a bug report. > > Thanks in advance for any advice. > > -- > David Cunningham, Voisonics Limited > http://voisonics.com/ > USA: +1 213 221 1092 > New Zealand: +64 (0)28 2558 3782 > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20220727/068f6682/attachment.html>