[SNMP4J] Performance Issue
Heiner Lamprecht
heiner at heiner-lamprecht.net
Wed Sep 22 19:11:24 CEST 2010
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
More information about the SNMP4J
mailing list