SDAEMDEV parameter: Difference between revisions
(Automatically generated page update) |
RPuszewski (talk | contribs) No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:SDAEMDEV parameter subtitle}} | {{Template:SDAEMDEV parameter subtitle}} | ||
==Summary== | ==Summary== | ||
<dl> | <dl> | ||
Line 13: | Line 14: | ||
<dd>Before <var class="product">Sirius Mods</var> 6.7 | <dd>Before <var class="product">Sirius Mods</var> 6.7 | ||
</dl> | </dl> | ||
==Description== | ==Description== | ||
This parameter specifies the IODEV number to be used for | This parameter specifies the <var>[[IODEV_parameter|IODEV]]</var> number to be used for [[Sdaemons]] (pronounced ess-demon) threads. | ||
(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 $ | from running requests on behalf of users via $Comm functions (see | ||
the [[ | the [[List of $functions]]) or <var>[[Daemon class|Daemon]]</var> class requests, to [[Janus Web Server]] | ||
and other Janus server requests, to running as [[ | and other Janus server requests, to running as [[Debugger]] or [[SirFact]] worker threads. | ||
worker threads. | |||
The value of the SDAEMDEV parameter must be an odd number between 1 and | The value of the <var>SDAEMDEV</var> parameter must be an odd number between 1 and 73, | ||
and must be different from the [[TNDEV parameter]]. | and it must be different from the [[TNDEV parameter|TNDEV]] parameter. | ||
'''Note:''' | <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. | these days. </p> | ||
Once an SDAEMDEV value is defined, IODEV 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 | 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]]. | |||
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. | |||
[[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.