Installation guide

Also located at the root level of the conguration directory, the L o g g e 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 g g e 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thebuilt-inoptimizationsinFlashMediaServer3.5,youmaywanttocustomize
your installation for maximum eciency. Several features that you may want to optimize for
your specic needs are described here. For more detailed information, see the Adobe Flash
Media Server Conguration and Administration Guide.
Note: For 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 ww w.adobe.com/devnet/
ashmediaserver/articles/perfo rmance _ tuni ng_webcasts.html.
Stream cache/stream chunks
Feature 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. 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 fm s.i n i le.edefaultvalueis500MB.
Streamed content is broken into chunks as it is sent via RTMP. You can specify the size of these
chunks in the fm s.i nile. e A P P.D E F A U LT _ C H U N K S I Z E parametercanbebetween128
and1024B,withadefaultvalueof128.YoucanalsosetthestreamchunksizefortheVODservice
separately by setting the A P P.V O D _ C H U N K SIZ E parameter.LargervaluesreduceCPUusage,but
can also slow performance for clients on lower bandwidth connections.
Setting the size of the cache and stream chunks too high can result in slower performance. For
example, if the cache size is greater than the available memory or if the server process exceeds
the2GBOSlimit,theserverprocesscouldterminate. However, if you set the size 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stopsplaying.
Process scopes
Feature 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theCPUandRAMandforprocessisolation.
Splitting your processes:
• AllowsFlashMediaServertoacceptconnectionsfaster
• AllowsFlashMediaServertostoremoreFLVand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 are
discussed in the next section.
35