This operating system value typically affects Linux and Unix systems. Threads are used by the operating system to handle process tasks. StayLinked is a multi-threaded process, creating various threads for system tasks as well as session handling. The hosting system must allow enough threads for StayLinked to operate. Typical installations can require one or two threads per session, plus several for the StayLinked Server operation. The system value is commonly controlled by the OS parameter entry called max_thread_proc. Different operating system versions may use other values. The StayLinkedManager.log file records thread information on each line for the JVM heap size. iSeries administrators can review the threads as part of the WRKACTJOB command. Limitations that prevent creation of new threads are often noted in the StayLinkedStdErr or StayLinkedStdOut log files as an entry ‘unable to create new native thread’.
Share the post "Server Tuning Guide – Threads per Process"