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 crash when about 300,000 tls connections opened.
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To -
Operating System - Linux
Severity - Critical
Priority - Normal
Reported Version - 3.2
Due in Version - Undecided
Due Date - Undecided
Details - Kamailio crash when about 300,000 tls connections opened.
=========================================================version info
version: kamailio 3.2.3 (x86_64/linux) 59f87e
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE,
USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, USE_FUTEX,
FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST,
HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024,
BUF_SIZE 65535, DEFAULT PKG_SIZE 32MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 59f87e
compiled on 10:51:38 Jun 13 2012 with gcc 4.5.2
openssl version 1.0.0e
==========================================================config info
relate config
enable_tls=yes
open_files_limit = 500000
tcp_children = 80
tcp_connection_lifetime=3600
tcp_max_connections = 500000
tcp_no_connect = yes
tcp_poll_method = epoll_et
modparam("tls", "ssl_release_buffers", 1)
modparam("tls", "ssl_freelist_max_len", 0)
modparam("tls", "ssl_max_send_fragment", 2048)
modparam("usrloc", "db_mode", 0)
============================================================operate info
Once a connection was created success,while send OPTIONS to keep the connection active
before lifetime achieve.
==============================================================log info
426 Jun 14 13:58:40 B2-Ubuntu-01 /usr/local/sbin/kamailio[31516]: ALERT: <core>
[main.c:751]: child process 31610 exited by a signal 9
427 Jun 14 13:58:40 B2-Ubuntu-01 /usr/local/sbin/kamailio[31516]: ALERT: <core>
[main.c:754]: core was not generated
428 Jun 14 13:58:40 B2-Ubuntu-01 /usr/local/sbin/kamailio[31516]: INFO: <core>
[main.c:766]: INFO: terminating due to SIGCHLD
429 Jun 14 13:58:40 B2-Ubuntu-01 /usr/local/sbin/kamailio[31600]: INFO: <core>
[main.c:817]: INFO: signal 15 received
430 Jun 14 13:58:40 B2-Ubuntu-01 /usr/local/sbin/kamailio[31520]: INFO: <core>
[main.c:817]: INFO: signal 15 received
....
522 Jun 14 13:59:39 B2-Ubuntu-01 /usr/local/sbin/kamailio[31516]: : <core>
[main.c:660]: BUG: shutdown timeout triggered, dying...
==============================================================process info
sercmd core.ps
......
31610
tcp main process
===============================================================core file info
casue the size limit, attach the gdb screenshot
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=236
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.