[ 
https://issues.apache.org/jira/browse/TS-1433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447532#comment-13447532
 ] 

Kingsley Foreman commented on TS-1433:
--------------------------------------

ok this is on 3.3.0

traffic.out


/usr/bin/traffic_server - STACK TRACE:
/lib/libpthread.so.0(+0xf8f0)[0x2b500e34e8f0]
/usr/bin/traffic_server(_ZN12IOBufferData4dataEv+0xc)[0x6638ea]
/usr/bin/traffic_server(_ZN7CacheVC12openReadMainEiP5Event+0x14a)[0x6b4202]
/usr/bin/traffic_server(_ZN12Continuation11handleEventEiPv+0x6c)[0x4e8452]
/usr/bin/traffic_server(_ZN7CacheVC8callcontEi+0xea)[0x6b7f6c]
/usr/bin/traffic_server(_ZN7CacheVC21openReadStartEarliestEiP5Event+0xe84)[0x6b622a]
/usr/bin/traffic_server(_ZN12Continuation11handleEventEiPv+0x6c)[0x4e8452]
/usr/bin/traffic_server(_ZN7CacheVC21openReadStartEarliestEiP5Event+0xd9b)[0x6b6141]
/usr/bin/traffic_server(_ZN7CacheVC18openReadFromWriterEiP5Event+0x1322)[0x6b2aa0]
/usr/bin/traffic_server(_ZN12Continuation11handleEventEiPv+0x6c)[0x4e8452]
/usr/bin/traffic_server(_ZN5Cache9open_readEP12ContinuationP7INK_MD5P7HTTPHdrP21CacheLookupHttpConfig13CacheFragTypePci+0x585)[0x6b0af1]
/usr/bin/traffic_server(_ZN5Cache9open_readEP12ContinuationP3URLP7HTTPHdrP21CacheLookupHttpConfig13CacheFragType+0x8f)[0x697853]
/usr/bin/traffic_server(_ZN14CacheProcessor9open_readEP12ContinuationP3URLP7HTTPHdrP21CacheLookupHttpConfigl13CacheFragType+0xb6)[0x6951a0]
/usr/bin/traffic_server(_ZN11HttpCacheSM18do_cache_open_readEv+0xda)[0x56039c]
/usr/bin/traffic_server(_ZN11HttpCacheSM9open_readEP3URLP7HTTPHdrP21CacheLookupHttpConfigl+0xe5)[0x5604ed]
/usr/bin/traffic_server(_ZN6HttpSM24do_cache_lookup_and_readEv+0x205)[0x57ecb7]
/usr/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x85b)[0x587937]
/usr/bin/traffic_server(_ZN6HttpSM32call_transact_and_set_next_stateEPFvPN12HttpTransact5StateEE+0x1a7)[0x5870d5]
/usr/bin/traffic_server(_ZN6HttpSM17handle_api_returnEv+0x138)[0x5751c4]
/usr/bin/traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0x89d)[0x574fab]
/usr/bin/traffic_server(_ZN6HttpSM23do_api_callout_internalEv+0x1a4)[0x580a48]
/usr/bin/traffic_server(_ZN6HttpSM14do_api_calloutEv+0x26)[0x58c732]
/usr/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x5e)[0x58713a]
/usr/bin/traffic_server(_ZN6HttpSM32call_transact_and_set_next_stateEPFvPN12HttpTransact5StateEE+0x1a7)[0x5870d5]
/usr/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x18a)[0x587266]
/usr/bin/traffic_server(_ZN6HttpSM32call_transact_and_set_next_stateEPFvPN12HttpTransact5StateEE+0x1a7)[0x5870d5]
/usr/bin/traffic_server(_ZN6HttpSM17handle_api_returnEv+0x138)[0x5751c4]
/usr/bin/traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0x89d)[0x574fab]
/usr/bin/traffic_server(_ZN6HttpSM23do_api_callout_internalEv+0x1a4)[0x580a48]
/usr/bin/traffic_server(_ZN6HttpSM14do_api_calloutEv+0x26)[0x58c732]
/usr/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x5e)[0x58713a]
/usr/bin/traffic_server(_ZN6HttpSM32call_transact_and_set_next_stateEPFvPN12HttpTransact5StateEE+0x1a7)[0x5870d5]
/usr/bin/traffic_server(_ZN6HttpSM17handle_api_returnEv+0x138)[0x5751c4]
/usr/bin/traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0x89d)[0x574fab]
/usr/bin/traffic_server(_ZN6HttpSM18state_api_callbackEiPv+0x191)[0x57469b]
/usr/bin/traffic_server(TSHttpTxnReenable+0x179)[0x4fe593]
/usr/libexec/trafficserver/header_filter.so(+0x304d)[0x2b50343a704d]
/usr/bin/traffic_server(_ZN15INKContInternal12handle_eventEiPv+0xaf)[0x4f217d]
/usr/bin/traffic_server(_ZN12Continuation11handleEventEiPv+0x6c)[0x4e8452]
/usr/bin/traffic_server(_ZN7APIHook6invokeEiPv+0x6a)[0x4f2c46]
/usr/bin/traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0x5ed)[0x574cfb]
/usr/bin/traffic_server(_ZN6HttpSM23do_api_callout_internalEv+0x1a4)[0x580a48]
/usr/bin/traffic_server(_ZN6HttpSM14do_api_calloutEv+0x26)[0x58c732]
/usr/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x5e)[0x58713a]
/usr/bin/traffic_server(_ZN6HttpSM32call_transact_and_set_next_stateEPFvPN12HttpTransact5StateEE+0x1a7)[0x5870d5]
/usr/bin/traffic_server(_ZN6HttpSM32state_read_client_request_headerEiPv+0x8bb)[0x572d9f]
/usr/bin/traffic_server(_ZN6HttpSM32setup_client_read_request_headerEv+0x9f)[0x57245b]
/usr/bin/traffic_server(_ZN6HttpSM17handle_api_returnEv+0x5a)[0x5750e6]
/usr/bin/traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0x89d)[0x574fab]
/usr/bin/traffic_server(_ZN6HttpSM23do_api_callout_internalEv+0x1a4)[0x580a48]
/usr/bin/traffic_server(_ZN6HttpSM14do_api_calloutEv+0x26)[0x58c732]
/usr/bin/traffic_server(_ZN6HttpSM17state_add_to_listEiPv+0x2e2)[0x571d80]
/usr/bin/traffic_server(_ZN6HttpSM21attach_client_sessionEP17HttpClientSessionP14IOBufferReader+0x269)[0x5723b5]
/usr/bin/traffic_server(_ZN17HttpClientSession15new_transactionEv+0x2cc)[0x561546]
/usr/bin/traffic_server(_ZN17HttpClientSession16state_keep_aliveEiPv+0x1c5)[0x562761]
/usr/bin/traffic_server(_ZN12Continuation11handleEventEiPv+0x6c)[0x4e8452]
/usr/bin/traffic_server[0x6e12dd]
/usr/bin/traffic_server[0x6e1c2f]
/usr/bin/traffic_server(_ZN18UnixNetVConnection11net_read_ioEP10NetHandlerP7EThread+0x2b)[0x6e3b23]
/usr/bin/traffic_server(_ZN10NetHandler12mainNetEventEiP5Event+0x630)[0x6ddd70]
/usr/bin/traffic_server(_ZN12Continuation11handleEventEiPv+0x6c)[0x4e8452]
/usr/bin/traffic_server(_ZN7EThread13process_eventEP5Eventi+0x113)[0x70692d]
/usr/bin/traffic_server(_ZN7EThread7executeEv+0x435)[0x706ee7]
/usr/bin/traffic_server[0x7051ee]
/lib/libpthread.so.0(+0x69ca)[0x2b500e3459ca]
/lib/libc.so.6(clone+0x6d)[0x2b5010751cdd]


