Operating System - HP-UX
1752803 Members
5877 Online
108789 Solutions
New Discussion юеВ

Re: how can i Configurable Kernel Parameters

 
SOLVED
Go to solution
hnlixm
Advisor

how can i Configurable Kernel Parameters

My paprogram catch an exception like
"ava.io.IOException: Too many open files (errno:24)";and some body suggest me modify
nfile, maxfiles and maxfiles_limуАВbut i can't find the file /etc/conf/master.d.

somebody can help me


best wishes!
10 REPLIES 10
Dennis Handly
Acclaimed Contributor

Re: how can i Configurable Kernel Parameters

What HP-UX version are you on? Did you try using SAM to change the kernel parms?
hnlixm
Advisor

Re: how can i Configurable Kernel Parameters

B.11.23 U ia64 (tc)
SoorajCleris
Honored Contributor

Re: how can i Configurable Kernel Parameters

Hi,

#kctune

#kmtune

sam

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
SoorajCleris
Honored Contributor
Solution

Re: how can i Configurable Kernel Parameters

Hi,

kctune is the command ror 11.23

Just run the command, are you able to get the output?

#kctune nfile

will give you current value
and

#kctune nfile=xxxxx will set new value

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Dennis Handly
Acclaimed Contributor

Re: how can i Configurable Kernel Parameters

>B.11.23 U ia64

As Sooraj mentioned, you should be able to use kctune(1m) to change those kernel parms.
What is the current nfile(1m) value?
Raj Briden
Frequent Advisor

Re: how can i Configurable Kernel Parameters

check for /usr/conf/master.d

hnlixm
Advisor

Re: how can i Configurable Kernel Parameters

is anything damage when i use the kctune command?
thanks
SoorajCleris
Honored Contributor

Re: how can i Configurable Kernel Parameters

If you use
#kctune

It will show you the current tunalbe values.

But when you set a value using

#kctune=

Then it changes the kernel, If you are going to change a static parameter it will ask for reboot.

parameter values must be reviewd and verified bofore you implement that. The wrong values can lead to system crash/non bootable system/ performance.

Please take an Ignite backup beofre you change anything

Take backup of the kernel

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
madhuchakkaravarthy
Trusted Contributor

Re: how can i Configurable Kernel Parameters

hi

if u have a proper backup, u can go a head.

regards

MC