[asterisk-dev] Failure to write to tcp/tls socket

Chandrakant Solanki solanki.chandrakant at gmail.com
Thu Oct 18 04:42:38 CDT 2012


Hi All,

Asterisk ( Server) Details ...
Asterisk Version*: 1.8.13.0*
OS: *CentOS 6*
CPU: *Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz*
RAM: *4 GB**
*
Started listening asterisk on UDP (5060) 'n TLS (5061) ports. I would like
to reach maximum running call capacity on Asterisk machine, but after so
many testing, just reach on 1200 calls at a time.

Set *maxfiles=65536* in asterisk.conf, and *rtp 10000:50000.*

# ulimit -a
core file size             (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
scheduling priority                (-e) 0
file size                      (blocks, -f) unlimited
pending signals                      (-i) 30585
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 65536
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1024
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

I am using *SIPP* tools from another machine, which is Ubuntu system,
configuration
OS: *Ubuntu*
RAM: *2 GB*
CPU:* Intel(R) Xeon(R) CPU           E5310  @ 1.60GHz*

# ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 15940
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 65536
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) unlimited
cpu time               (seconds, -t) unlimited
max user processes              (-u) 15940
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


While performing call test, after reach around 1000+ calls i received below
warnings on asterisk cli.

[Oct 18 14:55:44] WARNING[13444]: chan_sip.c:2790 _sip_tcp_helper_thread:
Failure to write to tcp/tls socket
[Oct 18 14:55:44] WARNING[13444]: chan_sip.c:2790 _sip_tcp_helper_thread:
Failure to write to tcp/tls socket
[Oct 18 14:55:44] WARNING[13444]: chan_sip.c:2790 _sip_tcp_helper_thread:
Failure to write to tcp/tls socket
[Oct 18 14:55:45] WARNING[13444]: chan_sip.c:2790 _sip_tcp_helper_thread:
Failure to write to tcp/tls socket
[Oct 18 14:55:45] WARNING[13444]: chan_sip.c:2790 _sip_tcp_helper_thread:
Failure to write to tcp/tls socket
[Oct 18 14:55:45] WARNING[13444]: chan_sip.c:2790 _sip_tcp_helper_thread:
Failure to write to tcp/tls socket
[Oct 18 14:55:45] WARNING[13444]: chan_sip.c:2790 _sip_tcp_helper_thread:
Failure to write to tcp/tls socket
[Oct 18 14:55:45] WARNING[13444]: chan_sip.c:2790 _sip_tcp_helper_thread:
Failure to write to tcp/tls socket
[Oct 18 14:55:45] WARNING[13444]: chan_sip.c:2790 _sip_tcp_helper_thread:
Failure to write to tcp/tls socket
[Oct 18 14:55:45] WARNING[13444]: chan_sip.c:2790 _sip_tcp_helper_thread:
Failure to write to tcp/tls socket
[Oct 18 14:55:45] WARNING[13444]: chan_sip.c:2790 _sip_tcp_helper_thread:
Failure to write to tcp/tls socket
[Oct 18 14:55:45] WARNING[13444]: chan_sip.c:2790 _sip_tcp_helper_thread:
Failure to write to tcp/tls socket
[Oct 18 14:55:45] WARNING[13444]: chan_sip.c:2790 _sip_tcp_helper_thread:
Failure to write to tcp/tls socket
[Oct 18 14:55:45] WARNING[13444]: chan_sip.c:2790 _sip_tcp_helper_thread:
Failure to write to tcp/tls socket
[Oct 18 14:55:45] WARNING[13444]: chan_sip.c:2790 _sip_tcp_helper_thread:
Failure to write to tcp/tls socket
[Oct 18 14:55:45] WARNING[13444]: chan_sip.c:2790 _sip_tcp_helper_thread:
Failure to write to tcp/tls socket


-- 
Regards,

Chandrakant Solanki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20121018/edb17d63/attachment-0001.htm>


More information about the asterisk-dev mailing list