and core


(gdb) backtrace
#0  0x00000000006638ea in IOBufferData::data() ()
#1  0x00000000006b4202 in CacheVC::openReadMain(int, Event*) ()
#2  0x00000000004e8452 in Continuation::handleEvent(int, void*) ()
#3  0x00000000006b7f6c in CacheVC::callcont(int) ()
#4  0x00000000006b622a in CacheVC::openReadStartEarliest(int, Event*) ()
#5  0x00000000004e8452 in Continuation::handleEvent(int, void*) ()
#6  0x00000000006b6141 in CacheVC::openReadStartEarliest(int, Event*) ()
#7  0x00000000006b2aa0 in CacheVC::openReadFromWriter(int, Event*) ()
#8  0x00000000004e8452 in Continuation::handleEvent(int, void*) ()
#9  0x00000000006b0af1 in Cache::open_read(Continuation*, INK_MD5*, HTTPHdr*, 
CacheLookupHttpConfig*, CacheFragType, char*, int) ()
#10 0x0000000000697853 in Cache::open_read(Continuation*, URL*, HTTPHdr*, 
CacheLookupHttpConfig*, CacheFragType) ()
#11 0x00000000006951a0 in CacheProcessor::open_read(Continuation*, URL*, 
HTTPHdr*, CacheLookupHttpConfig*, long, CacheFragType) ()
#12 0x000000000056039c in HttpCacheSM::do_cache_open_read() ()
#13 0x00000000005604ed in HttpCacheSM::open_read(URL*, HTTPHdr*, 
CacheLookupHttpConfig*, long) ()
#14 0x000000000057ecb7 in HttpSM::do_cache_lookup_and_read() ()
#15 0x0000000000587937 in HttpSM::set_next_state() ()
#16 0x00000000005870d5 in HttpSM::call_transact_and_set_next_state(void 
(*)(HttpTransact::State*)) ()
#17 0x00000000005751c4 in HttpSM::handle_api_return() ()
#18 0x0000000000574fab in HttpSM::state_api_callout(int, void*) ()
#19 0x0000000000580a48 in HttpSM::do_api_callout_internal() ()
#20 0x000000000058c732 in HttpSM::do_api_callout() ()
#21 0x000000000058713a in HttpSM::set_next_state() ()
#22 0x00000000005870d5 in HttpSM::call_transact_and_set_next_state(void 
(*)(HttpTransact::State*)) ()
#23 0x0000000000587266 in HttpSM::set_next_state() ()
#24 0x00000000005870d5 in HttpSM::call_transact_and_set_next_state(void 
(*)(HttpTransact::State*)) ()
#25 0x00000000005751c4 in HttpSM::handle_api_return() ()
#26 0x0000000000574fab in HttpSM::state_api_callout(int, void*) ()
#27 0x0000000000580a48 in HttpSM::do_api_callout_internal() ()
#28 0x000000000058c732 in HttpSM::do_api_callout() ()
#29 0x000000000058713a in HttpSM::set_next_state() ()
#30 0x00000000005870d5 in HttpSM::call_transact_and_set_next_state(void 
(*)(HttpTransact::State*)) ()
#31 0x00000000005751c4 in HttpSM::handle_api_return() ()
#32 0x0000000000574fab in HttpSM::state_api_callout(int, void*) ()
#33 0x000000000057469b in HttpSM::state_api_callback(int, void*) ()
#34 0x00000000004fe593 in TSHttpTxnReenable ()
#35 0x00002b50343a704d in cont_header_filter (contp=<value optimised out>, 
event=<value optimised out>, edata=<value optimised out>) at header_filter.cc:88
#36 0x00000000004f217d in INKContInternal::handle_event(int, void*) ()
#37 0x00000000004e8452 in Continuation::handleEvent(int, void*) ()
#38 0x00000000004f2c46 in APIHook::invoke(int, void*) ()
#39 0x0000000000574cfb in HttpSM::state_api_callout(int, void*) ()
#40 0x0000000000580a48 in HttpSM::do_api_callout_internal() ()
#41 0x000000000058c732 in HttpSM::do_api_callout() ()
#42 0x000000000058713a in HttpSM::set_next_state() ()
#43 0x00000000005870d5 in HttpSM::call_transact_and_set_next_state(void 
(*)(HttpTransact::State*)) ()
#44 0x0000000000572d9f in HttpSM::state_read_client_request_header(int, void*) 
()
#45 0x000000000057245b in HttpSM::setup_client_read_request_header() ()
#46 0x00000000005750e6 in HttpSM::handle_api_return() ()
#47 0x0000000000574fab in HttpSM::state_api_callout(int, void*) ()
#48 0x0000000000580a48 in HttpSM::do_api_callout_internal() ()
#49 0x000000000058c732 in HttpSM::do_api_callout() ()
#50 0x0000000000571d80 in HttpSM::state_add_to_list(int, void*) ()
#51 0x00000000005723b5 in HttpSM::attach_client_session(HttpClientSession*, 
IOBufferReader*) ()
#52 0x0000000000561546 in HttpClientSession::new_transaction() ()
#53 0x0000000000562761 in HttpClientSession::state_keep_alive(int, void*) ()
#54 0x00000000004e8452 in Continuation::handleEvent(int, void*) ()
#55 0x00000000006e12dd in ?? ()
#56 0x00000000006e1c2f in ?? ()
#57 0x00000000006e3b23 in UnixNetVConnection::net_read_io(NetHandler*, 
EThread*) ()
#58 0x00000000006ddd70 in NetHandler::mainNetEvent(int, Event*) ()
#59 0x00000000004e8452 in Continuation::handleEvent(int, void*) ()
#60 0x000000000070692d in EThread::process_event(Event*, int) ()
#61 0x0000000000706ee7 in EThread::execute() ()
#62 0x00000000007051ee in ?? ()
#63 0x00002b500e3459ca in start_thread () from /lib/libpthread.so.0
#64 0x00002b5010751cdd in clone () from /lib/libc.so.6
#65 0x0000000000000000 in ?? ()

                
> enable_read_while_writer not working in 3.2.0
> ---------------------------------------------
>
>                 Key: TS-1433
>                 URL: https://issues.apache.org/jira/browse/TS-1433
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache
>    Affects Versions: 3.2.0
>         Environment: Ubuntu 10.04
>            Reporter: Kingsley Foreman
>         Attachments: ts-1433.try1.diff, ts-1433.try2.diff, 
> ts.3.2.x-1433.try3.diff
>
>
> enable_read_while_writer is not currently working as it should
> with the settings
> CONFIG proxy.config.cache.enable_read_while_writer INT 1
> CONFIG proxy.config.cache.max_doc_size INT 0
> CONFIG proxy.config.http.background_fill_active_timeout INT 0
> CONFIG proxy.config.http.background_fill_completed_threshold FLOAT 0
> If I do
> wget http://127.0.0.1:8080/largefile.mpg g -O /dev/null
> and then on the same box 30 seconds later (while the first one is still going 
> I do)
> wget http://127.0.0.1:8080/largefile.mpg g -O /dev/null
> again
> The master server (after I kill them both) gets
> 012-09-03T10:49:32.007667+09:18 master1-adl6 nginx: 1.1.1.1 - - 
> [03/Sep/2012:10:49:32 +0930] "GET /largefile.mpg HTTP/1.1" 200 306253448 "-" 
> "Wget/1.12 (linux-gnu)" "-"
> 2012-09-03T10:49:32.879914+09:18 master1-adl6 nginx: 1.1.1.1 - - 
> [03/Sep/2012:10:49:32 +0930] "GET /largefile.mpg HTTP/1.1" 200 226717704 "-" 
> "Wget/1.12 (linux-gnu)" "-"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to