trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Berger <th.ber...@it.piratenpartei.de>
Subject Re: Segfault with 4.1.1 using url_regex and proxy.config.remap.num_remap_threads > 1
Date Fri, 22 Nov 2013 01:57:09 GMT
I could not reproduce this issue. Could you please post an example of the 
regex causing this segfault?

Also, even if there would be some configuration errors on your part, ATS should 
thrown an error, not a stack trace. So  would file a bug at

https://issues.apache.org/jira/browse/TS


Am Donnerstag, 21. November 2013, 17:33:56 schrieb Mark Moseley:
> I just upgraded a dev server to 4.1.1. I'm looking to do Lua-based remaps,
> so I figured turning up proxy.config.remap.num_remap_threads would be good.
> I was playing around with cache.config and noticed that if I have
> proxy.config.remap.num_remap_threads set 8 and I try to use a url_regex in
> cache.config, I get a segfault with the below stacktrace. I don't get a
> segfault with proxy.config.remap.num_remap_threads=0 nor
> proxy.config.remap.num_remap_threads=1 (though I thought I did see it once,
> but can't replicate now). I also have no issues with
> proxy.config.remap.num_remap_threads=8 but using dest_domain instead of
> url_regex. ATS newbie, so expect something dumb on my part.
> 
> Incidentally, any guidance on what the appropriate value for
> proxy.config.remap.num_remap_threads should be for a remap-heavy system?
> Equal to # of cores?
> 
> 
> [E. Mgmt] log ==> [TrafficManager] using root directory '/usr'
> [TrafficServer] using root directory '/usr'
> [TrafficManager] ==> Cleaning up and reissuing signal #3
> FATAL ==> [ProcessManager::pollLMConnection] Lost Manager EOF![E. Mgmt] log
> ==> [TrafficManager] using root directory '/usr'
> [TrafficServer] using root directory '/usr'
> NOTE: Traffic Server received Sig 11: Segmentation fault
> /usr/bin/traffic_server - STACK TRACE:
> /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x30a8203b1cb0]
> /usr/bin/traffic_server(_Z16_acquire_sessionP13SessionBucketPK8sockaddrR7INK
> _MD5P6HttpSM+0x52)[0x513162]
> /usr/bin/traffic_server(_ZN18HttpSessionManager15acquire_sessionEP12Continu
> ationPK8sockaddrPKcP17HttpClientSessionP6HttpSM+0x3d1)[0x513791]
> /usr/bin/traffic_server(_ZN6HttpSM19do_http_server_openEb+0x30c)[0x528f5c]
> /usr/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x480)[0x529e90]
> /usr/bin/traffic_server(_ZN6HttpSM22state_cache_open_writeEiPv+0x143)[0x51d
> 5a3] /usr/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0x78)[0x524d98]
> /usr/bin/traffic_server(_ZN11HttpCacheSM22state_cache_open_writeEiPv+0x129)
> [0x505619]
> /usr/bin/traffic_server(_ZN5Cache10open_writeEP12ContinuationP7INK_MD5P8HTT
> PInfolS3_13CacheFragTypePci+0x50)[0x638090]
> /usr/bin/traffic_server(_ZN14CacheProcessor10open_writeEP12ContinuationiP3U
> RLbP7HTTPHdrP8HTTPInfol13CacheFragType+0xd5)[0x609b85]
> /usr/bin/traffic_server(_ZN11HttpCacheSM10open_writeEP3URLP7HTTPHdrP8HTTPIn
> folbb+0xa0)[0x505dd0]
> /usr/bin/traffic_server(_ZN6HttpSM23do_cache_prepare_actionEP11HttpCacheSMP
> 8HTTPInfobb+0x10b)[0x5184eb]
> /usr/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x5d5)[0x529fe5]
> /usr/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x159)[0x529b69]
> /usr/bin/traffic_server(_ZN6HttpSM19state_hostdb_lookupEiPv+0xa0)[0x51b8c0]
> /usr/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0x78)[0x524d98]
> /usr/bin/traffic_server[0x5bb51a]
> /usr/bin/traffic_server(_ZN18HostDBContinuation8dnsEventEiP7HostEnt+0x38d)[0
> x5bfbcd]
> /usr/bin/traffic_server(_ZN8DNSEntry9postEventEiP5Event+0x44)[0x5d27a4]
> /usr/bin/traffic_server(_ZN7EThread13process_eventEP5Eventi+0x8f)[0x6778af]
> /usr/bin/traffic_server(_ZN7EThread7executeEv+0x6e3)[0x678433]
> /usr/bin/traffic_server[0x6769fa]
> /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x30a8203a9e9a]
> /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x30a8210caccd]
> [TrafficServer] using root directory '/usr'
> NOTE: Traffic Server received Sig 11: Segmentation fault
> /usr/bin/traffic_server - STACK TRACE:
> /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x31ba68da0cb0]
> /usr/bin/traffic_server(_Z16_acquire_sessionP13SessionBucketPK8sockaddrR7INK
> _MD5P6HttpSM+0x52)[0x513162]
> /usr/bin/traffic_server(_ZN18HttpSessionManager15acquire_sessionEP12Continu
> ationPK8sockaddrPKcP17HttpClientSessionP6HttpSM+0x3d1)[0x513791]
> /usr/bin/traffic_server(_ZN6HttpSM19do_http_server_openEb+0x30c)[0x528f5c]
> /usr/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x480)[0x529e90]
> /usr/bin/traffic_server(_ZN6HttpSM22state_cache_open_writeEiPv+0x143)[0x51d
> 5a3] /usr/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0x78)[0x524d98]
> /usr/bin/traffic_server(_ZN11HttpCacheSM22state_cache_open_writeEiPv+0x129)
> [0x505619]
> /usr/bin/traffic_server(_ZN5Cache10open_writeEP12ContinuationP7INK_MD5P8HTT
> PInfolS3_13CacheFragTypePci+0x50)[0x638090]
> /usr/bin/traffic_server(_ZN14CacheProcessor10open_writeEP12ContinuationiP3U
> RLbP7HTTPHdrP8HTTPInfol13CacheFragType+0xd5)[0x609b85]
> /usr/bin/traffic_server(_ZN11HttpCacheSM10open_writeEP3URLP7HTTPHdrP8HTTPIn
> folbb+0xa0)[0x505dd0]
> /usr/bin/traffic_server(_ZN6HttpSM23do_cache_prepare_actionEP11HttpCacheSMP
> 8HTTPInfobb+0x10b)[0x5184eb]
> /usr/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x5d5)[0x529fe5]
> /usr/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x159)[0x529b69]
> /usr/bin/traffic_server(_ZN6HttpSM19state_hostdb_lookupEiPv+0xa0)[0x51b8c0]
> /usr/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0x78)[0x524d98]
> /usr/bin/traffic_server[0x5bb51a]
> /usr/bin/traffic_server(_ZN18HostDBContinuation8dnsEventEiP7HostEnt+0x38d)[0
> x5bfbcd]
> /usr/bin/traffic_server(_ZN8DNSEntry9postEventEiP5Event+0x44)[0x5d27a4]
> /usr/bin/traffic_server(_ZN7EThread13process_eventEP5Eventi+0x8f)[0x6778af]
> /usr/bin/traffic_server(_ZN7EThread7executeEv+0x6e3)[0x678433]
> /usr/bin/traffic_server[0x6769fa]
> /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x31ba68d98e9a]
> /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x31ba69ab9ccd]
-- 
Mit freundlichen Grüßen,
Thomas Berger
Piraten IT
--
Piratenpartei Deutschland - Pirate Party of Germany
Pflugstraße 9a, D-10115 Berlin, Germany

Vorstand: Bernd Schlömer, Sebastian Nerz, Markus Barenhoff, Swanhild
Goetze, Sven Schomacker, Katharina Nocun, Klaus Peukert, 
Christophe Chan Hin, Andi Popp
Mime
View raw message