[AGENT++] max threads ?
Frank Fock
fock at agentpp.com
Wed Nov 12 20:02:48 CET 2003
Hi Enzo,
By default, AGENT++ uses a thread pool of four threads. Thus,
four requests can be simutaneously processed. A fifth request
would be wait until the first of the four has been finished.
In fact the upper limit of concurrent requests is only defined by
the size of your UDP buffer.
When your agent crashes because of concurrent requests, then
you probably have a synchronization weekness in your instrumentation
code. Although AGENT++ does most of the locking for you, you
need to be careful when implementing code that accesses other
MIB objects in agent other than that from which your instrumentation
code has been called.
Hope this helps.
Best regards,
Frank
Enzo Vigano wrote:
>Hi everybody,
>I'm using an agent based on AGENT++v3.5 on linux Rh9 and it crashes when it
>process at the same time more than one get request (sent by westhawk 4.13
>stack ).
>It has been built as multi-threaded agent. With single get request all ok.
>Any idea or does anybody know if there is a max threads requests that can be
>processed simultaneously?
>Thank you .
>Ciao.
>
>
>
>
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://agentpp.org/mailman/listinfo/agentpp
>
>
>
More information about the AGENTPP
mailing list