02 Things you need to know
Server
HP-UX - Modify maxfiles and maxfiles lim
The suggested kernel parameter settings require changing some values to numbers greater than those allowed by SAM. The following procedure will modify SAM's configuration to allow a greater maximum value for several kernel parameters.
This procedure should be performed as root:
- View the file: /usr/sam/lib/kc/params.tx
- Look for lines starting with maxfiles and maxfiles_lim. They should start like this:
- maxfiles:::
- maxfiles_lim:::
- If they start are like this:
- maxfiles:number:number
- maxfiles:number:number
- Then...
- delete number (leave the colons)
- Edit /usr/conf/master.d/core-hpux
- Locate the following two lines
- *range maxfiles<=number
- *range maxfiles_lim<=number
- Change number to 32000
- Run this program
- /usr/sam/lbin/getkinfo -b -w
- Sam will now allow maxfiles and maxfiles_lim to be given values up to number