[SNMP4J] high CPU usage with SNMP4J 1.11 and DefaultTcpTransportMapping

bangarappa bang.chill at gmail.com
Tue Aug 31 14:03:15 CEST 2010


Frank Fock <fock at ...> writes:

> 
> Hi Brice,
> 
> I had the same issue with Java 1.5 here, but not
> with Java 1.6. I found several articles in the Web
> about this issue. It does not seem to occur in
> simple select use cases, if keys get registered
> and unregistered frequently, the error seems to
> occur within the JDK.
> 
> As a workaround I tried to detect a select without
> active key and then do a sleep. But since that would
> decrease overall performance I did not implement
> such a workaround.
> 
> If you are bound to a JDK with that NIO error, you
> should consider implementing such a sleep to reduce
> CPU load.
> 
> Best regards,
> Frank
> 


Hi Frank,

Even after being in 1.6 jdk version, i am seeing high usage of CPU. Is there any
patch available for this issue without hindering the performance on 1.11?

Thanks,
Bangar






More information about the SNMP4J mailing list