SDAEMDEV parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
 
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:SDAEMDEV parameter subtitle}}
==Summary==
==Summary==
<dl>
<dl>
Line 12: 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 SDAEMON
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 $comm functions (see
from running requests on behalf of users via $Comm functions (see
the [[Sirius Functions Reference Manual]]) or Daemon class requests (see the [[Janus SOAP Reference Manual]]), 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]]
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 53,
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 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]].
For more information about IODEV cards, see the [[Model 204 Command Reference Manual]].


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 [[Sirius Mods Installation Guide]].
[[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.