You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Qiang Li (JIRA)" <ji...@apache.org> on 2015/11/03 04:06:27 UTC
[jira] [Commented] (TS-3906) Updates to the active and idle queues
[ https://issues.apache.org/jira/browse/TS-3906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14986568#comment-14986568 ]
Qiang Li commented on TS-3906:
------------------------------
i agree with [~oknet] , i also catch a core
{code}
(gdb) bt
#0 handleEvent (data=0x7ffc2dfc11f0, event=1, this=0x0) at ../../iocore/eventsystem/I_Continuation.h:146
#1 _close_vc (total_idle_count=<synthetic pointer>, total_idle_time=<synthetic pointer>, closed=<synthetic pointer>, handle_event=<synthetic pointer>,
now=1446084900576556876, vc=0x2ac254015ee0, this=0x2ac1fc7c3b90) at UnixNet.cc:678
#2 manage_active_queue (this=0x2ac1fc7c3b90) at UnixNet.cc:590
#3 NetHandler::add_to_active_queue (this=0x2ac1fc7c3b90, vc=<optimized out>) at UnixNet.cc:720
#4 0x00000000005a3ced in new_transaction (this=0x2ac2102ac230) at HttpClientSession.cc:124
#5 HttpClientSession::start (this=0x2ac2102ac230) at HttpClientSession.h:63
#6 0x00000000004f7c13 in ProxyClientSession::state_api_callout (this=0x2ac2102ac230, event=<optimized out>) at ProxyClientSession.cc:123
#7 0x00000000005a106a in HttpClientSession::new_connection (this=0x2ac2102ac230, new_vc=<optimized out>, iobuf=<optimized out>, reader=<optimized out>,
backdoor=<optimized out>) at HttpClientSession.cc:220
#8 0x000000000059af31 in HttpSessionAccept::accept (this=<optimized out>, netvc=0x2ac254813090, iobuf=<optimized out>, reader=0x2ac21040f758) at HttpSessionAccept.cc:74
#9 0x00000000004f72e2 in ProtocolProbeTrampoline::ioCompletionEvent (this=0x49b6990, event=<optimized out>, edata=<optimized out>) at ProtocolProbeSessionAccept.cc:123
#10 0x0000000000786f53 in handleEvent (data=0x2ac2548131a8, event=100, this=<optimized out>) at ../../iocore/eventsystem/I_Continuation.h:146
#11 read_signal_and_update (vc=0x2ac254813090, event=100) at UnixNetVConnection.cc:145
#12 read_from_net (nh=<optimized out>, vc=0x2ac254813090, thread=<optimized out>) at UnixNetVConnection.cc:377
#13 0x0000000000774efa in NetHandler::mainNetEvent (this=0x2ac1fc7c3b90, event=<optimized out>, e=<optimized out>) at UnixNet.cc:516
#14 0x00000000007beabb in handleEvent (data=0x2f77f30, event=5, this=<optimized out>) at I_Continuation.h:146
#15 process_event (calling_code=5, e=0x2f77f30, this=0x2ac1fc7c0010) at UnixEThread.cc:128
#16 EThread::execute (this=0x2ac1fc7c0010) at UnixEThread.cc:252
#17 0x000000000049134d in main (argv=<optimized out>) at Main.cc:1812
(gdb) f 0
#0 handleEvent (data=0x7ffc2dfc11f0, event=1, this=0x0) at ../../iocore/eventsystem/I_Continuation.h:146
146 return (this->*handler)(event, data);
(gdb) l
141
142 */
143 int
144 handleEvent(int event = CONTINUATION_EVENT_NONE, void *data = 0)
145 {
146 return (this->*handler)(event, data);
147 }
148
149 /**
150 Contructor of the Continuation object. It should not be used
(gdb) f 1
#1 _close_vc (total_idle_count=<synthetic pointer>, total_idle_time=<synthetic pointer>, closed=<synthetic pointer>, handle_event=<synthetic pointer>,
now=1446084900576556876, vc=0x2ac254015ee0, this=0x2ac1fc7c3b90) at UnixNet.cc:678
678 keep_alive_queue.head->handleEvent(EVENT_IMMEDIATE, &event);
(gdb) l
673 } else {
674 vc->next_inactivity_timeout_at = now;
675 // create a dummy event
676 Event event;
677 event.ethread = this_ethread();
678 keep_alive_queue.head->handleEvent(EVENT_IMMEDIATE, &event);
679 ++handle_event;
680 }
681 }
682
(gdb) p keep_alive_queue
$1 = {<DLL<UnixNetVConnection, UnixNetVConnection::Link_keep_alive_queue_link>> = {head = 0x0}, tail = 0x0}
(gdb)
{code}
> Updates to the active and idle queues
> -------------------------------------
>
> Key: TS-3906
> URL: https://issues.apache.org/jira/browse/TS-3906
> Project: Traffic Server
> Issue Type: Improvement
> Components: Network
> Affects Versions: 6.0.0
> Reporter: Bryan Call
> Assignee: Bryan Call
> Fix For: 6.0.0
>
>
> 1. Add support for setting proxy.config.net.max_connections_in to 0 and disable limiting the number of connections in the queue.
> 2. Fix a coredump when the queues are full and try to close a connection.
> 3. Add HTTP/2 connections to the queues.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)