HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Select call and 32 descriptors
Operating System - HP-UX
1827068
Members
4035
Online
109713
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
07-11-2001 05:03 AM
07-11-2001 05:03 AM
Select call and 32 descriptors
Hi
I ma using select calll to multiplex the socket descriptors. As soon as I reach more than 32 the system is creating problem and just freezes out.
Can some body eleborate on this and provide some way to implement about 100 descriptors. All needed to be opened.
Thanks
Prashun
I ma using select calll to multiplex the socket descriptors. As soon as I reach more than 32 the system is creating problem and just freezes out.
Can some body eleborate on this and provide some way to implement about 100 descriptors. All needed to be opened.
Thanks
Prashun
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 05:26 AM
07-11-2001 05:26 AM
Re: Select call and 32 descriptors
You don't say what version of the OS you're running, but from the select(2) man page for 11i, I got this:
[EINVAL] The nfds argument is less than 0, or is greater than or equal to the value of MAXFUPLIM, which specifies the absolute maximum number of files a process can have open at one time. If the resource limit RLIMIT_NOFILE for a process is less than or equal to 2048, MAXFUPLIM is considered to be 2048.
You may be exceeding the maximum number of open files allowed in your kernel tuning. I would check those kernel tunables.
Good luck
[EINVAL] The nfds argument is less than 0, or is greater than or equal to the value of MAXFUPLIM, which specifies the absolute maximum number of files a process can have open at one time. If the resource limit RLIMIT_NOFILE for a process is less than or equal to 2048, MAXFUPLIM is considered to be 2048.
You may be exceeding the maximum number of open files allowed in your kernel tuning. I would check those kernel tunables.
Good luck
No matter where you go, there you are.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 09:24 AM
07-11-2001 09:24 AM
Re: Select call and 32 descriptors
Make sure you are using the ASCII headers and the convenience macros all described on the man page "man 2 select".
Also obey the maximum number of open files for you process. Use "man 2 getrlimit/setrlimit" to increase the per process number of allowed open files.
On HPUX10.02 and HPUX11.0 I did not see problems with that.
Regards, Klaus
There is a live before death!
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP