Hello, Thanks Wes!
Registering instances for the part of the table was *so big* because I did register: 8x13x8x96 = 79872 instances (!). This was needed for the dsx1IntervalTable for eight line indexes and memory consumption increase from about 2.5MB to 11MB of running memmory. Nightmare. For the same table now I'm using netsnmp_register_handler(), each for one column and interface (because range_subid nad range_ubound doesn't work in version 5.1.1) but I'd had to wrote helper handler by myself. Memory consumption was for 8x13x8 = 832 handlers about 200kB. Nice. Exceptable. Me happy. :) Prevent instaling headers does not work... :( Have a nice day, Igor P.S.: It's snowing now in Slovenia. :))) -----Original Message----- From: Wes Hardaker [mailto:[EMAIL PROTECTED] Sent: 12. december 2004 6:25 To: Grasic Igor Cc: [EMAIL PROTECTED] Subject: Re: Memory consumption with registering instances >>>>> On Fri, 12 Nov 2004 14:47:25 +0100, "Grasic Igor" <[EMAIL PROTECTED]> said: Grasic> Hello everybody, Sorry for the delay. Grasic> What I've noticed, that with registering large number of rows Grasic> (with some double indexed tables for example Grasic> dsx1IntervalTable), running memory consumption drastically Grasic> increase. Hmm... I'm not sure why you'd be seeing *that* big of a hit. Obviously, more registrations do mean more memory but it shouldn't be that big. Grasic> I know that solution is probably in moving DS1 modul to the Grasic> master agent and use dynamicaly indexed table... Is there any Grasic> other solution or am I missing something? Or by moving it entirely to the subagent and registering the entire table there. Either of these will mean less overhead from both the subagent and/or the master agent. Registering full tables *is* more efficient, but there are times when it can't be done (obviously) like when a table simply must be shared. Grasic> The next question is how to prevent installing headers, when Grasic> the 'make install' is used? I didn't find any switch for Grasic> configure to achive that. Um... make INSTALLHEADERS= INSTALLBUILTHEADERS= INCLUDESUBDIRHEADERS= INCLUDESUBDIRHEADERS2= INSTALLBUILTSUBDIRHEADERS= INSTALLUCDHEADERS= might work. Or it might not. -- Wes Hardaker Sparta ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders