NSERVS parameter

From m204wiki
Jump to navigation Jump to search

Number of servers

Summary

Default value
NUSERS
Parameter type
System
Where set
On User 0's parameter line
Related products
All
Introduced
Model 204 V2.1 or earlier

Description

NSERVS specifies the number of servers.

When NSERVS is not set explicitly, Model 204 gives it a value equal to the setting of NUSERS. NSERVS cannot be set to a value greater than NUSERS — if you try to do so, the parameter gets reset to the value of NUSERS during Model 204 initialization. The NSERVS minimum value is 1.

The algorithm to determine if NSERVS, NUSERS, and NSUBTKS are too large is:

IF NUSERS=NSERVS NUSERS + NSUBTKS + 1 > 32767 ELSE NSERVS + NUSERS + NSUBTKS + 1 > 32767

If too many process control blocks are requested, the user receives the following message:

M204.0021: NSERVS+NUSERS(IF SWAPPING)+NSUBTKS+1 > 32767

Each server, user, pseudo subtask, and the Scheduler has a process control block. There may not be more than 32767 process control blocks.

If you receive the M204.0021 message, adjust the combination of NUSERS, NSERVS, and NSUBTKS + 1 so that it does not exceed 32767.