SDAEMDEV parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 16: Line 16:


==Description==
==Description==
This parameter specifies the IODEV number to be used for SDAEMON (pronounced ess-demon) threads.
This parameter specifies the <var>[[IODEV_parameter|IODEV]]</var> number to be used for [[Sdaemons]] (pronounced ess-demon) threads.
These are special background threads (analogous to IODEV=3 threads)
These are special background threads (analogous to IODEV=3 threads)
that operate without terminals and perform a variety of tasks,
that operate without terminals and perform a variety of tasks,
from running requests on behalf of users via $comm functions (see
from running requests on behalf of users via $Comm functions (see
the [[Sirius Functions Reference Manual]]) or [[Daemon class]] requests, to [[Janus Web Server]]
the [[List of $functions]]) or <var>[[Daemon class|Daemon]]</var> class requests, to [[Janus Web Server]]
and other Janus server requests, to running as [[Janus Debugger]] or [[SirFact]] worker threads.
and other Janus server requests, to running as [[Debugger]] or [[SirFact]] worker threads.


The value of the <var>SDAEMDEV</var> parameter must be an odd number between 1 and 53,
The value of the <var>SDAEMDEV</var> parameter must be an odd number between 1 and 73,
and it must be different from the [[TNDEV parameter]].
and it must be different from the [[TNDEV parameter|TNDEV]] parameter.


<p class="note"><b>'''Note:'''</b>
<p class="note"><b>'''Note:'''</b>
Any IODEV number selected for SDAEMDEV will be
Any IODEV number selected for <var>SDAEMDEV</var> will be
unavailable for its normal function.
unavailable for its normal function.
The recommended setting for SDAEMDEV is 15 ''unless''
The recommended setting for <var>SDAEMDEV</var> is 15 ''unless''
a site is using BTAM TTY terminals, which is exceedingly unlikely
a site is using BTAM TTY terminals, which is exceedingly unlikely
these days. </p>
these days. </p>


Once an <var>SDAEMDEV</var> value is defined, <var>[[IODEV parameter|IODEV]]</var> cards must be added for the threads
Once an <var>SDAEMDEV</var> value is defined, <var>[[IODEV parameter|IODEV]]</var> cards must be added for the threads
that will run as SDAEMONs, just as IODEV cards are added for any other thread
that will run as Sdaemons, just as IODEV cards are added for any other thread type supported by [[Model 204]]. The correct number of IODEV cards depends on too many factors to provide any simple rules, but most sites should have at least 10, and then as many more as the maximum expected number of simultaneous Janus connections.
type supported by [[Model 204]].


The correct number of IODEV cards depends on too many factors to provide any
As described in [[Daemons#Thread limits|Thread limits]], the number of sdaemon threads you use is subject to the limits set in the <var>[[MAXDAEM parameter|MAXDAEM]]</var> and <var>[[MAXBG parameter|MAXBG]]</var> parameters.  
simple rules, but most sites should have at least 10, and then as many
more as the maximum expected number of simultaneous Janus connections.
 
For more information about setting up SDAEMON threads, see the <var class="book">[[Sirius Mods Installation Guide]]</var>.


[[Category:System parameters]]
[[Category:System parameters]]
[[Category:Parameters]]
[[Category:Parameters]]

Latest revision as of 16:21, 12 January 2018

IODEV number for SDaemons

Summary

Default value
0
Parameter type
System
Where set
User 0 CCAIN parameters
Related products
All
Introduced
Before Sirius Mods 6.7

Description

This parameter specifies the IODEV number to be used for Sdaemons (pronounced ess-demon) threads. These are special background threads (analogous to IODEV=3 threads) that operate without terminals and perform a variety of tasks, from running requests on behalf of users via $Comm functions (see the List of $functions) or Daemon class requests, to Janus Web Server and other Janus server requests, to running as Debugger or SirFact worker threads.

The value of the SDAEMDEV parameter must be an odd number between 1 and 73, and it must be different from the TNDEV parameter.

Note: Any IODEV number selected for SDAEMDEV will be unavailable for its normal function. The recommended setting for SDAEMDEV is 15 unless a site is using BTAM TTY terminals, which is exceedingly unlikely these days.

Once an SDAEMDEV value is defined, IODEV cards must be added for the threads that will run as Sdaemons, just as IODEV cards are added for any other thread type supported by Model 204. The correct number of IODEV cards depends on too many factors to provide any simple rules, but most sites should have at least 10, and then as many more as the maximum expected number of simultaneous Janus connections.

As described in Thread limits, the number of sdaemon threads you use is subject to the limits set in the MAXDAEM and MAXBG parameters.