IBM Books

Installation and Configuration Supplement


Step 2. Update the Kernel Configuration Parameters

To run DB2 for HP-UX, you may have to update some kernel configuration parameters; the following values are recommended:

Table 30. HP-UX Kernel Configuration Parameters (Recommended Values)
Kernel Parameter Physical Memory
64MB - 128MB 128MB - 256MB 256MB+
maxuprc
maxfiles
 
nproc
nflocks
ninode
nfile
 
msgseg
msgmnb
msgmax
msgtql
msgmap
msgmni
msgssz
 
semmni
semmap
semmns
semmnu
 
shmmax
shmseg
shmmni
 

256
256
 
512
2048
512
(4 * ninode)
 
8192
65 535  (1)
65 535  (1)
256
130
128
16
 
128
130
256
256
 
67 108 864
16
300

384
256
 
768
4096
1024
(4 * ninode)
 
16 384
65 535  (1)
65 535  (1)
512
258
256
16
 
256
258
512
512
 
134 217 728  (2)
16
300

512
256
 
1024
8192
2048
(4 * ninode)
 
32 768
65 535  (1)
65 535  (1)
1024
258
256
16
 
512
514
1024
1024
 
268 435 456 (2)
16
300

Notes:

  1. Parameters msgmnb and msgmax must be set to at least 65535.

  2. Parameter shmmax should be set to 134217728 or 90% of the physical memory (in bytes), whichever is higher. For example, if you have 196 MB of physical memory in your system, set shmmax to 184 968 806 (196*0.9*1024*1024).

  3. To maintain the interdependency among kernel parameters, change parameters in the same sequence in which they appear in the preceding table.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]