Re: journalctl error | tcpConnectionTable insert (-1)

Ricky Cousins <[email protected]> Fri, 25 Feb 2022 14:10:11 +0100 (CET)
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I have reduced the logging level with -LS3d and am still seeing a flood of errors. This causes a flickering in our monitoring system causing it to think the system is down. 


From: "Paul Herring" <[email protected]> 
To: "Ricky Cousins" <[email protected]> 
Cc: "net-snmp-users" <[email protected]> 
Sent: Thursday, February 24, 2022 4:38:50 PM 
Subject: Re: journalctl error | tcpConnectionTable insert (-1) 

Are you logging debug messages? 

[ https://github.com/net-snmp/net-snmp/blob/7fe7a78eb113fa752c224b358b931b6ef8530e29/snmplib/container.c#L347 | https://github.com/net-snmp/net-snmp/blob/7fe7a78eb113fa752c224b358b931b6ef8530e29/snmplib/container.c#L347 ] 

If so, on a production system you should probably reduce the amount of logging that's happening. 



On Thu, Feb 24, 2022 at 2:31 PM Ricky Cousins < [ mailto:[email protected] | [email protected] ] > wrote: 



Greetings, 

I currently have a situation where we have many TCP connections at once and seem to get many errors related to 'tcpConnectionTable'. It seems the connection table gets full and I would like to resolve this. If I am not mistaken, I cannot simply disable this specific piece of the MIB. 

Below is the error: 
$ journalctl --unit=snmpd.service -n 20
--- snip ---
(host.domain) snmpd[27055]: error on subcontainer 'tcpConnectionTable' insert (-1)
--- snip --- 

_______________________________________________ 
Net-snmp-users mailing list 
[ mailto:[email protected] | [email protected] ] 
Please see the following page to unsubscribe or change other options: 
[ https://lists.sourceforge.net/lists/listinfo/net-snmp-users | https://lists.sourceforge.net/lists/listinfo/net-snmp-users ] 





-- 
PJH

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users