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/11/02 02:37:50 UTC

[GitHub] wu-sheng commented on issue #1850: Some questions about the agent consume TraceSegment

wu-sheng commented on issue #1850: Some questions about the agent consume TraceSegment
URL: https://github.com/apache/incubator-skywalking/issues/1850#issuecomment-435252806
 
 
   English only in issue.
   
   > org.apache.skywalking.apm.agent.core.remote.TraceSegmentServiceClient.boot()? can i largen this ?
   (TraceSegmentServiceClient的boot方法第70行,carrier.consume(this, 1); 这个消费者的线程为什么配置的是1,有什么原因么?我可以修改变大这个参数么?)
   
   Because too many threads mean high payload to the agent, you CPU will cost more. 
   
   > 2、In my agent log file( skywalking.log) debug a lot of “DEBUG 2018-10-29 09:25:46 TraceSegmentServiceClient : One trace segment has been abandoned, cause by buffer is full. ”
   How can i optimize configured (在其中一个项目忙时的时候agent的日志里有打印很多的trace segment 被丢弃,buffer满了,有没有可以优化的配置,防止数据丢失)
   
   That means your backend is not powerful enough. Buffer is not for saving these segments forever.
   
   > 3、WARN More than 300 spans required to create ,can i configured 1000?(某些方法超过了300个spans,我可以配置到1000么?)
   
   If you have such segment including 1000 spans, you could. Otherwise, I would say, you have span leak.Some plugin or something is not working well.

----------------------------------------------------------------
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