Profile Image
Gibu George

Do I need to increase my NIO buffer?

Since we are seeing an issue related to NIO thread having high CPU usage will it help if we increase the NIO buffer?

 

Report URL - https://fastthread.io/my-thread-report.jsp?p=c2hhcmVkLzIwMjIvMDUvNC8tLWMzbWV0ZWxlbmdpbmUtNWI2OGI0ZGQ2Yy02ZDJsbi1waWQtNDAtbm90d29ya2luZy50eHQtLTctNi0z

  • poorlyimplementedfinalize

  • nio

  • buffer

  • increaseheapsize

  • heapsize

  • heapdump

  • niobuffer

  • highcpuusage

  • threadblocked

  • applicationunresponsive

Profile Image

Mahesh

Hi Gibu, How did you find that NIO threads are having high CPU usage? I couldn't find it in the fastThread report.

Please Sign In or to post your comment or answer

Profile Image

sainath

Hello Gibu George,

 

'c3m-cc-etel-engine-inventory-metadata-pipeline-608c84b2-9af7-4e49-90df-a18ddf1c81a2-StreamThread-2' thread is stuck on wait() method in sun.nio.ch.EPoll file.

Before getting stuck, this thread obtained 3 locks (sun.nio.ch.Util$2 lock, sun.nio.ch.EPollSelectorImpl lock...) and never released it. Due to that 1 thread is BLOCKED as shown in the below graph. If threads are BLOCKED for a prolonged period, your application can become unresponsive.

 

Here is the stack trace of this thread:

 

 

 

Got something else on mind? Post Your Question

Not the answer you're looking for? Browse other questions tagged
  • poorlyimplementedfinalize

  • nio

  • buffer

  • increaseheapsize

  • heapsize

  • heapdump

  • niobuffer

  • highcpuusage

  • threadblocked

  • applicationunresponsive