Hi,
We’ve updated our libraries to the latest and notice that CPU load on our AgentX SubAgent processes is a lot higher. A bit of debugging shows that our processing loop is pinging the master agent every millisecond, and not once per second as in previous versions.
while (agent_running && (!dynamic_cast<Agentpp::SubAgentXMib *>(mib)->get_agentx()->quit()))
{
req = reqList->receive(1);
if (req)
{
mib->process_request(req);
}
else
{
dynamic_cast<Agentpp::SubAgentXMib *>(mib)->ping_master();
}
}