1846543 Members
2088 Online
110256 Solutions
New Discussion

Re: Kernal Parameter

 
arun m govind
Frequent Advisor

Kernal Parameter

Hi,

In my hp-ux 11.11i system the values of some parmeters are as follows
maxfiles 4096
maxfiles_lim 4096
maxssiz 2048
maxssiz_64bit 2048
maxtsiz 16384
maxtsiz_64bit 262144

Is there is any problem with this configurations?
4 REPLIES 4
Deepak Kulkarni
Regular Advisor

Re: Kernal Parameter

Hi Arun,

It depends on the requirement. If application requires then you may have to change the kernel parameters.

Cheers
DK
inventsekar_1
Respected Contributor

Re: Kernal Parameter

maxfiles
*********
maxfiles sets the soft limit for the number of files a process is allowed to have open simultaneously.

Acceptable Values:
Minimum
30
Maximum
60000
Default
60

maxfiles_lim
--------------
maxfiles_lim sets the hard limit for the number of files a process is allowed to have open simultaneously.

Acceptable Values:
Minimum
30
Maximum
60000
Default
1024


maxssiz and maxssiz_64bit
---------------------------
maxssiz and maxssiz_64bit set the maximum dynamic storage segment (DSS) size in bytes.

Acceptable Values:
maxssiz for 32-bit processors:

Minimum
0x4000 (16 Kbytes)
Maximum
0x17F00000 (approx 200 Mbytes)
Default
0x800000 (8 Mbytes)
maxssiz_64bit for 64-bit processors:

Minimum
0x4000 (16 Kbytes)
Maximum
1073741824
Default
0x800000 (8 Mbytes)


maxtsiz
maxtsiz specifies the maximum shared-text segment size in bytes.

Acceptable Values:
maxtsiz for 32-bit processors:

Minimum
0x40000 (4 Mbytes)
Maximum
0x7B033000 (approx 2 Gbytes)
Default
0x4000000 (64 Mbytes)
maxtsiz_64bit for 64-bit processors:

Minimum
0x40000 (4 Mbytes)
Maximum
4398046511103 (approx 4 Gbytes)
Default
0x4000000 (64 Mbytes)


everything seems fine. It depends on the applications u r going to run.
if applications needs a high value, before installing it will ask.

or r u asking regarding performance issues?

Be Tomorrow, Today.
Bill Hassell
Honored Contributor

Re: Kernal Parameter

You wrote:

> maxfiles 4096
> maxfiles_lim 4096

Well, you've just defeated the purpose of maxfiles, that is to prevent runaway programs from consuming too many file handles. Many database and application vendors (wrongly) recommend making maxfiles=maxfiles_lim. If you do not have developers (people writing programs) then it's probably fine.

> maxssiz 2048
> maxssiz_64bit 2048
> maxtsiz 16384
> maxtsiz_64bit 262144

These parameters are in BYTES, not Kbytes, so no, the last 4 parameters are very wrong and must be increased to reasonable values (I doubt SAM will let you make them this small). If you could set them this small, most programs would fail to run (including kernel programs). Reasonable values are:

maxssiz 100610048
maxssiz_64bit 1073741824
maxtsiz 1073741824
maxtsiz_64bit 4294967296



Bill Hassell, sysadmin
florin_10
Frequent Advisor

Re: Kernal Parameter

SAM has help on all kernel parmeters and their dependencies.
cheers
flg