Installation guide
Also located at the root level of the conguration 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 oen they are rotated. e default location for the log les
isinthelogsdirectoryinyourserverinstallationdirectory(RootInstall/logs).
eLoggingsectioninServer.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.
Conguring performance features
Evenwithallofthebuilt-inimprovementsinFlashMediaServer3,youmaywanttocustomize
your installation for maximum eciency. ere are also several features that you may want to
optimize for your specic needs. ey are described here; for more detailed information, see the
Adobe Flash Media Server Conguration and Administration Guide.
Note: For more detailed tips for optimizing Flash Media Server specically 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.edefaultvalueis500MB.
StreamedcontentisbrokenintochunksasitissentviaRTMP.esizeofthesechunkscanalso
be set in the fm s.ini le. e A PP.D E FA U L T_ C H U N K SI ZE parametercanbebetween128and
1024B,withadefaultvalueof128.(Youcanalsosetthestreamchunksizespecicallyforthe
VODserviceseparatelybysettingtheA P P.V O D _ C H U N K SI Z E parameter.)Largervalueswill
reduceCPUusage,butcanalsoslowperformanceforclientsonlowerbandwidthconnections.
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
theavailablememory,ortheserverprocessexceedsthe2GBOSlimit,theserverprocesscould
be terminated. Alternatively, if it is set too low, all segments could theoretically be in use and
unabletobeexchangedfornewstreamsegments.Inthiscase,thestreamrequestingthenew
segment will stop playing.
Process scopes
Enhancement in Flash Media Interactive Server; requires Flash Player 6 or later.
FlashMediaInteractiveServercanbescopedintodierentprocessestoincreasethecapacityof
theserverbyovercomingnaturalOSlimitsforCPU/RAMandforprocessisolation.Splitting
your processes:
• AllowsFlashMediaServertoacceptconnectionsfaster
• AllowsFlashMediaServertostoremoreFLV/MP3datainRAM
• Expandsthe2GBmemorylimit
• Isolatestheinstance/application/VHostoradaptorfrommalformedscriptsordenialofservice
(DoS)attacks.
For more information on process scopes, see the Managing Flash Media Server manual.
FlashMediaInteractiveServerletsyoufurtherincreaseyourcapacityandqualityofservice
usingdistributedprocessscopes.Distributedprocessscopesandthedistribute setting will
be discussed in the next section.
32