[SNMP4J] Performance Issue

Heiner Lamprecht heiner at heiner-lamprecht.net
Wed Sep 22 21:03:08 CEST 2010


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
> 




More information about the SNMP4J mailing list