Installation guide

58 DC 900-1325I
Freeway Server-Resident Application (SRA) Programmer Guide
4.1.2 TSI Configuration
The TSI buffer pool can also consume a large area of memory. Two parameters in your
SRA’s TSI configuration file are of particular importance to memory utilization:
MaxBufSize and MaxBuffers. These parameters are described in the Freeway Transport
Subsystem Interface Reference Guide. If you do not specify them in your configuration
file, TSI uses the defaults (1024), which cause a large area of memory to be allocated
(about 1 megabyte per TSI application).
Other TSI configuration parameter settings can also increase the RAM resource
requirements. The
MaxConns parameter default is 1024. Modify this number for your
required number of supported connections in the server TSI configuration file
(
tmp/boot/muxcfg) and add the MaxConns parameter to your SRA’s TSI configuration
file. The TSI trace buffer size parameter (
TraceSize) also requires RAM to save the trace
information before writing it to the RAM disk on the server.
4.1.3 File Management
Your SRA may create files for storing data and logging events in the RAM-disk partition
(
/tmp). Care must be taken when storing data in files so as not to exhaust the available
memory. If you plan on storing large amounts of data, you should consider upgrading
your Freeway server to use a rotating disk drive. Then you can store your data in the
ā€œs2gā€ partition which is a non-volatile read-write partition on the rotating hard drive.
(See Section 4.4.1 for details.)
While developing your SRA, you may find yourself using the /tmp/boot directory often
for updating files and transferring files between clients and the Freeway server. During
this process you may inadvertently copy temporary or backup versions of files to the
non-volatile area (
/usr/local/freeway/boot.src), where they are unnecessary and needlessly
take up space. Each time the Freeway boots, these files are loaded back into the RAM-
disk and take up memory space. You should periodically clean up the
/usr/local/free-
way/boot.src
directory by removing unneeded files. If there are unused files that you still