trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 오재경 <genex...@gmail.com>
Subject Re:
Date Sun, 21 Apr 2013 07:15:43 GMT
there is no core dump. traffic.out shows...


[Apr 21 16:11:38.979] Server {0x2aee77e81700} NOTE: cache enabled
NOTE: Traffic Server received Sig 11: Segmentation fault
/usr/local/nts324v100/bin/traffic_server - STACK TRACE:
/lib64/libpthread.so.0(+0xf2d0)[0x2aee74f392d0]
/usr/local/nts324v100/bin/traffic_server(_Z16_acquire_sessionP13SessionBucketPK8sockaddrR7INK_MD5P6HttpSM+0x4b)[0x5325bb]
/usr/local/nts324v100/bin/traffic_server(_ZN18HttpSessionManager15acquire_sessionEP12ContinuationPK8sockaddrPKcP17HttpClientSessionP6HttpSM+0x31a)[0x532b3a]
/usr/local/nts324v100/bin/traffic_server(_ZN6HttpSM19do_http_server_openEb+0x1e6)[0x54b516]
/usr/local/nts324v100/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x8f1)[0x5502e1]
/usr/local/nts324v100/bin/traffic_server(_ZN6HttpSM22state_cache_open_writeEiPv+0xd2)[0x548332]
/usr/local/nts324v100/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0xe8)[0x54d748]
/usr/local/nts324v100/bin/traffic_server(_ZN11HttpCacheSM22state_cache_open_writeEiPv+0xfa)[0x52128a]
/usr/local/nts324v100/bin/traffic_server(_ZN5Cache10open_writeEP12ContinuationP7INK_MD5P8HTTPInfolS3_13CacheFragTypePci+0x5f0)[0x68fcd0]
/usr/local/nts324v100/bin/traffic_server(_ZN14CacheProcessor10open_writeEP12ContinuationiP3URLP7HTTPHdrP8HTTPInfol13CacheFragType+0x145)[0x654f85]
/usr/local/nts324v100/bin/traffic_server(_ZN11HttpCacheSM10open_writeEP3URLP7HTTPHdrP8HTTPInfolbb+0x92)[0x521cd2]
/usr/local/nts324v100/bin/traffic_server(_ZN6HttpSM23do_cache_prepare_actionEP11HttpCacheSMP8HTTPInfobb+0xed)[0x53921d]
/usr/local/nts324v100/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0xab5)[0x5504a5]
/usr/local/nts324v100/bin/traffic_server(_ZN6HttpSM17handle_api_returnEv+0x33a)[0x54914a]
/usr/local/nts324v100/bin/traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0x351)[0x5499f1]
/usr/local/nts324v100/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x536)[0x54ff26]
/usr/local/nts324v100/bin/traffic_server(_ZN6HttpSM19state_hostdb_lookupEiPv+0x8f)[0x53ccff]
/usr/local/nts324v100/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0xe8)[0x54d748]
/usr/local/nts324v100/bin/traffic_server[0x5ff9d7]
/usr/local/nts324v100/bin/traffic_server(_ZN18HostDBContinuation8dnsEventEiP7HostEnt+0xc9a)[0x606dba]
/usr/local/nts324v100/bin/traffic_server(_ZN8DNSEntry9postEventEiP5Event+0x44)[0x611d84]
/usr/local/nts324v100/bin/traffic_server(_ZN7EThread13process_eventEP5Eventi+0x8e)[0x6e170e]
/usr/local/nts324v100/bin/traffic_server(_ZN7EThread7executeEv+0x5ab)[0x6e213b]
/usr/local/nts324v100/bin/traffic_server[0x6e1372]
/lib64/libpthread.so.0(+0x6a3f)[0x2aee74f30a3f]
/lib64/libc.so.6(clone+0x6d)[0x2aee7716d67d]


2013/4/20 Igor Galić <i.galic@brainsware.org>

> Hi 오재경,
>
>
> Do you get a crashdump?
>
> If you attatch that to your mail and/or a bug report we may be able to
> determine whether the issue is with your plugin or with ATS.
>
>
> So long,
>
> -- i
>
> ------------------------------
>
> hi everyone.
>
> I made a plugin. it calls TSHttpConnect and download a contents when it
> meets a range request. as you know, ats doesn't cache partial request.
> that's why i made the plugin to trigger full download for a range request.
>
> proxy.config.http.share_server_sessions makes a problem. default value is
> 2 and ATS always crash when the plugin trigger download.
>
> but with 1, ATS works fine with my plugin.
>
> i digged the source what happens when i call TSHttpConnect.
>
> if i set share_server_sessions 2 _acquire_session is called with ethread
> parameter. if 1 _acquire_session is called with global bucket.
>
> my question is ..is it ok if i set share_server_sessions 1 instead of
> default value 2 ?
>
> No problem in performance? No problem in running ATS in 24/7 ?
>
> Thanks.
>
>
>
>
>
>
> --
> Igor Galić
>
> Tel: +43 (0) 664 886 22 883
> Mail: i.galic@brainsware.org
> URL: http://brainsware.org/
> GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE
>
> 
>

Mime
View raw message