Installation guide
Also located at the root level of the conguration 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 oen they are rotated. e default location for the log
lesisinthelogsdirectoryinyourserverinstallationdirectory(RootInstall/logs).
eLoggingsectioninServer.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.
Conguring performance features
Evenwithallthebuilt-inoptimizationsinFlashMediaServer3.5,youmaywanttocustomize
your installation for maximum eciency. Several features that you may want to optimize for
your specic needs are described here. For more detailed information, see the Adobe Flash
Media Server Conguration and Administration Guide.
Note: For 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 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.edefaultvalueis500MB.
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 ni le. e A P P.D E F A U LT _ C H U N K S I Z E parametercanbebetween128
and1024B,withadefaultvalueof128.YoucanalsosetthestreamchunksizefortheVODservice
separately by setting the A P P.V O D _ C H U N K SIZ E parameter.LargervaluesreduceCPUusage,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
the2GBOSlimit,theserverprocesscouldterminate. However, if you set the size too low, all
segments could theoretically be in use and unable to be exchanged for new stream segments.
Inthiscase,thestreamrequestingthenewsegmentstopsplaying.
Process scopes
Feature in Flash Media Interactive Server; requires Flash Player 6 or later.
FlashMediaInteractiveServercanbescopedintodierentprocessestoincreasethecapacityof
theserverbyovercomingnaturalOSlimitsfortheCPUandRAMandforprocessisolation.
Splitting your processes:
• AllowsFlashMediaServertoacceptconnectionsfaster
• AllowsFlashMediaServertostoremoreFLVandMP3datainRAM
• Expandsthe2GBmemorylimit
• Isolatestheinstance,application,VHost,oradaptorfrommalformedscriptsordenialof
service(DoS)attacks.
For more information on process scopes, see the Managing Flash Media Server manual.
FlashMediaInteractiveServerletsyoufurtherincreaseyourcapacityandqualityofservice
using distributed process scopes. Distributed process scopes and the distribute setting are
discussed in the next section.
35