- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- increase nofiles parameter
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
02-27-2006 10:08 PM
02-27-2006 10:08 PM
increase nofiles parameter
i have to increase the nofiles descriptor to 2048 from its value of 60 ,
i did the command ulimit -n 2048 and succeed to chane it ,
but when i reboot the server or change the session the value is back to 60 ,
what should i do to have the value 2048 permanently
thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 10:12 PM
02-27-2006 10:12 PM
Re: increase nofiles parameter
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 10:38 PM
02-27-2006 10:38 PM
Re: increase nofiles parameter
As stated earlier nofile is not a valid parameter and you need to increase nfile. The process above is perfect but will require a system reboot.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 11:01 PM
02-27-2006 11:01 PM
Re: increase nofiles parameter
There is a nofile part to ulimit, but if you change it using "ulimit" command it will be temperory. If you want to change it permanetly across boots , you need to set the value for the kernel parameter "maxfiles" ..
see my example..
root@cst2adm# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 2015436
stack(kbytes) 262144
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 4096
root@cst2adm# sysdef | grep maxfiles
maxfiles 4096 - 30-2048 -
regards,
Senthil Kuamr .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 11:07 PM
02-27-2006 11:07 PM
Re: increase nofiles parameter
to change the "maxfiles" parameter in kernel, you can do it in SAM,under Kernel configuration functional area,
to cross check , u can compare the value of "nofile" to "maxfiles" parameter before u change "maxfiles" value..
to check nofiles value,
ulimit -a
to check maxfiles value,
sysdef | grep maxfile
regards,
Senthil Kumar .A