GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Number of socket
Operating System - HP-UX
1844574
Members
1837
Online
110233
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
Go to solution
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-06-2005 08:26 AM
07-06-2005 08:26 AM
hi,
In HP-UX 11i?
As is controlled the number of socket opened by an application? a user? or the complete system?
Thank in advance
Jorge Prado T.
In HP-UX 11i?
As is controlled the number of socket opened by an application? a user? or the complete system?
Thank in advance
Jorge Prado T.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 09:16 AM
07-06-2005 09:16 AM
Solution
Because sockets are implemented as file descriptors both per-process (maxfiles_lim) and system-wide limits (nfile) can apply. There can also be other causes. The best approach to narrowing your problem is to capture or note the errno value (often the exit status of a well-written program). You then examine the file /usr/include/sys/errno.h and match your errno numerical value to a symbolic value(e.g 12 == ENOMEM). Finally, do a man 2 socket and find the error that matches your errno. That's UNIX problem solving kindergarten.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 09:24 AM
07-06-2005 09:24 AM
Re: Number of socket
It is controlled on a global basis with the "nfile" kernel parameter and on a per process basis with the "maxfiles_lim" parameter. This is because a socket looks like a standard file You can view it with the following command:
# kmtune -q nfile
# kmtune -q maxfiles_lim
cheers!
# kmtune -q nfile
# kmtune -q maxfiles_lim
cheers!
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