The AppSvc plug-in uses two worker threads to process exceptions. You may need to increase the number of worker threads handle complex exception, or a large number of exceptions. Insufficient number of threads does not yield to an error, but can delay the processing of system exceptions. The AppSvc plug-in will warn of insufficient number of threads into the agent log file.
Increasing the number of worker threads
Click Agents.
Stop the com.sybase.rap.appsvc plug-in.
Open a command window.
Change to the directory where you installed Operations Console.
Change to ua\plugins\com.sybase.rap.appsvc on Windows, or ua/plugins/com.sybase.rap.appsvc on UNIX or Linux.
Open agent-plugin.xml with an editor.
Increase the value of .threads_count attribute on the following lines:
<set-property property="appsvc.acquire.worker.threads_count" value="2" />
<set-property property="appsvc.dispatcher.worker. threads_count" value="2" />
<set-property property="appsvc.handler.worker. threads_count" value="2" />
Set the number of threads for about one per exception until is a max number of 6 or 7. The total amount of threads necessary to run UA and its plug-ins should not exceed the maximum number allowed by the UAF JVM.
You can tune the JVM with additional command line arguments. Threads in AppSvc plug-in are only used when needed then released for similar tasks to execute, so realistically 6 threads per module should be sufficient to run hundreds of exceptions.