jan_flanders

Untitled

Jun 22nd, 2012
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 35.88 KB | None | 0 0
  1. <Root>
  2.     <!-- This section contains information for configuring the server. -->
  3.     <Server>
  4.         <!-- Enables or disables IP version 6.      -->
  5.         <!-- Operating system network stack should be configured to support IPV6 to make this happend.   -->
  6.         <!-- FMS automatically detects operating system configuration and this key can force FMS to use IPv4 in case of IPv6 is available. -->
  7.         <NetworkingIPv6 enable="false"></NetworkingIPv6>
  8.         <!-- FMS Auth Adaptor plug-in section  -->
  9.         <Auth>This data can be retrieved by FMS Auth Adaptor plug-in.           Please look Auth Adaptor sample for details.</Auth>
  10.         <!-- This sections contains SSL configuration information.     -->
  11.         <SSL>
  12.             <!-- Specify the number of bytes of entropy to use for     -->
  13.             <!-- seeding the PRNG. You cannot specify anything less    -->
  14.             <!-- than 8 bytes, and the default is 16. Entropy is a     -->
  15.             <!-- measure of randomness. The more entropy, the more     -->
  16.             <!-- random numbers from the PRNG will be.                 -->
  17.             <SSLRandomSeed>16</SSLRandomSeed>
  18.             <!-- Specifies how often to flush expired sessions from    -->
  19.             <!-- server-side session cache.                            -->
  20.             <SSLSessionCacheGC>5</SSLSessionCacheGC>
  21.             <!-- The following section configures the server to act as an  -->
  22.             <!-- SSL client (out-going SSL connections).                   -->
  23.             <SSLClientCtx>
  24.                 <!-- This specifies whether or not to verify the cert that -->
  25.                 <!-- is returned by the server being connected to. Cert    -->
  26.                 <!-- verification is enabled by default. To disable cert   -->
  27.                 <!-- verification, specify false.                          -->
  28.                 <!-- WARNING!!! Disabling certificate verification can     -->
  29.                 <!-- result in a security hazard. Please be sure you know  -->
  30.                 <!-- what you are doing if you wish to disable this.       -->
  31.                 <SSLVerifyCertificate>true</SSLVerifyCertificate>
  32.                 <!-- Specifies the name of a directory containing CA       -->
  33.                 <!-- certificates. Each file in the directory must contain -->
  34.                 <!-- only a single CA certificate, and the files must be   -->
  35.                 <!-- named by the subject name's hash, and an extension of -->
  36.                 <!-- ".0".                                                 -->
  37.                 <!-- Win32 Only: If this tag is empty, we will attempt to  -->
  38.                 <!-- find CA certs in the "certs" directory located at the -->
  39.                 <!-- same level as the "conf" directory. The Windows cert  -->
  40.                 <!-- store can be imported into this directory by running  -->
  41.                 <!-- FMSMaster -console -initialize from the command line. -->
  42.                 <SSLCACertificatePath></SSLCACertificatePath>
  43.                 <!-- Specifies the name of a file containing one or more   -->
  44.                 <!-- CA certificates in PEM format.                        -->
  45.                 <SSLCACertificateFile></SSLCACertificateFile>
  46.                 <!-- Specifies the maximum depth of the certificate chain  -->
  47.                 <!-- we are willing to accept. If a self-signed root cert  -->
  48.                 <!-- cannot be found within this depth, cert verification  -->
  49.                 <!-- will fail. Default is 9.                              -->
  50.                 <SSLVerifyDepth>9</SSLVerifyDepth>
  51.                 <!-- Specifies the ciphers to use. This ia a list of colon delimited  -->
  52.                 <!-- components. A component can be a key exchange algorithm,         -->
  53.                 <!-- authentication method, encryption method, digest type, or one of -->
  54.                 <!-- a selected number of aliases for common groupings. For a list of -->
  55.                 <!-- components, please refer to the FMS documentation. Do not change -->
  56.                 <!-- the default settings unless you know what you are doing.         -->
  57.                 <SSLCipherSuite>ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH</SSLCipherSuite>
  58.             </SSLClientCtx>
  59.         </SSL>
  60.         <!-- Configures UID and GID for all the server processes       -->
  61.         <!-- In unix, all the server processes will switch from root   -->
  62.         <!-- to the UID and GID specified in this section for security -->
  63.         <!-- reason.  If no UID and GID are specified, the server      -->
  64.         <!-- will be running as root.                                  -->
  65.         <Process>
  66.             <!-- Process user ID (unix only) -->
  67.             <UID>${SERVER.PROCESS_UID}</UID>
  68.             <!-- Process group ID (unix only) -->
  69.             <GID>${SERVER.PROCESS_GID}</GID>
  70.         </Process>
  71.         <!-- This key controls who has read/write access to the shared object   -->
  72.         <!-- files and stream files in the server. The Mask is used by umask    -->
  73.         <!-- to set file creation mask.  By default, the mask is set to 017     -->
  74.         <!-- and the files are created with permission 0666.                    -->
  75.         <!-- 0666 & ~017 = 0660 = r w - r w - - - -, that means the owner of    -->
  76.         <!-- the server and all the users belonging to the same group as the    -->
  77.         <!-- owner will have read/write access to the files. This mask must be  -->
  78.         <!-- a 3 digit octal format                                             -->
  79.         <!-- This config node is for unix only.                                 -->
  80.         <Mask>017</Mask>
  81.         <!-- This key contains information related to the licensing of -->
  82.         <!-- the server, such as how many connections are allowed, and -->
  83.         <!-- various other things in the server license.               -->
  84.         <LicenseInfo>${SERVER.LICENSEINFO}</LicenseInfo>
  85.         <!-- All license keys added or removed using admin console is inserted in this tag -->
  86.         <LicenseInfoEx>SECRET :P</LicenseInfoEx>
  87.         <!-- Configures the largest I/O read buffers that the server will use. -->
  88.         <!-- Larger buffers may give better performance for some uses, but at  -->
  89.         <!-- the cost of higher memory usage.                                  -->
  90.         <ReadBufferSize>4096</ReadBufferSize>
  91.         <!-- Configures Flash Media Admin Server -->
  92.         <AdminServer>
  93.             <!-- Details and configurations for different versions of RTMP      -->
  94.             <RTMP>
  95.                 <!-- RTMPE is the encrypted RTMP protocol covering both RTMPE and RTMPTE -->
  96.                 <!-- This is enabled by default, setting enabled to "false will not  -->
  97.                 <!-- allow these protocols on this adaptor               -->
  98.                 <RTMPE enabled="true"></RTMPE>
  99.             </RTMP>
  100.             <!-- Specifies IP address and port to bind to. The format  -->
  101.             <!-- is [<ip>][:<port>]. The default is to bind to "any"   -->
  102.             <!-- available IP on port 1111.                            -->
  103.             <HostPort>${SERVER.ADMINSERVER_HOSTPORT}</HostPort>
  104.             <!-- Specifies the interface and port to listen on internally -->
  105.             <!-- for connections from fmscore process.                    -->
  106.             <IpcHostPort>localhost:11110</IpcHostPort>
  107.             <!-- Specifies how often (in sec.) to check for inactive sockets. -->
  108.             <SocketGC>60</SocketGC>
  109.             <!-- Configures UID and GID for the admin server                          -->
  110.             <!-- In unix, all the admin server processes will switch from root        -->
  111.             <!-- to the UID and GID specified in this section for security reason.    -->
  112.             <!-- If no UID and GID are specified, the server will be running as root. -->
  113.             <Process>
  114.                 <!-- Process user ID (unix only) -->
  115.                 <UID>${SERVER.PROCESS_UID}</UID>
  116.                 <!-- Process group ID (unix only) -->
  117.                 <GID>${SERVER.PROCESS_GID}</GID>
  118.             </Process>
  119.             <!-- to display <elem name="x"> instead of <_x> in the http command -->
  120.             <AdminElem>false</AdminElem>
  121.             <!-- This tag specifies to which admin connections we respond to.-->
  122.             <!-- This is specified as a comma delimited list of              -->
  123.             <!-- hostnames, domain names, and full or partial ip address, as -->
  124.             <!-- well as the keyword "all" (no quotes required).             -->
  125.             <!-- For example:                                                -->
  126.             <!-- <Allow>x.foo.com, foo.com, 10.60.1.133, 10.60</Allow> or    -->
  127.             <!-- <Allow>all</Allow>                                          -->
  128.             <Allow>all</Allow>
  129.             <!-- This tag specifies to which admin connections not to        -->
  130.             <!-- respond to. This is specified as a comma delimited list     -->
  131.             <!-- of hostnames, domain names, and full or partial ip address, -->
  132.             <!-- as well as the keyword "all" (no quotes required).          -->
  133.             <!-- For example:                                                -->
  134.             <!-- <Deny>x.foo.com, foo.com, 10.60.1.133, 10.60</Deny> or      -->
  135.             <!-- <Deny>all</Deny>                                            -->
  136.             <Deny></Deny>
  137.             <!-- Specifies the order to evaluate the Allow/Deny tags. This   -->
  138.             <!-- can be <Order>Deny,Allow</Order>, which means the request   -->
  139.             <!-- will be processed if not in <Deny> or in <Allow>. Or it can -->
  140.             <!-- be <Order>Allow,Deny</Order>, which means the request will  -->
  141.             <!-- be processed if in <Allow> and not in <Deny>.               -->
  142.             <Order>Allow,Deny</Order>
  143.         </AdminServer>
  144.         <!-- Configures automatic disconnecting of idle clients. A client is -->
  145.         <!-- idle if it has not sent or received any application data for    -->
  146.         <!-- some time. Application data does not include low level control  -->
  147.         <!-- msgs such as the built-in server ping mechanism. This is meant  -->
  148.         <!-- to clean up clients that, for example, are not playing or not   -->
  149.         <!-- publishing a stream, etc. To enable this feature, set the       -->
  150.         <!-- enable attribute to true. It is disabled by default. This can   -->
  151.         <!-- be overridden on a per-vhost basis. However, if disabled here,  -->
  152.         <!-- it is disabled for all vhosts. But if enabled here, vhosts can  -->
  153.         <!-- override it and disable it for that vhost. Vhosts can also      -->
  154.         <!-- override the max idle time (for that vhost only).               -->
  155.         <!-- <CheckInterval> is not overridable and applies to all vhosts.   -->
  156.         <AutoCloseIdleClients enable="false">
  157.             <!-- How often to check for idle clients. Specified in seconds. -->
  158.             <!-- Default is to check every 60 sec. (1 min)                  -->
  159.             <CheckInterval>60</CheckInterval>
  160.             <!-- How long a client can be idle before it is disconnected. -->
  161.             <!-- Specified in seconds. Default is 3600 sec. (1 hr)        -->
  162.             <MaxIdleTime>3600</MaxIdleTime>
  163.         </AutoCloseIdleClients>
  164.         <!-- Specifies max resource limits for the server. -->
  165.         <ResourceLimits>
  166.             <FLVCache>
  167.                 <FileCheckInterval>120</FileCheckInterval>
  168.                 <!-- The maximum size of the FLV cache, in megabytes. -->
  169.                 <!-- The default is 500MB. -->
  170.                 <MaxSize>${SERVER.FLVCACHE_MAXSIZE}</MaxSize>
  171.                 <!-- How often to modified the access time of the FLV cache file in   -->
  172.                 <!-- the proxy server when the FLV is actively used by the server.    -->
  173.                 <!-- Specified in seconds.  Default is 1200 sec. (20 mins)            -->
  174.                 <!-- Set value to -1 to disable the server from changing the access   -->
  175.                 <!-- time.                                                            -->
  176.                 <UpdateAccessTimeInterval>1200</UpdateAccessTimeInterval>
  177.                 <!-- The maximum number of keyframes per FLV file in cache.  The      -->
  178.                 <!-- cache is used to save the keyframes that are being generated     -->
  179.                 <!-- in the server when enhanced seeking is enabled.                  -->
  180.                 <!-- Default is 0 keyframe.                                           -->
  181.                 <MaxKeyframeCacheSize>0</MaxKeyframeCacheSize>
  182.             </FLVCache>
  183.             <!-- Configures buffer for FLV recording -->
  184.             <RecBuffer>
  185.                 <!-- Maximum number of messages that buffer holds before the messages -->
  186.                 <!-- are commited to FLV.  Default is 200, and minimum is 0           -->
  187.                 <MaxNumberOfMessages>200</MaxNumberOfMessages>
  188.                 <!-- Maximum size of the buffer can grow before the messages are      -->
  189.                 <!-- commited to FLV. Specified in kilo bytes.  Default is 5 Mb       -->
  190.                 <MaxSize>5120</MaxSize>
  191.                 <!-- Maximum gap between 2 adjacent messages when comparing the       -->
  192.                 <!-- message timestamps with the real time.  Server logs a warning    -->
  193.                 <!-- when the timestamps between 2 adjacent messages is bigger than   -->
  194.                 <!-- the difference in real time + MaxTimestampSkew.                  -->
  195.                 <!-- MaxTimestampSkew is in millisecond and is disabled by default    -->
  196.                 <!-- To enable the warning, set value to positive value               -->
  197.                 <MaxTimestampSkew>-1</MaxTimestampSkew>
  198.             </RecBuffer>
  199.             <!-- Monitor CPU usage every N seconds. -->
  200.             <CPUMonitor>1</CPUMonitor>
  201.             <!-- GC unused I/O threads every N minutes. -->
  202.             <ThreadPoolGC>20</ThreadPoolGC>
  203.             <!-- GC global msg pool ever N seconds. -->
  204.             <MsgPoolGC>60</MsgPoolGC>
  205.             <!-- GC unused applications every N minutes. -->
  206.             <ApplicationGC>5</ApplicationGC>
  207.             <!-- MAX FLV cache size : specified in percent of total physical memory on the system. -->
  208.             <FLVCacheSize>10</FLVCacheSize>
  209.             <!-- Specifies how often (in sec.) to check for inactive sockets. -->
  210.             <SocketGC>60</SocketGC>
  211.             <!-- Specifies how often (in min.) to gc the SSL session cache for outgoing SSL connections. -->
  212.             <SSLSessionCacheGC>5</SSLSessionCacheGC>
  213.             <!-- FMS provides connectors which allow application scripts to connect to other FMS server or. -->
  214.             <!-- HTTP servers. This section configures the connector subsystem -->
  215.             <Connector>
  216.                 <!-- HTTP connector : Used for Flash remoting-->
  217.                 <HTTP>
  218.                     <!-- For all thread configuration.                                                 -->
  219.                     <!-- A value of 0 allocates the default number of threads.                         -->
  220.                     <!-- A value greater than 0 allocates the exact number of threads specified.       -->
  221.                     <!-- A value less than 0 ties it to the number (N) of processors,                  -->
  222.                     <!--       -1 means 1xN threads                                                    -->
  223.                     <!--       -2 means 2xN threads etc.                                               -->
  224.                     <!--Minimum number threads used for processing connection requests. 0 = default = 2 -->
  225.                     <MinConnectionThreads>0</MinConnectionThreads>
  226.                     <!-- Maximum number of threads that can be created for connection processing. 0 = use default (10) -->
  227.                     <MaxConnectionThreads>0</MaxConnectionThreads>
  228.                     <!-- Max connections requests that can be pending. Connections will be rejected if queue size limit is reached. -->
  229.                     <!-- -1 = default = 1000. -->
  230.                     <MaxConnectionQueueSize>-1</MaxConnectionQueueSize>
  231.                     <!-- Configures how to cache handles used for HTTP requests -->
  232.                     <HandleCache>
  233.                         <!-- Max number of handles to cache -->
  234.                         <MaxSize>100</MaxSize>
  235.                         <!-- If no http requests have been made to a host for this long, -->
  236.                         <!-- we will free some of the handles cached for this host. Time -->
  237.                         <!-- is specified in minutes. Default is 10 minutes.             -->
  238.                         <IdleTime>30</IdleTime>
  239.                         <!-- When gc'ing handles, we don't gc all the handles for a host -->
  240.                         <!-- all at once. Instead, we trim a percentage of the cached    -->
  241.                         <!-- handles. Specified as a number between 0 and 1. Default is  -->
  242.                         <!-- 0.2 (20%).                                                  -->
  243.                         <TrimSize>0.2</TrimSize>
  244.                         <!-- How often to gc idle handles. Specified in minutes. Default -->
  245.                         <!-- is 60 min.                                                  -->
  246.                         <GCInterval>60</GCInterval>
  247.                     </HandleCache>
  248.                 </HTTP>
  249.                 <!-- RTMP connector : For server to server connections-->
  250.                 <RTMP>
  251.                     <!-- For all I/O  and connection threads processing. -->
  252.                     <!-- A value of 0 allocates the default number of threads (10).                    -->
  253.                     <!-- A value greater than 0 allocates the exact number of threads specified.       -->
  254.                     <!-- A value less than 0 ties it to the number (N) of processors,                  -->
  255.                     <!--       -1 means 1xN threads                                                    -->
  256.                     <!--       -2 means 2xN threads etc.                                               -->
  257.                     <!--Minimum numnber threads in the pool for I/O operations. 0 = defualt value 2x processor -->
  258.                     <MinIOThreads>0</MinIOThreads>
  259.                     <!-- Maximum number of threads that can be created for I/O processing. -1 = use default (32) -->
  260.                     <MaxIOThreads>32</MaxIOThreads>
  261.                     <!-- Number of completion routine threads that for edge (on win32) I/O processing. -->
  262.                     <NumCRThreads>0</NumCRThreads>
  263.                     <!--Minimum number threads used for processing connection requests. 0 = default = 1 -->
  264.                     <MinConnectionThreads>0</MinConnectionThreads>
  265.                     <!-- Maximum number of threads that can be created for connection processing. 0 = use default (5) -->
  266.                     <MaxConnectionThreads>0</MaxConnectionThreads>
  267.                     <!-- Max connections requests that can be pending. Connections will be rejected if queue size limit is reached. -->
  268.                     <!-- -1 = default = 1000. -->
  269.                     <MaxConnectionQueueSize>-1</MaxConnectionQueueSize>
  270.                 </RTMP>
  271.             </Connector>
  272.             <Protocol>
  273.                 <!-- RTMP protocol configuration -->
  274.                 <!-- For all I/O  and connection threads processing. -->
  275.                 <!-- A value of 0 allocates the default number of threads (10).                    -->
  276.                 <!-- A value greater than 0 allocates the exact number of threads specified.       -->
  277.                 <!-- A value less than 0 ties it to the number (N) of processors,                  -->
  278.                 <!--       -1 means 1xN threads                                                    -->
  279.                 <!--       -2 means 2xN threads etc.                                               -->
  280.                 <RTMP>
  281.                     <Edge>
  282.                         <!--Minimum numnber threads in the pool for I/O operations. 0 = 2 x Number of processors -->
  283.                         <MinIOThreads>0</MinIOThreads>
  284.                         <!-- Maximum number of threads that can be created for I/O processing. 0 = use default ( 10) -->
  285.                         <MaxIOThreads>0</MaxIOThreads>
  286.                         <!--Size of direct access socket table for quick lookup. -1 = default = 200 -->
  287.                         <SocketTableSize>-1</SocketTableSize>
  288.                         <!-- Number of overflow buckets if all slots in socket table are in use. -1 = use default (16) -->
  289.                         <SocketOverflowBuckets>-1</SocketOverflowBuckets>
  290.                         <!-- The maximum number of connections per second the server will -->
  291.                         <!-- accept. NOTE: this is per listener. So if FMS has multiple   -->
  292.                         <!-- listeners configured (i.e. listening on multiple ports), the -->
  293.                         <!-- connection rate configured here will apply to each listener. -->
  294.                         <!-- Default is -1 which means connection throttling is disabled. -->
  295.                         <MaxConnectionRate>-1</MaxConnectionRate>
  296.                     </Edge>
  297.                     <Core>
  298.                         <!--Minimum numnber threads in the pool for I/O operations. 0 = 2 x Number of processors -->
  299.                         <MinIOThreads>0</MinIOThreads>
  300.                         <!-- Maximum number of threads that can be created for I/O processing. 0 = use default ( 10) -->
  301.                         <MaxIOThreads>0</MaxIOThreads>
  302.                         <!--Size of direct access socket table for quick lookup. -1 = default = 200 -->
  303.                         <SocketTableSize>-1</SocketTableSize>
  304.                         <!-- Number of overflow buckets if all slots in socket table are in use. -1 = use default (16) -->
  305.                         <SocketOverflowBuckets>-1</SocketOverflowBuckets>
  306.                     </Core>
  307.                     <Admin>
  308.                         <!--Minimum numnber threads in the pool for I/O operations. 0 = 2 x Number of processors -->
  309.                         <MinIOThreads>0</MinIOThreads>
  310.                         <!-- Maximum number of threads that can be created for I/O processing. 0 = use default ( 10) -->
  311.                         <MaxIOThreads>0</MaxIOThreads>
  312.                         <!--Size of direct access socket table for quick lookup. -1 = default = 200 -->
  313.                         <SocketTableSize>-1</SocketTableSize>
  314.                         <!-- Number of overflow buckets if all slots in socket table are in use. -1 = use default (16) -->
  315.                         <SocketOverflowBuckets>-1</SocketOverflowBuckets>
  316.                     </Admin>
  317.                     <!-- Specifies the size (in bytes) of the socket send buffer. -->
  318.                     <!-- Default is 0 which means to use OS default.              -->
  319.                     <SocketSndBuf>0</SocketSndBuf>
  320.                     <!-- Specifies the size (in bytes) of the socket recv buffer. -->
  321.                     <!-- Default is 0 which means to use OS default.              -->
  322.                     <SocketRcvBuf>0</SocketRcvBuf>
  323.                 </RTMP>
  324.                 <!--Edge core communication protocol -->
  325.                 <ECCP>
  326.                     <!--Minimum numnber threads in the pool for I/O operations. 0 = 2 -->
  327.                     <MinIOThreads>0</MinIOThreads>
  328.                     <!-- Maximum number of threads that can be created for I/O processing. 0 = use default (10) -->
  329.                     <MaxIOThreads>0</MaxIOThreads>
  330.                     <!--Size of direct access socket table for quick lookup. -1 = default = 200 -->
  331.                     <SocketTableSize>-1</SocketTableSize>
  332.                     <!-- Number of overflow buckets if all slots in socket table are in use. -1 = use default (16) -->
  333.                     <SocketOverflowBuckets>-1</SocketOverflowBuckets>
  334.                     <!-- Timeout (seconds) to detect unresponsive cores. 0 will disable timeout check. -->
  335.                     <CoreTimeout>30</CoreTimeout>
  336.                 </ECCP>
  337.                 <!--Admin core communication protocol -->
  338.                 <ACCP>
  339.                     <!--Minimum numnber threads in the pool for I/O operations. 0 = 2 -->
  340.                     <MinIOThreads>0</MinIOThreads>
  341.                     <!-- Maximum number of threads that can be created for I/O processing. 0 = use default (10) -->
  342.                     <MaxIOThreads>0</MaxIOThreads>
  343.                     <!--Size of direct access socket table for quick lookup. -1 = default = 200 -->
  344.                     <SocketTableSize>-1</SocketTableSize>
  345.                     <!-- Number of overflow buckets if all slots in socket table are in use. -1 = use default (16) -->
  346.                     <SocketOverflowBuckets>-1</SocketOverflowBuckets>
  347.                 </ACCP>
  348.             </Protocol>
  349.             <IPCQueues>
  350.                 <!-- Controls the IPC msg queue used by all processes to communicate with each other. -->
  351.                 <GlobalQueue>
  352.                     <!-- Max size (in Kb) of the shared memory heap used for this IPC msg queue. -->
  353.                     <HeapSize>2048</HeapSize>
  354.                     <MaxQueueSize>10</MaxQueueSize>
  355.                 </GlobalQueue>
  356.                 <!-- Controls the IPC msg queue used by edge and core processes to communicate with each other. -->
  357.                 <EdgeCore>
  358.                     <!-- Max size (in Kb) of the shared memory heap used for this IPC msg queue. -->
  359.                     <HeapSize>1024</HeapSize>
  360.                     <MaxQueueSize>10</MaxQueueSize>
  361.                 </EdgeCore>
  362.                 <Services>
  363.                     <!-- Max size (in Kb) of the shared memory heap used for this IPC msg queue. -->
  364.                     <HeapSize>2048</HeapSize>
  365.                     <MaxQueueSize>10</MaxQueueSize>
  366.                 </Services>
  367.             </IPCQueues>
  368.             <MessageCache>
  369.                 <!-- Max free units in the cache. Note this may be less if "MaxSize" limit is reached -->
  370.                 <MaxCacheUnits>4096</MaxCacheUnits>
  371.                 <!-- Max size of the cache in mega bytes. -->
  372.                 <MaxCacheSize>100</MaxCacheSize>
  373.                 <!-- Max message size thresold to get back into the cache. Specified in kilo bytes. -->
  374.                 <MaxUnitSize>16</MaxUnitSize>
  375.                 <!-- Value between 0 and 1 -->
  376.                 <FreeRatio>0.125</FreeRatio>
  377.                 <!-- Value between 0 and 1 -->
  378.                 <GlobalRatio>0.4</GlobalRatio>
  379.                 <!-- Max reuse count before freeing cache unit -->
  380.                 <MaxAge>1000000</MaxAge>
  381.                 <!-- Max reuse count before freeing cache unit -->
  382.                 <UpdateInterval>1024</UpdateInterval>
  383.                 <!-- Value between 0 and 1 -->
  384.                 <FreeMemRatio>0.5</FreeMemRatio>
  385.             </MessageCache>
  386.             <SmallMemPool>
  387.                 <!-- Max free units in the cache. Note this may be less if "MaxSize" limit is reached -->
  388.                 <MaxCacheUnits>4096</MaxCacheUnits>
  389.                 <!-- Max size of the cache in mega bytes. -->
  390.                 <MaxCacheSize>100</MaxCacheSize>
  391.                 <!-- Max message size thresold to get back into the cache. Specified in kilo bytes. -->
  392.                 <MaxUnitSize>16</MaxUnitSize>
  393.                 <!-- Value between 0 and 1 -->
  394.                 <FreeRatio>0.125</FreeRatio>
  395.                 <!-- Value between 0 and 1 -->
  396.                 <GlobalRatio>0.4</GlobalRatio>
  397.                 <!-- Max reuse count before freeing cache unit -->
  398.                 <MaxAge>1000000</MaxAge>
  399.                 <!-- Max reuse count before freeing cache unit -->
  400.                 <UpdateInterval>1024</UpdateInterval>
  401.                 <!-- Value between 0 and 1 -->
  402.                 <FreeMemRatio>0.5</FreeMemRatio>
  403.             </SmallMemPool>
  404.             <LargeMemPool>
  405.                 <!-- Max free units in the cache. Note this may be less if "MaxSize" limit is reached -->
  406.                 <MaxCacheUnits>4096</MaxCacheUnits>
  407.                 <!-- Max size of the cache in mega bytes. -->
  408.                 <MaxCacheSize>100</MaxCacheSize>
  409.                 <!-- Max message size thresold to get back into the cache. Specified in kilo bytes. -->
  410.                 <MaxUnitSize>16</MaxUnitSize>
  411.                 <!-- Value between 0 and 1 -->
  412.                 <FreeRatio>0.125</FreeRatio>
  413.                 <!-- Value between 0 and 1 -->
  414.                 <GlobalRatio>0.4</GlobalRatio>
  415.                 <!-- Max reuse count before freeing cache unit -->
  416.                 <MaxAge>1000000</MaxAge>
  417.                 <!-- Max reuse count before freeing cache unit -->
  418.                 <UpdateInterval>1024</UpdateInterval>
  419.                 <!-- Value between 0 and 1 -->
  420.                 <FreeMemRatio>0.5</FreeMemRatio>
  421.             </LargeMemPool>
  422.             <SegmentsPool>
  423.                 <!-- Max free units in the cache. Note this may be less if "MaxSize" limit is reached -->
  424.                 <MaxCacheUnits>4096</MaxCacheUnits>
  425.                 <!-- Max size of the cache in mega bytes. -->
  426.                 <MaxCacheSize>100</MaxCacheSize>
  427.                 <!-- Max message size thresold to get back into the cache. Specified in kilo bytes. -->
  428.                 <MaxUnitSize>16</MaxUnitSize>
  429.                 <!-- Value between 0 and 1 -->
  430.                 <FreeRatio>0.125</FreeRatio>
  431.                 <!-- Value between 0 and 1 -->
  432.                 <GlobalRatio>0.4</GlobalRatio>
  433.                 <!-- Max reuse count before freeing cache unit -->
  434.                 <MaxAge>1000000</MaxAge>
  435.                 <!-- Max reuse count before freeing cache unit -->
  436.                 <UpdateInterval>1024</UpdateInterval>
  437.                 <!-- Value between 0 and 1 -->
  438.                 <FreeMemRatio>0.5</FreeMemRatio>
  439.             </SegmentsPool>
  440.             <Master>
  441.                 <!-- How often to gc idle cores.                                             -->
  442.                 <CoreGC>300</CoreGC>
  443.                 <!-- An idle core being gc'd is given at least this much to exit on its own. -->
  444.                 <CoreExitDelay>20</CoreExitDelay>
  445.             </Master>
  446.             <Edge>
  447.                 <!-- Minimum number of threads per scheduler queue                  -->
  448.                 <MinEventQueueThreads>2</MinEventQueueThreads>
  449.                 <!-- Maximum number of threads per scheduler queue                  -->
  450.                 <MaxEventQueueThreads>-2</MaxEventQueueThreads>
  451.                 <!-- Number of scheduler queues                         -->
  452.                 <NumSchedQueues>1</NumSchedQueues>
  453.             </Edge>
  454.         </ResourceLimits>
  455.         <!-- Overall logging configuration. This section contains only information that is  -->
  456.         <!-- that controls the overall logging behaviour. Specific logging configuration is -->
  457.         <!-- located in Logger.xml.                                                         -->
  458.         <Logging>
  459.             <!-- The time field in a log file can be either in utc (gmt) or local (default).-->
  460.             <Time>local</Time>
  461.             <!-- Logs recovery properies -->
  462.             <!-- Retry number if open log failed. -->
  463.             <RetryNumber>0</RetryNumber>
  464.             <!-- Sleep interval in ms before retry  -->
  465.             <RetrySleep>100</RetrySleep>
  466.             <!-- Number of records in log queue. If open log failed and queue has records >= this number core will be shutdown. -->
  467.             <!-- -1 unlimited  -->
  468.             <RecordsNumber>-1</RecordsNumber>
  469.             <!-- This controls the terminating characters of each log entry -->
  470.             <!-- CR = carriage return and LF = line feed.  Default is CRLF  -->
  471.             <TerminatingCharacters>CRLF</TerminatingCharacters>
  472.             <Access>
  473.                 <!-- Whether access logging is enabled.                                     -->
  474.                 <Enable>true</Enable>
  475.                 <!-- The logging scope determines whether a log file is written out for     -->
  476.                 <!-- each vhost or just one for the entire server. It may be either server  -->
  477.                 <!-- or vhost.                                                              -->
  478.                 <Scope>server</Scope>
  479.             </Access>
  480.             <Diagnostic>
  481.                 <!-- Whether diagnostic logging is enabled.                                 -->
  482.                 <Enable>true</Enable>
  483.             </Diagnostic>
  484.             <Application>
  485.                 <!-- Whether application logging is enabled.                                -->
  486.                 <Enable>true</Enable>
  487.             </Application>
  488.             <AuthEvent>
  489.                 <!-- Whether logging is enabled.                                -->
  490.                 <Enable>true</Enable>
  491.             </AuthEvent>
  492.             <AuthMessage>
  493.                 <!-- Whether logging is enabled.                                -->
  494.                 <Enable>true</Enable>
  495.             </AuthMessage>
  496.             <FileIO>
  497.                 <!-- Whether logging is enabled.                                -->
  498.                 <Enable>true</Enable>
  499.             </FileIO>
  500.         </Logging>
  501.         <!-- Server must reference itself locally, typically this is "localhost", but with more than one -->
  502.         <!-- Network Interface, "localhost" can map to an erroneous interface, thus the server will use  -->
  503.         <!-- the address listed here as the local loopback, default is "localhost"               -->
  504.         <Localhost>localhost</Localhost>
  505.         <!-- If system has more than 2 network ports, setup the public ip for the system  -->
  506.         <PublicIP></PublicIP>
  507.         <!-- SWFVerification configures how a SWF connecting to an app is verified. -->
  508.         <!-- This is for the Administrator level SWF Verification and is secondary  -->
  509.         <!-- and independent of the Application level SWF Verification setups.  The -->
  510.         <!-- intended use is to put Administrator SWFs here that need to act as a   -->
  511.         <!-- skeleton key (universal access) for apps needing SWF Verification      -->
  512.         <!-- There is no override here of the Application level SWF Verification    -->
  513.         <SWFVerification>
  514.             <!-- Any SWFs found in this folder will be authenticated for connecting to any application  -->
  515.             <!-- on this server.  You can use a semicolon to seperate multiple directories here as well -->
  516.             <!-- For example C:\SWFs;D:\SWFs will allow swfs from either of these two directories to    -->
  517.             <!-- be authenticated.                                                                      -->
  518.             <SWFFolder></SWFFolder>
  519.             <!-- This specifies the minimum accepted version of SWFVerification allowed by the server.  -->
  520.             <!-- Initial version is 1; default is 0 which means to accept all forward versions.         -->
  521.             <MinGoodVersion></MinGoodVersion>
  522.             <!-- SWFVerification data are cache in the server.  This configures how the cache behaves.  -->
  523.             <Cache>
  524.                 <!-- TTL is the time to live of each SWF in the cache.  Specified in minutes.       -->
  525.                 <!-- Default value is 1440 minutes (24 hours)                                       -->
  526.                 <TTL>1440</TTL>
  527.                 <!-- The maximum time to wait for the server to scan the SWF folders for updates    -->
  528.                 <!-- when there is a miss in the cache.  Specified in minutes.  Default value is    -->
  529.                 <!-- 5 minutes.                                                                     -->
  530.                 <UpdateInterval>5</UpdateInterval>
  531.             </Cache>
  532.         </SWFVerification>
  533.     </Server>
  534.     <!-- Set this to the domain name of the server. It is used to set the hostname in -->
  535.     <!-- the referrer header tag when making a connection with a remote server using  -->
  536.     <!-- NetConnection. If empty the hostname field is empty in referrer header.      -->
  537.     <ServerDomain></ServerDomain>
  538. </Root>
Advertisement
Add Comment
Please, Sign In to add comment