Operating System - HP-UX
1838240 Members
3380 Online
110125 Solutions
New Discussion

Kernel change for open file descriptors

 
SOLVED
Go to solution
MikeL_4
Super Advisor

Kernel change for open file descriptors

I had this request from DBA foe Oracle 9i for kernel changes and I'm not sure exactly what parameters he is referring to. Can anyone assist ??

Need to set the hard limit for open file descriptors to 8192 and maximum size of data segment to 1572864.

/usr/bin/ulimit -Hn
2048
/usr/bin/ulimit -Hd
1048576
/usr/bin/ulimit -n 8192
/usr/bin/ulimit[7]: ulimit: The specified value exceeds the user's allowable limit.
/usr/bin/ulimit -d 1572864
/usr/bin/ulimit[7]: ulimit: The specified value exceeds the user's allowable limit.
4 REPLIES 4
Denver Osborn
Honored Contributor
Solution

Re: Kernel change for open file descriptors

you can open up sam, kernel configuration, configurable parameters... you'll most likely look at maxfiles, maxfiles_lim, maxuprc, maxdsiz and nfile.

Most of these should have a help files to explain what they do, if you use the sam gui. Otherwise search docs.hp.com for the params to get an overview of each.

-denver
Warren_9
Honored Contributor

Re: Kernel change for open file descriptors

hi,

you need to modify the kernal parameters, not using the ulimit.

open file: maxfiles
max data size: maxdsiz and maxdsiz_64bit

GOOD LUCK!
generic_1
Respected Contributor

Re: Kernel change for open file descriptors

You will need to reboot your machine for the change to take effect in most cases on kernel changes so you know. SAM is the prefered and recommended option by HP to make kernel changes.
MikeL_4
Super Advisor

Re: Kernel change for open file descriptors

Thanks