Server.xml file

The Server.xml file is located at the root level of the conf directory and contains the tags and information used to configure Flash Media Server 2. You can edit the Server.xml file to add or remove configuration information.

The Server.xml file contains the following tag structure.

<Root>
        <Server>
            <AutoDiscovery>
                <Enable type="">false</Enable>
                <BindInfo></BindInfo>
                <ProxyInfo></ProxyInfo>
                <SecureProxyInfo></SecureProxyInfo>
                <Allow></Allow> 
                <Deny></Deny> 
                <Order>Allow,Deny</Order>
                <AllowZones></AllowZones>
                <MyZone></MyZone>
                <TTL>1</TTL>
                <ClusterMonitorInterval>60</ClusterMonitorInterval>
                <BroadcastAddress>255.255.255.255</BroadcastAddress>
                <BroadcastPort>67</BroadcastPort>
                <MaxWaitTime>100</MaxWaitTime>
                <UserData></UserData>
            </AutoDiscovery>
            <SSL>
                <SSLRandomSeed>16</SSLRandomSeed>
                <SSLSessionCacheGC>5</SSLSessionCacheGC>
                <SSLClientCtx>
                    <SSLVerifyCertificate>true</SSLVerifyCertificate>
                    <SSLCACertificatePath></SSLCACertificatePath>
                    <SSLCACertificateFile></SSLCACertificateFile>
                    <SSLVerifyDepth>9</SSLVerifyDepth>
                    <SSLCipherSuite>ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH</        <SSLCipherSuite>
                </SSLClientCtx>
            </SSL>
            <Process>
                <UID>${SERVER.PROCESS_UID}</UID> [Linux only]
                <GID>${SERVER.PROCESS_GID}</GID> [Linux only]
            </Process>
            <Mask>017</Mask>
            <AdminServer>
                <HostPort>${SERVER.ADMINSERVER_HOSTPORT}</HostPort>
                <SocketGC>60</SocketGC>
                <Process>
                    <UID>${SERVER.PROCESS_UID}</UID> [Linux only]
                    <GID>${SERVER.PROCESS_GID}</GID> [Linux only]
                </Process>
            </AdminServer>
            <ResourceLimits>
                <CPUMonitor>1</CPUMonitor>
                <ThreadPoolGC>20</ThreadPoolGC>
                <MsgPoolGC>60</MsgPoolGC>
                <ApplicationGC>5</ApplicationGC>
                <FLVCacheSize>40</FLVCacheSize>
                <SocketGC>60</SocketGC>
                <SSLSessionCacheGC>5</SSLSessionCacheGC>
                <Connector>
                    <HTTP>
                        <MinIOThreads>0</MinIOThreads>
                        <MaxIOThreads>0</MaxIOThreads>
                        <MaxConnectionQueueSize>-1</MaxConnectionQueueSize>
                    </HTTP>
                    <RTMP>
                        <MinIOThreads>0</MinIOThreads>
                        <MaxIOThreads>32</MaxIOThreads>
                        <NumCRThreads>0</NumCRThreads>
                        <MinConnectionThreads>0</MinConnectionThreads>
                        <MaxConnectionThreads>0</MaxConnectionThreads>
                        <MaxConnectionQueueSize>-1</MaxConnectionQueueSize>
                    </RTMP>
                </Connector>
                <Protocol>
                    <RTMP>
                        <Edge>
                            <MinIOThreads>0</MinIOThreads>
                            <MaxIOThreads>0</MaxIOThreads>
                            <SocketTableSize>-1</SocketTableSize>
                            <SocketOverflowBuckets>-1</SocketOverflowBuckets>
                        </Edge>
                        <Core>
                            <MinIOThreads>0</MinIOThreads>
                            <MaxIOThreads>0</MaxIOThreads>
                            <SocketTableSize>-1</SocketTableSize>
                            <SocketOverflowBuckets>-1</SocketOverflowBuckets>
                        </Core>
                        <Admin>
                            <MinIOThreads>0</MinIOThreads>
                            <MaxIOThreads>0</MaxIOThreads>
                            <SocketTableSize>-1</SocketTableSize>
                            <SocketOverflowBuckets>-1</SocketOverflowBuckets>
                        </Admin>
                    </RTMP>
                    <ECCP>
                            <MinIOThreads>0</MinIOThreads>
                            <MaxIOThreads>0</MaxIOThreads>
                            <SocketTableSize>-1</SocketTableSize>
                            <SocketOverflowBuckets>-1</SocketOverflowBuckets>
                            <CoreTimeout>30</CoreTimeout>
                    </ECCP>
                    <ACCP>
                            <MinIOThreads>0</MinIOThreads>
                            <MaxIOThreads>0</MaxIOThreads>
                            <SocketTableSize>-1</SocketTableSize>
                            <SocketOverflowBuckets>-1</SocketOverflowBuckets>
                    </ACCP>
                </Protocol>
                <IPCQueues>
                    <GlobalQueue>
                        <HeapSize>1024</HeapSize>
                        <MaxQueueSize>100</MaxQueueSize>
                    </GlobalQueue>
                    <EdgeCore>
                        <HeapSize>2048</HeapSize>
                        <MaxQueueSize>100</MaxQueueSize>
                    </EdgeCore>
                    <Services>
                        <HeapSize>2048</HeapSize>
                        <MaxQueueSize>100</MaxQueueSize>
                    </Services>
                </IPCQueues>
                <MessageCache>
                    <MaxCacheUnits>4096</MaxCacheUnits>
                    <MaxCacheSize>100</MaxCacheSize>
                    <MaxUnitSize>16</MaxUnitSize>
                    <FreeRatio>0.125</FreeRatio>
                    <GlobalRatio>0.4</GlobalRatio>
                    <MaxAge>1000000</MaxAge>
                    <UpdateInterval>1024</UpdateInterval>
                    <FreeMemRatio>0.5</FreeMemRatio>
                </MessageCache>
                <SmallMemPool>
                    <MaxCacheUnits>4096</MaxCacheUnits>
                    <MaxCacheSize>100</MaxCacheSize>
                    <MaxUnitSize>16</MaxUnitSize>
                    <FreeRatio>0.125</FreeRatio>
                    <GlobalRatio>0.4</GlobalRatio>
                    <MaxAge>1000000</MaxAge>
                    <UpdateInterval>1024</UpdateInterval>
                    <FreeMemRatio>0.5</FreeMemRatio>
                </SmallMemPool>
                <LargeMemPool>
                    <MaxCacheUnits>4096</MaxCacheUnits>
                    <MaxCacheSize>100</MaxCacheSize>
                    <MaxUnitSize>16</MaxUnitSize>
                    <FreeRatio>0.125</FreeRatio>
                    <GlobalRatio>0.4</GlobalRatio>
                    <MaxAge>1000000</MaxAge>
                    <UpdateInterval>1024</UpdateInterval>
                    <FreeMemRatio>0.5</FreeMemRatio>
                </LargeMemPool>
                <SegmentsPool>
                    <MaxCacheUnits>4096</MaxCacheUnits>
                    <MaxCacheSize>100</MaxCacheSize>
                    <MaxUnitSize>16</MaxUnitSize>
                    <FreeRatio>0.125</FreeRatio>
                    <GlobalRatio>0.4</GlobalRatio>
                    <MaxAge>1000000</MaxAge>
                    <UpdateInterval>1024</UpdateInterval>
                    <FreeMemRatio>0.5</FreeMemRatio>
                </SegmentsPool>
                <Master>
                    <CoreGC>300</CoreGC>
                    <CoreExitDelay>20</CoreExitDelay>
                </Master>
            </ResourceLimits>
            <Logging>
                <Time>local</Time>
                <Access>
                    <Enable>true</Enable>
                    <Scope>server</Scope>
                </Access>
                <Diagnostic>
                    <Enable>true</Enable>
                </Diagnostic>
                <Application>
                    <Enable>true</Enable>
                </Application>
            </Logging>
            </HttpProxy>
            <LocalHost>127.0.0.1</LocalHost>
        </Server>
        <ServerDomain></ServerDomain>
</Root>

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/fms/2/docs/00000218.html