Consultor Eletrônico



Kbase 17649: HOW TO find and change AIX 4.x kernel parameters
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
HOW TO find and change AIX 4.x kernel parameters

Some of the AIX 4.x system parameters that can be tuned..

tsibm1(plamothe): lsattr -EHl sys0
attribute value description

keylock normal State of system keylock at boot time
maxbuf 20 Maximum number of pages in block I/O BUFFER CACHE
maxmbuf 2048 Maximum Kbytes of real memory allowed for MBUFS
maxuproc 40 Maximum number of PROCESSES allowed per user
autorestart false Automatically REBOOT system after a crash
iostat true Continuously maintain DISK I/O history
realmem 131072 Amount of usable physical memory in Kbytes
conslogin enable System Console Login
maxpout 0 HIGH water mark for pending write I/Os per file
minpout 0 LOW water mark for pending write I/Os per file
fullcore false Enable full CORE dump

Most likely (from a Progress point of view), the only parameter in
this list that "may" need to be modified would be the maxuproc
setting.

To change the maxuproc parameter for example..
chdev -l sys0 -a maxuproc=50

Alternately, the system admin utility "smit" can be used to
make changes to the kernel graphically.

Another parameter that may need modification for Progress is
the maximum file size.
To list the current user's ulimit value..

tsibm1(plamothe): ulimit -a
time(seconds) unlimited
file(blocks) 2097151
data(kbytes) 131072
stack(kbytes) 32768
memory(kbytes) 32768
coredump(blocks) 2048

The file listing (in 1K blocks) is the maximum file size.
As the user w/ non-root access, this value can be decreased
but not increased. Only root has the ability to increase
this value..
The following is as root below. ex.

tsibm1(plamothe): ulimit -f 4000000
tsibm1(plamothe): ulimit -a
time(seconds) unlimited
file(blocks) 4000000
data(kbytes) 131072
stack(kbytes) 32768
memory(kbytes) 32768
coredump(blocks) 2048

tsibm1(plamothe): ulimit -f 8000000
tsibm1(plamothe): ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 131072
stack(kbytes) 32768
memory(kbytes) 32768
coredump(blocks) 2048

As you can see, the recommended value (Progress) of 8MB makes
this value "unlimited".

The /etc/security/limits file would be modified to set this
globally, as explained in the man page for ulimit.

NOTE: CONTACTING IBM IS SUGGESTED BEFORE MAKING THESE CHANGES AS
THEY MAY WANT TO BE CONSULTED.

Progress Software Technical Support Note # 17649