Re: how to write a snmp daemon

Robert Story <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Wed, 1 Nov 2006 10:26:02 +0200 Vlad wrote:
VS> I did load test on net-snmp-5.3.0.1-1.EL4 and after sending
VS> approximately 2600000 traps net-snmp had crushed with follow message:
VS> 
VS> _callback_lock already locket in snmp_call_callbacks
VS> 
VS> netsnmp_assert 1==_locks[major][minor] failed callback.c:126
VS> _callback_lock()

Those messages, unless you explicitly defined NETSNMP_USE_ASSERT, would just
generate warnings. We'll need more info on the crash to try and help...

VS> Segmentation fault (core dumped)

Can you get a backtrace for the core file? Also, try print values for major and
minor. If they aren't defined in the top function on the stack, keep going up
the stack to try and find them...

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.