[SNMP4J] Performance Issue
Heiner Lamprecht
heiner at heiner-lamprecht.net
Thu Sep 23 18:28:44 CEST 2010
Hi Frank,
thanks for the tip, it solved the problem.
Best regards,
Heiner
Am 23.09.2010 um 08:02 schrieb Frank Fock:
> Hi Reiner,
>
> Please upgrade SNMP4J to 1.11.1 and the other libs accordingly. That will fix the problem (it is related to JDK 1.6).
>
> Best regards
> Frank
>
>
>
> Am 22.09.2010 um 21:03 schrieb Heiner Lamprecht <heiner at heiner-lamprecht.net>:
>
>> Hi,
>>
>> sorry, I forgot:
>>
>> snmp4j 1.11.0
>> snmp4j agent 1.4.0
>> snmp4j agentx 1.3.0
>>
>> JDK 6 on OpenSuse. I think, JDK is 1.0.6-19, but I can check the exact version tomorrow.
>>
>> All the best,
>>
>>
>> Heiner
>>
>>
>> Am 22.09.2010 um 20:13 schrieb Frank Fock:
>>
>>> Hi,
>>>
>>> What versions of SNMP4J, SNMP4J-Agent, and SNMP4J-AgentX
>>> are you using on which platform and JDK type/version?
>>>
>>> Best regards,
>>> Frank
>>>
>>> On 22.09.2010 19:11, Heiner Lamprecht wrote:
>>>> Hello,
>>>>
>>>> I'm completely new to snmp4j, trying to go my first steps.
>>>>
>>>> I'm currently playing a bit especially with the AgentX implementation. I have a small application that acts as kind of proxy, taking agentx to the snmpd and rmi to a remote application.
>>>>
>>>> Everything works fine, but unfortunately, it takes up 100% CPU.
>>>>
>>>> I connected a profiler (visualvm) and could see, that most of the CPU time (>98%) was used in java.net.SocketInputStream.read(). And that's while no one requested any variables (no snmp get or walk).
>>>>
>>>> How can I identify, which component is causing this?
>>>>
>>>> I used the example provided in the code, the main difference is the build-up of the MIB.
>>>>
>>>>
>>>> Any hints or ideas are very well appreciated.
>>>>
>>>>
>>>> All the best,
>>>>
>>>>
>>>> Heiner
>>>>
>>>> _______________________________________________
>>>> SNMP4J mailing list
>>>> SNMP4J at agentpp.org
>>>> http://lists.agentpp.org/mailman/listinfo/snmp4j
>>>
>>> --
>>> AGENT++
>>> http://www.agentpp.com
>>> http://www.snmp4j.com
>>> http://www.mibexplorer.com
>>> http://www.mibdesigner.com
>>>
>>> _______________________________________________
>>> SNMP4J mailing list
>>> SNMP4J at agentpp.org
>>> http://lists.agentpp.org/mailman/listinfo/snmp4j
>>>
>>
>> _______________________________________________
>> SNMP4J mailing list
>> SNMP4J at agentpp.org
>> http://lists.agentpp.org/mailman/listinfo/snmp4j
>
More information about the SNMP4J
mailing list