Hi
We're making some agent simulator to make intentional heavy load of SNMP message to find out if our SNMP manager can afford to these message.
We made SNMP agent by using SNMP agent toolkit and make them as threads so that these thread should act like the stand-alone agent by binding virtual ip in one linux machine.
As what I found in the generated code, the AdventnetSnmpAgent class looks like thread-safe.
So we generated threads about 500 instances (as I know, once main class instantiated the agent class, agent construnct code will run as thread)
But All of thread could not run and initialized successfully.
Moreover, SnmpAgentInitializer is the class having its most member method as static which is called in init() method defined in AdventnetSnmpAgent Code.
My question are below.
1. The generated code e.g AdventnetSnmpAgent is multi-threadable?
2. If so, Is there any retriction to initiate a number of SnmpAgent instance at the same time, like must give some delay within each instantiation procedure.
3. If AdventNetSnmpAgent is multi-threadable, Each thread instance will run without any interference with other thread. that means each agent thread act like independent agent application. (actually that is what we exactly want)
Please check it out and let me know the answer ASAP
Thanks.