Some additional info: The number of traps until it freezes my subagent depends on the size of the trap or something like that. Adding a loop on the notification.c example made it act just like my subagent, only with a different number of traps to freeze.
If I send just some traps, exit the callback function registered in the init_agentName() function and then send more when my callback function is called again, then I can send how many traps I want (at least I could send all in my test til I cancelled it). But this is not a good solution to me. Looking at subagent.c I've discovered that when the subagent can't ping Master AgentX it closes the session and unregisters callback functions and alarms so I guess this is why my subagent freezes. If this is correct then my problem is: Why Master AgentX dies after a sequence of traps? --- "Fabio \"Salsa\" Durieux Lopes" <[EMAIL PROTECTED]> wrote: > I'm running one subagent sending a lot of traps and > when it sends 299 traps it stops, the "snmpd" > process > is killed and so is Master AgentX. My subagent > remais > frozen forever. Looks like it is waiting for > something > (possibly the now dead Master AgentX). > > Any ideas on this? > > > > > > > __________________________________ > Do you Yahoo!? > Make Yahoo! your home page > http://www.yahoo.com/r/hs > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space > Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > Net-snmp-users mailing list > Net-snmp-users@lists.sourceforge.net > Please see the following page to unsubscribe or > change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users