[asterisk-users] UDP buffer overflows?

Steve Davies davies147 at gmail.com
Fri Dec 10 16:45:52 UTC 2010


Hi,

On one of our asterisk systems that is quite busy, we are seeing the
following from 'netstat -s':

Udp:
    17725210 packets received
    36547 packets to unknown port received.
    44017 packet receive errors
    17101174 packets sent
    RcvbufErrors: 44017                  <--- this

When this number increases, we see SIP errors, and in particular
Qualify packets are lost, and temporarily disable handsets, causing
all sorts of minor chaos.

I have already tuned from the defaults of:

 net.core.rmem_max = 131071
 net.core.wmem_max = 131071
 net.core.rmem_default = 111616
 net.core.wmem_default = 111616
 net.core.optmem_max = 10240
 net.core.netdev_max_backlog = 1000

up to:

 net.core.rmem_max = 1048575
 net.core.wmem_max = 1048575
 net.core.rmem_default = 1048575
 net.core.wmem_default = 1048575
 net.core.optmem_max = 1048575
 net.core.netdev_max_backlog = 10000

with no luck.

Any more suggestions?

Many thanks,
Steve



More information about the asterisk-users mailing list