- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Max nproc and Max TCP/IP connections
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
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
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
06-09-2006 12:38 PM
06-09-2006 12:38 PM
I have couple of questions hope that you can help. Our machine is HP rp5470 running HPUX 11.11 with 2 x 875mhz CPUS, 4GB RAM, storage is EMC Cx500.
1. what is the max "nproc" for such system?
A doc mentions this is RAM related. Current we set nproc to 2400.
2. What is the max TCP/IP connections allowed for such system? How to check and possible to increase it?
Thanks in advance,
Lynn
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 05:13 PM
06-09-2006 05:13 PM
SolutionMinimum
10
Maximum
Memory limited
Default
20+(8 * maxusers)
For max TCP/IP using ndd:
tcp_conn_request_max:
Maximum number of outstanding inbound connection requests.
[1, - ] Default: 20 connections
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 05:50 PM
06-09-2006 05:50 PM
Re: Max nproc and Max TCP/IP connections
Select a value for nproc that is sufficient to provide enough processes for every user at any given time when the maximum normal number of users are logged in.
Bill Hassels answer:
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=961156
NDD:
ndd -get /dev/tcp tcp_conn_request_max
to get the current value (likely 4096)
The value can be set online aswell:
ndd -set /dev/tcp tcp_conn_request_max
You will have to add the entry to nddconf someting like:
TRANSPORT_NAME[4]=tcp
NDD_NAME[4]=tcp_conn_request_max
NDD_VALUE[4]=
where [4] is a unique identifier within the file.
Also read the following:
ftp://ftp.cup.hp.com/dist/networking/briefs/annotated_ndd.txt
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2006 07:52 AM
06-10-2006 07:52 AM
Re: Max nproc and Max TCP/IP connections
TCP/IP does not define the required resources. A TCP/IP connection could be telnet, rcp, ftp, NFS, NTP, many other services. Your most important kernel parameter for a large number of network connections is nfile and the pty settings for npty, nstrpty, nstrtel (set them all to the same value, about 20% more than your expected simultaneous connections)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 04:18 AM
06-12-2006 04:18 AM
Re: Max nproc and Max TCP/IP connections
in addition to the system-wide limits on file descriptors being involved in the maximum number of tcp connections, one should also consider the per-process limits maxfiles and maxfiles_lim (or is that maxfile, I can never remember)
I'm a triffle worried about the juxtaposition of those questions - it makes it sound like you may be running something that has a process per connection?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 04:23 AM
06-12-2006 04:23 AM
Re: Max nproc and Max TCP/IP connections
For 11.11 Kernel parameters you should find this useful:
http://docs.hp.com/en/TKP-90202/index.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2006 10:52 AM
06-13-2006 10:52 AM
Re: Max nproc and Max TCP/IP connections
To answer Rick Jones question -
yes, indeed, this is our credit card authorization server. Each card swipped is
a connection/process on the HP server. We want to know what's the max tcp/ip (thr internet connection) connections that our L3000 server can handle as well as nproc.
Lynn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2006 10:59 AM
06-13-2006 10:59 AM
Re: Max nproc and Max TCP/IP connections
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 07:13 AM
07-13-2006 07:13 AM
Re: Max nproc and Max TCP/IP connections
Each card swipe is a pid. It's from a
legacy application. Currently, we have to reset ports to kill connections to relief
high # of PID (some connections do not disconnect from server). This can impact the customers. Need a better solution.
Thanks,
Lynn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 07:42 AM
07-13-2006 07:42 AM
Re: Max nproc and Max TCP/IP connections
It may be enough to make sure that keepalives are enabled and the tcp_keepalive_interval and perhaps tcp_keepalive_detached_interval are shrunk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 09:29 AM
07-13-2006 09:29 AM
Re: Max nproc and Max TCP/IP connections
Here are the #s:
# ndd -get /dev/tcp tcp_time_wait_interval
60000
# ndd -get /dev/tcp tcp_conn_request_max
4096
# ndd -get /dev/tcp tcp_ip_notify_interval
10000
# ndd -get /dev/tcp tcp_keepalive_interval
7200000
# ndd -get /dev/tcp tcp_keepalives_kill
1
# ndd -get /dev/tcp tcp_keepalive_detached_interval
120000
Do you see anything here can be adjust?
Lynn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 09:32 AM
07-13-2006 09:32 AM
Re: Max nproc and Max TCP/IP connections
The clients are all kinds devices - PCs,converters, routers. Here are the #s on HP server:
# ndd -get /dev/tcp tcp_time_wait_interval
60000
# ndd -get /dev/tcp tcp_conn_request_max
4096
# ndd -get /dev/tcp tcp_ip_notify_interval
10000
# ndd -get /dev/tcp tcp_keepalive_interval
7200000
# ndd -get /dev/tcp tcp_keepalives_kill
1
# ndd -get /dev/tcp tcp_keepalive_detached_interval
120000
Do you see anything here can be adjust?
Lynn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 09:37 AM
07-13-2006 09:37 AM
Re: Max nproc and Max TCP/IP connections
You suggested the server app waits for the client to close - I take it the server may receive more than one query per connection from the client? If not, you could in theory just have the server call close() after sending its reply - assuming you don't need an implicit/explicit verification the client received the data you owuld get from the client's FIN triggering the read return of zero.