[SNMP4J] Protocol mismatch (or socket errors in general) lead to many connection attempts using snmp4j 1.10.2

BCode bang.chill at gmail.com
Tue Feb 2 19:03:28 CET 2010


Hi Warren,

I think even i am hitting this scenario, the TCPMapping creation failing
after short period of time. Did you get through the overwriting
DefaultTCPTransportMapping?

Thanks,
BC

On Mon, Dec 28, 2009 at 8:27 PM, Warren Cooper <warren.cooper at softwareag.com
> wrote:

> If there is a connection problem between an SNMP agent configured to
> send TCP  in its attempt to send events to an SNMP server, and there is
> a problem making a connection, many attempts to send the events will
> fail.  ( It's a problem because the pending list (member in
> DefaultTCPTransportMapping) will continue to grow.
>
> To see the problem, configure an SNMP client to send 40 events over TCP
> to a SNMP server expecting UDP.
> (But this problem would happen in any case where  if
> (entry.getSocket().isConnected()) ) check in processPending() is not true.
> As you know, this is a serious problem since CPU resources are impacted
> and memory could eventually be exhausted if the problem continues for
> over an extended period of time and enough events are written to the
> 'pending' list object instance.
>
> thanks
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
>



More information about the SNMP4J mailing list