Kernel Parameter Reference
Kernel parameters do not apply to RS/6000 machines running AIX.
In Solaris 10 several of the following parameters became obsolete.
It is important that you understand these kernel parameters before you change them. Make sure they do not conflict with other system parameters. If you need help with implementing these kernel changes, see the user manual for your platform or consult your platform system manufacturer.
maxfsiz (ULIMIT)
The maxfsiz
parameter does not apply
to HP/9000 users.
The maxfsiz
parameter reflects the maximum
size of a physical file that you can create or expand on your disk.
You must know your anticipated user file sizes (for print files, work
files, database reorganization files, and others) to set this parameter
correctly. You also must know the largest file size you can expect
on your machine. Although it is critical to have the parameter set
up correctly for your current file size requirements, you can adjust
this parameter at a later date if your requirements change.
On some UNIX-based operating systems, the ULIMIT
parameter is separate from, and in addition to, the maxfsiz
kernel parameter. ULIMIT
works similarly to the maxfsiz
parameter and is set in addition to, and not in
place of, the maxfsiz
kernel parameter.
The minimum size for ULIMIT
is 40,960, 512-byte
blocks, or 20 MB default for ULIMIT
. Adjust this
value on your own site. It probably should be considerably larger
and should never be lower than the default size. This example illustrates
how and where the additional ULIMIT
parameter can
reside. For complete information, see the system administration manual
for your platform.
In the file named /etc/default/login, add or update the following parameter. (Log on as root.)
ULIMIT= 40960(ULIMIT)
msgmax (MSGMAX)
The msgmax
parameter defines the maximum size
of a message. Lawson requires a minimum default size of 4096 for this parameter.
msgmnb (MSGMNB)
The msgmnb
parameter defines the maximum size
of a message queue. Lawson requires a minimum default size of 300 for this parameter.
maxdsize (MAXDSIZE)
This parameter applies only to HP/UX 11i users.
The maxdsize
parameter defines the maximum
size of a data segment for an executing process. Lawson requires a
minimum of 320 MB for this parameter.
msgmni (MSGMNI)
The msgmni
parameter defines the maximum number
of message queues. The recommended value is based on the parameters
in the database configuration file (ladb.cfg):
(FILES/LFILES) + FOREIGN + USERS + 25
The USERS
parameter sets the maximum number
of CPU processes allowed to access Lawson (approximately four for
each concurrent login).
semmns (SEMMNS), semmnu (SEMMNU), semmsl (SEMMSL)
The SEMMSL
parameter does not apply
to HP/9000 users.
SEMMNS
defines the number of semaphores system-wide.
SEMMNU
defines the number of undo structures
system-wide.
SEMMSL
defines the number of semaphores in
a set.
The USERS
parameter in the database server
configuration file (ladb.cfg) sets the maximum number of CPU processes,
approximately four for each concurrent login, allowed to access the
Enterprise Server.
To increase the USERS
parameter or to increase
the number of engines (ladb, RDBMS)
being used, reset these kernel parameters using the following guidelines.
SEMMNS
= USERS
* Number of
engines or servers + 25
SEMMNU
= SEMMNS
SEMMSL
= SEMMNS
Lawson requires a minimum of 75 for these parameters.
shmmax (SHMMAX)
The shmmax
parameter defines the maximum size
of a shared memory segment. The recommended value is:
SHMMAX = USERS * 10,000
Lawson requires a minimum of 480,000 for this parameter.
shmmin (SHMMIN)
This parameter applies only to the Sun Solaris operating system.
The shmmin
parameter defines the minimum size
of a shared memory segment. For the Sun Solaris operating system,
both the shmmax
and shmmin
parameters must be set.
Lawson recommends a minimum value of 100 for this parameter.
maxuproc or maxuprc
The maxuproc
or maxuprc
parameter
defines the maximum number of processes for a user. At a minimum,
set this parameter to 160. Larger
sites might need to use a higher number.
maxfiles
The maxfiles
parameter defines the number of
files a process can use. You might need to adjust this parameter depending
on your requirements.
msgtql
This parameter defines the maximum number of active message
queues. On busy systems, if this parameter is set too low, Lawson
might appear to hang. At a minimum, set msgtql
to 160. Larger sites might need to use a higher
number, such as 256.
nproc
The nproc
parameter defines the maximum number
of processes system-wide. You might need to adjust this parameter
depending on your requirements.
nfiles
The nfiles
parameter defines the maximum number
of files open at one time system-wide. You might need to adjust this
parameter depending on your requirements.