Long delays when a value is set in an snmp table

"Philip Mason" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <77638F7A1E0E0A48B3E118AF250D1FC8D78B96@crystalvision02.Crystal.local>
Hello all,

I'm adding an agent to some embedded hardware and I have created a table
that contains details I need. When I try to set values however the agent
takes 4 or 5 seconds to reply to the manager which is performing the
set. 

After some hunting I've located the line of code that is causing the
problem. It is line 1160 of agent/helpers/table_dataset.c which is:

netsnmp_table_dataset_delete_all_data(data);

Commenting out this line makes the agent reply instantly (but can
probably won't be good in the long term ;-) ). Looking at the code
called from netsnmp_table_dataset_delete_all_data it all looks pretty
reasonable (the table has 133 entries, quite a few but not so many that
it needs 4 seconds to free).
 
Has anybody else had any trouble in this area? Can anybody point me in
the direction of things I could try next? 

Thanks in advance

Phil Mason


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
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.