Hello Nair,
Yes, your program will take overall of the available threads if you issue it 5 times depending on theimplementation. Simply increasing the number of threads is not a goodsolution either as it can decrease performance. I would like to suggest acouple of options here:
1) Have a separate Livelink instance with2 or 3 threads which is dedicated for you to run this request on. Even ifyou use all of the threads on this instance, the primary instance of Livelinkwill not be affected so your users will not experience any issues.
2) Write the request handler in such a waythat it checks first if this request is running on another thread, and if so,just forwards you to the process updates. And if not, then it can proceedas usual. Since each thread has it’s own separate environment, youwould have to set a flag either in the database, or in a file to be able totell if the process is already running on another thread.
From: eLinkDiscussion: Livelink Builder Discussion [mailto:componentbuilder@elinkkc.opentext.com]Sent: Monday, December 18, 200610:47 AMTo: eLink RecipientSubject: Max number of threads qn?
Max number of threads qn?
Posted by nairkrishnankutty (Krishnankutty, Nair) on 12/18/2006 10:47 AM
I wanted to ask the guru's here of this scenario a)Livelink 9.5 SP1 with 5 threads Max and Min in opentext.ini I have created a RH which takes some time to complete.(It is a nodecrawler to handle category upgrades 100 nodes at a time hardcoded,several of the containers take more than 24 hrs to complete) If I issue llisapi.dll?func=<mymodule>.RH&<myparameter1> five times does it mean that my program has taken over all available threads.I have employed a browserbegone and am actually polling the server when needed for the process updates. I also found an article in the lapi section about "blocking"threads and about 10 more backlog that livelink can handle where it says that it is futile trying to generate more threads than the livelink server can handle and exceeding the 10 backlog.Is the oscript RH situation any different ?