A multithreaded model provides threads that are used for handling network connections. Threads are also assigned to the requests made by remote clients and the replies received from CICS.
The threading model uses the following objects:
You can set both the initial and maximum sizes of the resource pools for these objects; see Gateway daemon resources for information on setting configuration parameters.
You can also specify these limits when you start CICS Transaction Gateway. For more information see Starting from a command line.
System-wide limit of the maximum number of threads | Process limit of the number of threads |
---|---|
This might be restricted by the total number of MVS™ Task Control Blocks (one is created for each UNIX System Services thread.) | This limit is governed by the UNIX System Services parameters MAXTHREADS and MAXTHREADTASKS. |
The total number of threads in use by the Gateway daemon can be displayed using the MVS system command /D OMVS,L,PID=nnnn , where nnnn is the process ID of the JVM running the Gateway daemon, as displayed using the SDSF PS menu option. You can also determine what values are set for the UNIX System Services parameters MAXTHREADS and MAXTHREADSTASK by examining the appropriate BPXPRMxx member of SYS1.PARMLIB. For more information about these parameters, see the z/OS UNIX System Services Planning.
For information on how EXCI pipes constrain the maximum number of threads, see Maximum number of worker threads.