Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Busy CPU while negotiating contentBuffer size at BoundedByteBufferReceive.scala:54

$
0
0
Folks,
Recently in one of our SimpleConsumer based client applications (0.8.1.1),we spotted a very busy CPU with almost no traffic in/out from the clientand Kafka broker (1broker+1zookeeper) (the stack trace is attached at the end).
The busy thread was invoked in a while loop anchored at the readFrom function
---scala/kafka/network/Transmission.scala:55-59----------------------- ..... while(!complete) { val read = readFrom(channel) trace(read + " bytes read.") totalRead += read } ....

Viewing all articles
Browse latest Browse all 5648

Trending Articles