[SNMP4J] DefaultTCPTransportMapping class making 100% cpu utilization

Himalaya Gupta A Himalaya.A at aricent.com
Wed May 6 11:26:25 CEST 2015


Hi,

The following is the Thread Dump. I am running an application where the CPU is reaching 100% utilization due to the SNMP4J.
Can you please let me know if you have come across such situation or what might be the issue? Thanks in advance for your reply

SNMP4J Version : snmp4j - 1.11.3

"DefaultTCPTransportMapping_0.0.0.0/0" daemon prio=10 tid=0x5c596c00 nid=0x5431 runnable [0x5b06d000..0x5b06e030]
   java.lang.Thread.State: RUNNABLE
        at java.lang.Throwable.fillInStackTrace(Native Method)
        - locked <0xadbd3518> (a java.util.NoSuchElementException)
        at java.lang.Throwable.<init>(Throwable.java:181)
        at java.lang.Exception.<init>(Unknown Source)
        at java.lang.RuntimeException.<init>(Unknown Source)
        at java.util.NoSuchElementException.<init>(Unknown Source)
        at java.util.LinkedList.remove(Unknown Source)
        at java.util.LinkedList.removeFirst(Unknown Source)
        at org.snmp4j.transport.DefaultTcpTransportMapping$ServerThread.run(Unknown Source)
        - locked <0x79744b88> (a java.util.LinkedList)


"DefaultTCPTransportMapping_0.0.0.0/0" daemon prio=10 tid=0x0919c400 nid=0x5235 runnable [0x5b2ff000..0x5b2fffb0]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
        at sun.nio.ch.EPollArrayWrapper.poll(Unknown Source)
        at sun.nio.ch.EPollSelectorImpl.doSelect(Unknown Source)
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
        - locked <0x798ce4b8> (a sun.nio.ch.Util$1)
        - locked <0x798ce4a8> (a java.util.Collections$UnmodifiableSet)
        - locked <0x798ce078> (a sun.nio.ch.EPollSelectorImpl)
        at sun.nio.ch.SelectorImpl.select(Unknown Source)
        at sun.nio.ch.SelectorImpl.select(Unknown Source)
        at org.snmp4j.transport.DefaultTcpTransportMapping$ServerThread.run(Unknown Source)

Best regards,
Himalaya Gupta

"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."



More information about the SNMP4J mailing list