
240
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
XML configuration files reference
Last updated 11/28/2012
Set the
enable
attribute to
true
to close idle clients. If the
enable
attribute is omitted or set to
false
, the feature is
disabled. The default value is
false
.
A client is active when it is sending or receiving data. Use
AutoCloseIdleClients
to specify how often the server
should check for idle clients. When a client has been idle longer than the maximum idle time (60 seconds by default),
the server sends a status message to the NetConnectionobject (the client). The server closes the client connection to
the server and writes a message to the access log. The server also writes a message such as “Client
x
has been idle for
y
seconds” in the core and event logs.
To configure the closing of idle connections, you must enable the feature in the Server.xml file. Once you enable the
feature in the Server.xml file, you can disable the feature for individual virtual hosts in the Vhost.xml files or for
individual applications in Application.xml. The values defined in the Vhost.xml configuration file apply to all clients
connected to the Vhost, unless values are defined in the Application.xml file. The Application.xml values override the
Vhost.xml values. Subsequently, the values defined in the Server.xml configuration file apply to all clients connected
to the server, unless the values are defined in the Vhost.xml file. The Vhost.xml values override the Server.xml values.
Example
<AutoCloseIdleClients enable="false">
<MaxIdleTime>600</MaxIdleTime>
</AutoCloseIdleClients>
See also
AppsDir
,
MaxIdleTime
CacheDir
Container element.
This element enables or disables writing recorded streams to disk. Set this element on an edge server or an intermediate
origin server to control the caching behavior. The contents of the cache change. This element controls whether the
cached streams are written to disk, in addition to being cached in memory.
The edge server caches content locally to aid performance, especially for vod (video on demand) applications. Caching
static content can reduce the overall load placed on the origin server.
The default value of the
enabled
attribute is
false
. The
useAppDir
attribute determines whether to separate cache
subdirectories by application. The default value is
true
.
If a server has multiple virtual hosts, each virtual host should point to its own cache directory.
Contained elements
Mode
,
Anonymous
,
LocalAddress
,
RouteTable
,
Path
,
MaxSize
See also
RequestTimeout
Checkpoints
Enables logging checkpoint events. Checkpoint events log bytes periodically from the start to the end of an event. The
following are available as checkpoint events:
connect-continue
,
play-continue
, and
publish-continue
.
This element contains the enable attribute which you can set to
true
or
false
. Set the
enable
attribute to
true
to
turn on checkpoint events in logs. The default value is
false
.