- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Increase kernel parameter "nfile".
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
04-08-2008 07:08 AM
04-08-2008 07:08 AM
Below is the output of kmtune (nfile) ;
#kmtune | grep -i nfile
nfile 2910 - (16*(NPROC+16+MAXUSERS)/10+32+2*(NPTY+NSTRPTY+NSTRTEL))
I have to increase the nfile size from 2910 (existing) to about 5000,
but the problem is it has such a lenghty formula, can I override the formula by numerical value or is it necessary to go according to the formula and change all other variables?
Please help.
Thnx..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2008 07:14 AM
04-08-2008 07:14 AM
Re: Increase kernel parameter "nfile".
Simply choose an appropriate value and ignore the (deprecated) formula. You can choose an ample value for your needs since the number represents elements in a kernel table. The memory required is very small.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2008 07:19 AM
04-08-2008 07:19 AM
Solution#cd /stand/build
#mk_kernel
#mv vmunix_test /stand/vmunix
#reboot
will change the nfile to new value.
make sure you have the copy of present kernel(vmunix) before doing this exercise, so that you can recover even if the system fails while booting with new value of nfile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2008 06:26 PM
04-08-2008 06:26 PM
Re: Increase kernel parameter "nfile".
Since your OS is 11.11 you may use
#kmupdate instead of
#mv vmunix_test /stand/vmunix
and reboot this will schedule new kernel move during next reboot .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2008 10:45 PM
04-08-2008 10:45 PM