[AGENT++] limit on Log size

Jochen Katz katz at agentpp.com
Sun Oct 19 22:06:34 CEST 2008


Hi,

> 1)Is there any limit on the LOG size

there is most likely a 2GB limitation, if you let the AgentLogImpl class
open the log file. And AgentLogImpl does not have any code that handles
log file rotation. So if you edit the log file, anything can happen.

> and will there be any impact to the performance if i enable all the
> logs.

Sure: The higher you set each level, the more log messages are written
to file.

> 2) Also is there any limitation on Concurrent SNMP request to the
> agent. My Client sends 5 set  request at a time and some times the
> agent hangs and could not recieve any response.

If the agent hangs, there is most likely some locking problem inside the
agent. If you see the agent hanging again, use a debugger to see which
threads are waiting for which mutex.

Regards,
  Jochen



More information about the AGENTPP mailing list