Installation guide

Also located at the root level of the conguration directory, the L o g ge r.x m l le controls
settings for Flash Media Server log les. You can edit this le to specify the data that is logged,
where the log les are saved, and how oen they are rotated. e default location for the log les
isinthelogsdirectoryinyourserverinstallationdirectory(RootInstall/logs).
eLoggingsectioninServer.xml enables or disables the log les; L o gge r.x m l contains
the actual log le settings.
Note: Log les and eld names within the log les are written in English. Some content in the log le, however,
may be in another language, depending on the operating system.
Conguring performance features
Evenwithallofthebuilt-inimprovementsinFlashMediaServer3,youmaywanttocustomize
your installation for maximum eciency. ere are also several features that you may want to
optimize for your specic needs. ey are described here; for more detailed information, see the
Adobe Flash Media Server Conguration and Administration Guide.
Note: For more detailed tips for optimizing Flash Media Server specically for Linux installations, consult the
article “Performance-tuning Flash Media Server 2 for live webcasts using Linux,” at
www.adobe.com/devnet/ashmediaserver/articles/p erformance_tuning_webcasts.html.
Stream cache/stream chunks
Enhancement in Flash Media Streaming Server and Flash Media Interactive Server; requires Flash
Player 6 or later.
When a stream is requested from the server, segments of the stream are stored in a cache on the
server. As long as the cache has not reached capacity, the server places segments in the cache.
When the cache is full, the server removes unused segments, starting with the least recently used.
You can set the size of the cache by changing the SERVER.FLVCACHE_MAXSIZE parameter in
the server’s fms.ini le.edefaultvalueis500MB.
StreamedcontentisbrokenintochunksasitissentviaRTMP.esizeofthesechunkscanalso
be set in the fm s.inile. e A PP.D E FA U L T_ C H U N K SI ZE parametercanbebetween128and
1024B,withadefaultvalueof128.(Youcanalsosetthestreamchunksizespecicallyforthe
VODserviceseparatelybysettingtheA P P.V O D _ C H U N K SI Z E parameter.)Largervalueswill
reduceCPUusage,butcanalsoslowperformanceforclientsonlowerbandwidthconnections.
When setting the size of the cache and stream chunks, it is important to note that setting the size
too high can actually result in slower performance. For example, if the cache size is greater than
theavailablememory,ortheserverprocessexceedsthe2GBOSlimit,theserverprocesscould
be terminated. Alternatively, if it is set too low, all segments could theoretically be in use and
unabletobeexchangedfornewstreamsegments.Inthiscase,thestreamrequestingthenew
segment will stop playing.
Process scopes
Enhancement in Flash Media Interactive Server; requires Flash Player 6 or later.
FlashMediaInteractiveServercanbescopedintodierentprocessestoincreasethecapacityof
theserverbyovercomingnaturalOSlimitsforCPU/RAMandforprocessisolation.Splitting
your processes:
• AllowsFlashMediaServertoacceptconnectionsfaster
• AllowsFlashMediaServertostoremoreFLV/MP3datainRAM
• Expandsthe2GBmemorylimit
• Isolatestheinstance/application/VHostoradaptorfrommalformedscriptsordenialofservice
(DoS)attacks.
For more information on process scopes, see the Managing Flash Media Server manual.
FlashMediaInteractiveServerletsyoufurtherincreaseyourcapacityandqualityofservice
usingdistributedprocessscopes.Distributedprocessscopesandthedistribute setting will
be discussed in the next section.
32