- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Maximum number of file descriptors per process?
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
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
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
тАО08-07-2000 12:09 AM
тАО08-07-2000 12:09 AM
Is there a way to increase the maximum number of open file descriptor limit
in HPUX 11.0? On a related note, how high can this number be adjusted?
I've got a HP 9000 700 series machine with 1Gbyte of RAM.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2000 12:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2000 12:45 AM
тАО08-07-2000 12:45 AM
Re: Maximum number of file descriptors per process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2000 12:51 AM
тАО08-07-2000 12:51 AM
Re: Maximum number of file descriptors per process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2000 12:52 AM
тАО08-07-2000 12:52 AM
Re: Maximum number of file descriptors per process?
Another related question:
Can this number be bumped up to around
10,000 file descriptors per process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2000 01:01 AM
тАО08-07-2000 01:01 AM
Re: Maximum number of file descriptors per process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2000 02:48 AM
тАО08-07-2000 02:48 AM
Re: Maximum number of file descriptors per process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2000 04:14 AM
тАО08-07-2000 04:14 AM
Re: Maximum number of file descriptors per process?
Once you change nproc you will notice that it will change (as needed) other parameters to account for the adjustment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2000 04:31 AM
тАО08-07-2000 04:31 AM
Re: Maximum number of file descriptors per process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2000 04:39 AM
тАО08-07-2000 04:39 AM
Re: Maximum number of file descriptors per process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2000 05:09 AM
тАО08-07-2000 05:09 AM
Re: Maximum number of file descriptors per process?
Also, the default POSIX shell offers ulimit as a user interface to several 'soft' parameters such as maxfiles, core file limit, memory usage, processor time, etc. ulimit -a will listt the values that can changed. Once changed, all child proceses inherit the shell settings.
As an aside, one has to question the need to open 10,000 files at the same time. Even the Universe database program (which can use thousands of unique files) uses a file descriptor pool to limit simultaneous open files to a few hundred. As mentioned in a previous reply, if 20 copies of the same program were to open 10,000 files (the same 10,000 files), you would need nfile set to 200,000, a huge number indeed.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2000 03:31 PM
тАО08-07-2000 03:31 PM
Re: Maximum number of file descriptors per process?
As for the 10,000 file descriptors, I was hoping to be able to
open that number of sockets, not files per se.
Again, my thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2000 02:33 AM
тАО10-05-2000 02:33 AM
Re: Maximum number of file descriptors per process?
edit the file containig the limits for kernel parameters:
vi /usr/conf/master.d/core-hpux
search the maxfiles and maxfiles_lim and modify the
range values (minimum , maximum) according to your
needs, then save file and make sam to recognize them
executing:
/usr/sam/lbin/getkinfo -b
Now the maximum and minimun range for the parameter
is set, and you can modify maxfile and maxfiles_lim
up to 10000 or whatever.
You can have your application runnig with many sockets
as you need.