Dear Skywalking Dev,
I found a lot of "trace segment has been abandoned, cause by buffer is full" 
logs in my Java services with Skywalking 6.6.0 agent enabled.
DEBUG 2020-01-06 20:43:17:699 http-nio-0.0.0.0-9090-exec-154 
TraceSegmentServiceClient : One trace segment has been abandoned, cause by 
buffer is full.

And some "xxx trace segments have been abandoned, cause by no available 
channel" logs were found  also.
2020-01-06 21:37:53:716 DataCarrier.DEFAULT.Consumser.0.Thread 
TraceSegmentServiceClient : 237 trace segments have been abandoned, cause by no 
available channel.

I checked the source code & documentation found that the default buffer setting 
is 5(channel_size)*300(buffer_size) and it seems that this default setting is 
not enough for productive environment of heavy load system.

To avoid the trace segment abandon, is that OK to just increase the buffer 
setting (e.g. to 10* 3000) ? How to estimate the memory(in MB) for the buffer 
setting so that I can evaluate the memory footprint for segments buffer?

Thanks & Best Regards

Xiaochao Zhang(James)
DI SW CAS MP EMK DO-CHN
No.7, Xixin Avenue, Chengdu High-Tech Zone
Chengdu, China  611731
Email: [email protected] <mailto:[email protected]>

Reply via email to