
149
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
XML configuration files reference
Last updated 11/28/2012
The elements in this section configure debug connections, including the maximum number of connections and the
value for application.allowDebug.
Contained elements
AllowDebugDefault
,
MaxPendingDebugConnections
Diagnostic
Specifies whether diagnostic logging for the message queue is enabled. The default value is false.
See also
Enabled
DirLevelSWFScan
Specifies the number of levels of subfolders within a parent folder to scan for SWF files. The parent folder is specified
in the
SWFFolder
element.
Specifying a positive value scans that number of subfolder levels. Specifying zero scans the parent folder and no
subfolders. Specifying a negative value scans all subfolder levels. The default value is 1, which means that the server
scans only one subfolder level.
See also
SWFFolder
,
SWFVerification
DisallowedProtocols
Specifies which protocols cannot be used to connect to an application. Specify protocols in a comma delimited list. Any
protocol not specified is allowed. For example, the following disallows rtmp and rtmps connections:
<DisallowedProtocols>rtmp,rtmps</DisallowedProtocols>
The default value is blank, which allows all protocols to connect to the server.
Distribute
Specifies how to distribute application instances to processes. The default value is
insts
, meaning each application
instance runs in its own process. This tag contains a
numprocs
attribute, which specifies the maximum number of
processes to run concurrently. The default value of the
numprocs
attribute is 3.
This feature is turned on by default. To use this feature, the
numprocs
attribute must be set to a value higher than 0 or
1. With the default configuration, for all your applications and application instances under a single virtual host, three
core processes will run. Each virtual host is allotted three core processes, so systems that use multiple virtual hosts will
generate more running processes.
Note:
There is no limit to the value of the
numprocs
attribute, but you should never need more than 40.
Scopes have an enclosing relationship with a strict ordering: adaptors contain virtual hosts, which contain
applications, which contain instances, which contain clients. The value of the
Distribute
tag must be a scope that is
lower in order than the value in the
Scope
tag. In other words, if the value of
Scope
is
adaptor
, the value of
Distribute
can be
vhosts
,
apps
,
insts
, or
clients
. If the value of
Scope
is
app
, the value of
Distribute
can be
insts
or
clients
. By default, the server uses the value immediately lower than the one specified in the
Scope
tag.