- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Connections on I/O port
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
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
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
тАО07-12-2000 06:52 AM
тАО07-12-2000 06:52 AM
Connections on I/O port
We are running an Oracle database on a K460 server. How can I determine the maximum number of simultaneous connections on the I/O port? Is there an OS limit on this? Can this be configured? Any help is appreciated.
Thanks in advance,
Archana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2000 06:52 AM
тАО07-12-2000 06:52 AM
Re: Connections on I/O port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2000 07:02 AM
тАО07-12-2000 07:02 AM
Re: Connections on I/O port
lsof is a tool to get all open I/O connections of all processes.
You can get it here:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.48/
Regards
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2000 08:13 AM
тАО07-24-2000 08:13 AM
Re: Connections on I/O port
Actually this question belongs to the database sub-group. I actually need to find out the maximum concurrent connections returned via the listen() system call. Also, is there a kernel parameter that can be configured (maxconn?) to increase this on HP-UX 10.20. What is the upper limit for this parameter?
Thanks a lot!
Archana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2000 08:32 AM
тАО07-24-2000 08:32 AM
Re: Connections on I/O port
Actually, you're talking about socket connections.
The number of systemwide socket connections is only limited by the nfile kernel parameter (the open files limit).
However, the server-end process (the daemon, in your case the listener) issues the listen(2) call, in which it specifies a queue depth, i.e. the number of unhandled connection request from clients. This does not mean that this limits your total number of connections with thge server. It only means that the number of 'hanging' connections is limited.
To find out the number of simultaneous connections to your listener, you can issue the command:
netstat -an | grep 1521 | wc -l
If your listener does not listen on the default port 1521, change the 1521 to whatever port it is listening on.
Hope this helps,
Rik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2000 09:41 AM
тАО07-24-2000 09:41 AM
Re: Connections on I/O port
# netstat -an | grep \.1521 | grep ESTABLISHED | wc -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2000 09:58 AM
тАО07-24-2000 09:58 AM
Re: Connections on I/O port
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2000 10:17 AM
тАО07-24-2000 10:17 AM
Re: Connections on I/O port
Thanks! Sorry I am unable to award any points (can't see the hypertext link).
nestat -an displayed the current active connections. However, what if 50 people simultaneously tried to connect to the listener. Is there any way resources can be pre-allocated in anticipation for such a request?
Thanks,
Archana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2000 10:20 AM
тАО07-24-2000 10:20 AM
Re: Connections on I/O port
There should be no need to pre-allocate resources. I don't even think it can't be done.
The only potential risk is that the odd connection gets refused because te listen queue depth has been reached, but there is little chanc that this will happen.
You might monitor the evolution of the number of open files on your system, so you can anticipate it filling up completely.
You can do this using glance or sar -v.
Bye,
Rik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2000 10:52 AM
тАО07-24-2000 10:52 AM
Re: Connections on I/O port
I think that helps with most of my questions with the exception of the listen queue depth. Can the listen queue depth be configured manually via a kernel parameter? Thanks again!
Archana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2000 10:56 AM
тАО07-24-2000 10:56 AM
Re: Connections on I/O port
From the listen(2) manpage:
"backlog defines the desirable queue length for pending connections. The actual queue length may be greater than the specified backlog . If a connection request arrives when the queue is full, the client will receive an ETIMEDOUT error."
So, it is not configurable by means of a kernel parameter.
The application might offer the possibility to configure it, but I can't see where this could be done in case of the Oracle listener.
Bye,
Rik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2000 09:35 AM
тАО07-25-2000 09:35 AM
Re: Connections on I/O port
You might want to keep in mind that maxuprc might limit the number of connections .
As each user connecting using listner connects to the box as user oracle , you may run out of processes allowed for user oracle as defined in the kernel thru maxuprc.
Hope this helps.