
202
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
XML configuration files reference
Last updated 11/28/2012
FLVCache
Container element.
Contains elements that control the size and features of the recorded media cache.
Contained elements
FileCheckInterval
,
MaxSize (FLVCache)
,
MaxKeyframeCacheSize
FLVCachePurge
Located in the
ResourceLimits
container.
Specifies how often, in minutes, to remove unused files from the cache. The default value is 60 minutes. The minimum
value is 1 minute. If you specify a value of less than 1minute, the default value of 60 is used.
FLVCacheSize
Located in the
ResourceLimits
container.
Specifies the maximum size of the recorded media cache. The recorded media cache size is specified as a percentage of
the total available RAM on the system. The default setting for the cache size is 10 (10%). The maximum setting is 100
(100%), in which case virtual memory will also be used.
Use this setting to configure the cache for optimal memory use. If you are receiving “cache full” events in the core log
file or want to increase the chance that streams will find the information needed in the cache, increase the size of the
cache. To minimize the amount of memory used in the server process, decrease the size of the cache.
Example
<FLVCacheSize>10</FLVCacheSize>
FreeMemRatio
Located in the
MessageCache
,
SmallMemPool
,
LargeMemPool
, and
SegmentsPool
containers.
Specifies the maximum percentage of total memory that the total pool size may occupy. The range of this setting is
from 0 (0%) to 1 (100%). The default setting is 0.5 (50%).
Example
<FreeMemRatio>0.5</FreeMemRatio>
FreeRatio
Located in the
MessageCache
,
SmallMemPool
,
LargeMemPool
, and
SegmentsPool
containers.
Specifies the percentage of the message cache to be consumed by the free list on a per-thread basis. The range of this
setting is from 0 (0%) to 1 (100%). The default setting is 0.125 (12.5%).
When more free memory is available to a thread than the specified ratio, the freed memory returns to the global pool.
Example
<FreeRatio>0.125</FreeRatio>