You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2018/08/15 12:11:20 UTC

[GitHub] jinlongwang opened a new issue #1549: Shadow tracing context. Thread dump error when pressure test

jinlongwang opened a new issue #1549: Shadow tracing context. Thread dump error when pressure test
URL: https://github.com/apache/incubator-skywalking/issues/1549
 
 
   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [x] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   My application provide a http interface and it will query redis. i added skywalking agent to my application. When qps under 2000 everything is fine but when the qps over 2000 i get some exceptions 
   ```
   WARN 2018-08-15 19:04:36 TracingContext :  More than 300 spans required to create 
   java.lang.RuntimeException: Shadow tracing context. Thread dump
   	at org.apache.skywalking.apm.agent.core.context.TracingContext.isLimitMechanismWorking(TracingContext.java:515)
   	at org.apache.skywalking.apm.agent.core.context.TracingContext.access$100(TracingContext.java:56)
   	at org.apache.skywalking.apm.agent.core.context.TracingContext$7.doProcess(TracingContext.java:334)
   	at org.apache.skywalking.apm.agent.core.dictionary.PossibleFound.doInCondition(PossibleFound.java:50)
   	at org.apache.skywalking.apm.agent.core.context.TracingContext.createExitSpan(TracingContext.java:330)
   	at org.apache.skywalking.apm.agent.core.context.ContextManager.createExitSpan(ContextManager.java:125)
   	at org.apache.skywalking.apm.plugin.jedis.v2.JedisMethodInterceptor.beforeMethod(JedisMethodInterceptor.java:37)
   	at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:82)
   	at redis.clients.jedis.Jedis.get(Jedis.java)
   ```
   obviously, this http interface can not have to many spans. so what's wrong with it?
   
   ___
   ### Bug
   - Which version of SkyWalking, OS and JRE?
     SkyWalking: `5.0.0-beta2`
     OS: `CentOS release 6.6 (Final)`
    JRE: `jdk1.7.0_80`
   
   - Which company or project?
     autohome Inc
   
   - What happen?
   If possible, provide a way for reproducing the error. e.g. demo application, component version.
   
   ___
   ### Requirement or improvement
   - Please describe about your requirements or improvement suggestions.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services