Skip to main content


Set number of semaphores allocated per set.


[Debug]    semsperset=n

n is an integer. There is no maximum value. The default value is 0.


Semsperset is the number of semaphores InterSystems IRIS® data platform should allocate per semaphore set. When this parameter is set to 0 (the default), InterSystems IRIS allocates the maximum number of semaphores to each set, which results in the minimum number of semaphore sets.

A larger value for semsperset results in fewer semaphore sets of a larger size. There may be a performance benefit to having fewer semaphores per set, particularly on Linux systems (for example, by setting semsperset equal to 250), although this has not been thoroughly tested.

For more information, see Semaphores in InterSystems Products.

Changing This Parameter

You can change semsperset by editing the CPF in a text editor (as described in Editing the Active CPF). If the CPF does not already contain the [Debug] section, you must add it yourself. For example:


[Debug]         // Add the debug section if necesary,
semsperset=250  // then specify a value for semsperset.

FeedbackOpens in a new tab