Download Installation & Configuration

Transcript
2
Installation and Configuration
additional processes per user. The current processes may be displayed using the
Unix ps -ef command.
Number of Open Files
Unix maintains tables for all opened files on the system. Each process requires a
minimum of three (3) channels referred to as: standard input, standard output and
standard error. In addition, a process may require additional channels if other
files or devices are opened for access. uniBasic itself is an example of a process
under Unix. For each additional concurrent process, an additional (3) channels
minimum are required.
uniBasic requires a total of 4 channels per user process. These include the standard (3), plus one for the error message file (ERRMESSAGE). In addition, each
device or data file opened requires one system channel; Indexed files require 2
channels.
See Also: Indexed Data Files
When the configured number of system-wide channels is exceeded, an error message may be reported to the console (such as NFILE for SCO-Unix systems), or the
program may generate a negative (system) BASIC error.
To compute the approximate number of channels required for your system, multiply the Number of Processes * 3 to yield the minimum number of channels. Add to
that result the average number of opened channels per-user times the number
users. Remember to count each Indexed file as two channels, and include provisions for other applications, such as IQ.
Example: An 8-port system with 10 open files per user and 50 processes, might require 300 open files.
Number of Open i-nodes
Unix maintains a table of opened inodes (or header blocks). Each unique file or
device opened requires one entry. Ten users accessing the same file typically
share the same open i-node.
uniBasic Reference Manual