HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Using more than 2048 file descriptors
Operating System - HP-UX
1842193
Members
2494
Online
110188
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
05-02-2001 11:24 PM
05-02-2001 11:24 PM
Using more than 2048 file descriptors
The system I am using is an HP B9000
running HPUX11.00. I am in need to use/open
at least 3000 file descriptors. When I checked
the SAM kernel parameters, the maximum is
set at 2048. Is there a way to adjust this higher than that or a workaround?
Thanks!!!
running HPUX11.00. I am in need to use/open
at least 3000 file descriptors. When I checked
the SAM kernel parameters, the maximum is
set at 2048. Is there a way to adjust this higher than that or a workaround?
Thanks!!!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 12:01 AM
05-03-2001 12:01 AM
Re: Using more than 2048 file descriptors
Not possiible I suspect by SAM but fyi :
(1) http://docs.hp.com
(2) HP-UX 10.* release documentation
(3) do a search on USE_BIG_FDS
(4) Look under 60K file descriptors
There is documentation on this _ please note that it says:
Use of this new feature is not compatible with all libraries. Users need to review the libraries used by their application to determine if they can use this feature. See the section "Impacts" below formore information.
Also See ITRC DOC : UNX1010203 : How to use 60K file descriptors?
Using sybase by anychance ?
(1) http://docs.hp.com
(2) HP-UX 10.* release documentation
(3) do a search on USE_BIG_FDS
(4) Look under 60K file descriptors
There is documentation on this _ please note that it says:
Use of this new feature is not compatible with all libraries. Users need to review the libraries used by their application to determine if they can use this feature. See the section "Impacts" below formore information.
Also See ITRC DOC : UNX1010203 : How to use 60K file descriptors?
Using sybase by anychance ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 10:26 AM
05-03-2001 10:26 AM
Re: Using more than 2048 file descriptors
The HP-UX 11.00 file descriptor limit is 60,000. I expect the problem is due to a lower limit in a config file that SAM reads. Try the following as su:
1) vi /usr/conf/master.d/core-hpux
2) search for:
*range maxfiles<=4096
*range maxfiles>=30
*range maxfiles_lim<=4096
*range maxfiles_lim>=30
3) Change this to
*range maxfiles<=60000
*range maxfiles>=30
*range maxfiles_lim<=60000
*range maxfiles_lim>=30
You should now be able to use SAM to change both maxfiles_lim and maxfiles to your desired 3000
You do not say whether you're using 3rd party software or writing your own. If you're writing your own you need to take care with system calls such as select that use fixed width bitmaps, and by default assume <= 2048 file descriptors. Take a look at man select.
Good luck.
1) vi /usr/conf/master.d/core-hpux
2) search for:
*range maxfiles<=4096
*range maxfiles>=30
*range maxfiles_lim<=4096
*range maxfiles_lim>=30
3) Change this to
*range maxfiles<=60000
*range maxfiles>=30
*range maxfiles_lim<=60000
*range maxfiles_lim>=30
You should now be able to use SAM to change both maxfiles_lim and maxfiles to your desired 3000
You do not say whether you're using 3rd party software or writing your own. If you're writing your own you need to take care with system calls such as select that use fixed width bitmaps, and by default assume <= 2048 file descriptors. Take a look at man select.
Good luck.
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