THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Shaobin.Feng (saxon_leo)
Attached to Project - sip-router
Summary - kamailio can't accept new connections(tls)
Task Type - Bug Report
Category - tcp
Status - Unconfirmed
Assigned To -
Operating System - Linux
Severity - Critical
Priority - Normal
Reported Version - 3.2
Due in Version - Undecided
Due Date - Undecided
Details - describe
1,Applications Scenarios
1.1,our customers connect kamailio SERV via TLS on mobile phones.
1.2,our user volume ranges from 100,000 to 150,000.
1.3,our customers's network environment are quite uncertain and uncontrolled.
2,Problem
2.1 For the past 6 months,kamailio SERVER runs quite well.
2.2,recently,I add a new config "tcp_rd_buf_size = 10000" for some reason.
2.3,The kamailio SERVER runs for about some hours,it couldn't accept new
connections anymore.
2.4,stracing one process gets many "futex(0x8049910, FUTEX_WAIT, 0, NULL
<unfinished ...>"
2.5,gdb process in attach
Any advice would be nice
computer:
OS: unbuntu 12.04 64
CPU: 8 core
MEM: 16G
sysctl.conf
net.core.somaxconn =10240
net.ipv4.tcp_timestamps =1
net.ipv4.tcp_tw_recycle =1
net.ipv4.tcp_tw_reuse =1
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 1200
net.ipv4.tcp_max_syn_backlog = 8192
net.ipv4.tcp_max_tw_buckets = 5000
kamailio:
ver: 3.2.1
config:
1,kamailio.cfg
tcp_children = 30
tcp_connection_lifetime=960
tcp_max_connections = 250000
tcp_no_connect = yes
tcp_poll_method = epoll_et
tcp_rd_buf_size = 10000
2,kamctlrc
STARTOPTIONS="-m 8192 -M 64"
One or more files have been attached.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=257
You are receiving this message because you have requested it from the Flyspray bugtracking
system. If you did not expect this message or don't want to receive mails in future,
you can change your notification settings at the URL shown above.