How can I reduce thread count during corb running. I was trying below but not work Thanks
[linux1]$corb thread-count 8
It isn't clear what the corb
process is that you are running, to know how it may be passing any commandline switches and using them to invoke the CoRB process.
There is a THREAD-COUNT option that can be specified as either a system property, main arg, or as an option within the OPTIONS-FILE or COMMAND-FILE.
CoRB needs options specified through one or more of the following mechanisms:
-DXCC-CONNECTION-URI=xcc://user:password@localhost:8202
-DOPTIONS-FILE=myjob.properties
. Relative and full file system paths are also supported.If specified in more than one place, a command line parameter takes precedence over a Java system property, which take precedence over a property from the OPTIONS-FILE properties file.
There are a couple of ways to adjust the thread count dynamically, as the job is executing:
If you set the COMMAND-FILE to point to a properties file (doesn't have to exist when the job is started, but can be the OPTIONS-FILE), then CoRB will watch that file and will update the number of threads if you happen to change the THREAD-COUNT
If you have enabled the UI, by specifying the JOB-SERVER-PORT with an available port or range of ports, then you could change the thread count from the UI (URL gets logged on startup), and could also make the same HTTP calls that the UI does.