HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Kernel Parameters
Operating System - HP-UX
1833247
Members
2875
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 12:56 AM
12-03-2002 12:56 AM
Kernel Parameters
Gentlemen,
I have jus upgraded from HP-UX 10.20 to 11, I have a problem with the "nfile" parameter. The formulae for this parameter is different on 10.20 and 11. I am able to set this parameter to a much higher value on 10.20 but can't seem to archieve the same on 11. Does 11 handle the nfile parameter differently? I need to set the number of open files per user to a much higher value than 7049 for 400 users.
rgds
Olebile
I have jus upgraded from HP-UX 10.20 to 11, I have a problem with the "nfile" parameter. The formulae for this parameter is different on 10.20 and 11. I am able to set this parameter to a much higher value on 10.20 but can't seem to archieve the same on 11. Does 11 handle the nfile parameter differently? I need to set the number of open files per user to a much higher value than 7049 for 400 users.
rgds
Olebile
Perfomance Monitoring is not always easy
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 01:02 AM
12-03-2002 01:02 AM
Re: Kernel Parameters
Hi,
In my machines the nfile values set to more than 7049 which are running 11x.
if you are not able to set using SAM.
try this method
#cp -p /stand/vmunix /stand/vmunix.org
#kmtune -s nfile=
# cd /stand/build
#mk_kernel
#mv vmunix_test /stand/vmunix
#reboot
In my machines the nfile values set to more than 7049 which are running 11x.
if you are not able to set using SAM.
try this method
#cp -p /stand/vmunix /stand/vmunix.org
#kmtune -s nfile=
# cd /stand/build
#mk_kernel
#mv vmunix_test /stand/vmunix
#reboot
never give up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 01:03 AM
12-03-2002 01:03 AM
Re: Kernel Parameters
You should not change the NFILE parameter, please increase MAXUSERS till you reach 7049.
10.20
#define NFILE (16*(NPROC+16+MAXUSERS)/10+32+2*(NPTY+NSTRPTY))
11.00
#define NFILE (16*(NPROC+16+MAXUSERS)/10+32+2*(NPTY+NSTRPTY+NSTRTEL))
Regards,
Armin
10.20
#define NFILE (16*(NPROC+16+MAXUSERS)/10+32+2*(NPTY+NSTRPTY))
11.00
#define NFILE (16*(NPROC+16+MAXUSERS)/10+32+2*(NPTY+NSTRPTY+NSTRTEL))
Regards,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 01:11 AM
12-03-2002 01:11 AM
Re: Kernel Parameters
Hi
first you can delete the formula that it is in used .
here is the details about the kernel param :
nfile
nfile defines the maximum number of files that can be open simultaneously, system-wide, at any given time.
Acceptable Values:
Minimum
14
Maximum
Memory limited
Default
((16*(Nproc+16+MaxUsers)/10)+32+2*(Npty+Nstrpty)
Specify integer value or use integer formula expression. For more information, see Specifying Parameter Values.
Description
nfile defines the maximum number files that can be open at any one time, system-wide.
It is the number of slots in the file descriptor table. Be generous with this number because the required memory is minimal, and not having enough slots restricts system processing capacity.
Related Parameters and System Factors
The value used for nfile must be sufficient to service the number of users and processes allowed by the combination of nproc, maxusers, npty , and nstrpty.
Every process uses at least three file descriptors per process (standard input, standard output, and standard error).
Every process has two pipes per process (one per side), each of which requires a pty. Stream pipes also use streams ptys which are limited by nstrpty.
also you can check this link for kernel params : http://www.docs.hp.com/hpux/onlinedocs/939/KCParms/KCparams.OverviewAll.html
if you have problem with one of the params lime maxusers , first increase it and then modify the nfile .
my system has nfile with 15000 value
first you can delete the formula that it is in used .
here is the details about the kernel param :
nfile
nfile defines the maximum number of files that can be open simultaneously, system-wide, at any given time.
Acceptable Values:
Minimum
14
Maximum
Memory limited
Default
((16*(Nproc+16+MaxUsers)/10)+32+2*(Npty+Nstrpty)
Specify integer value or use integer formula expression. For more information, see Specifying Parameter Values.
Description
nfile defines the maximum number files that can be open at any one time, system-wide.
It is the number of slots in the file descriptor table. Be generous with this number because the required memory is minimal, and not having enough slots restricts system processing capacity.
Related Parameters and System Factors
The value used for nfile must be sufficient to service the number of users and processes allowed by the combination of nproc, maxusers, npty , and nstrpty.
Every process uses at least three file descriptors per process (standard input, standard output, and standard error).
Every process has two pipes per process (one per side), each of which requires a pty. Stream pipes also use streams ptys which are limited by nstrpty.
also you can check this link for kernel params : http://www.docs.hp.com/hpux/onlinedocs/939/KCParms/KCparams.OverviewAll.html
if you have problem with one of the params lime maxusers , first increase it and then modify the nfile .
my system has nfile with 15000 value
love computers
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP