<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Max nproc and Max TCP/IP connections in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803555#M267003</link>
    <description>What are the clients? PCs?  These connections that do not disconnect from the server are in what state? ESTABLISHED? FIN_WAIT_2? Something else?&lt;BR /&gt;&lt;BR /&gt;It may be enough to make sure that keepalives are enabled and the tcp_keepalive_interval and perhaps tcp_keepalive_detached_interval are shrunk.</description>
    <pubDate>Thu, 13 Jul 2006 14:42:35 GMT</pubDate>
    <dc:creator>rick jones</dc:creator>
    <dc:date>2006-07-13T14:42:35Z</dc:date>
    <item>
      <title>Max nproc and Max TCP/IP connections</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803546#M266994</link>
      <description>Hi,&lt;BR /&gt;   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. &lt;BR /&gt;&lt;BR /&gt;1. what is the max "nproc" for such system?&lt;BR /&gt;A doc mentions this is RAM related. Current we set nproc to 2400. &lt;BR /&gt;&lt;BR /&gt;2. What is the max TCP/IP connections allowed for such system? How to check and possible to increase it? &lt;BR /&gt;&lt;BR /&gt;  Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Lynn</description>
      <pubDate>Fri, 09 Jun 2006 19:38:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803546#M266994</guid>
      <dc:creator>Lynn Hsu_2</dc:creator>
      <dc:date>2006-06-09T19:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Max nproc and Max TCP/IP connections</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803547#M266995</link>
      <description>For nproc&lt;BR /&gt;&lt;BR /&gt;Minimum &lt;BR /&gt;10 &lt;BR /&gt;Maximum &lt;BR /&gt;Memory limited &lt;BR /&gt;Default &lt;BR /&gt;20+(8 * maxusers) &lt;BR /&gt;&lt;BR /&gt;For max TCP/IP using ndd:&lt;BR /&gt;&lt;BR /&gt;tcp_conn_request_max:&lt;BR /&gt;&lt;BR /&gt;    Maximum number of outstanding inbound connection requests.&lt;BR /&gt;    [1, - ] Default: 20 connections&lt;BR /&gt;</description>
      <pubDate>Sat, 10 Jun 2006 00:13:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803547#M266995</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2006-06-10T00:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Max nproc and Max TCP/IP connections</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803548#M266996</link>
      <description>Lynn&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Bill Hassels answer:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=961156" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=961156&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;NDD:&lt;BR /&gt;ndd -get /dev/tcp tcp_conn_request_max&lt;BR /&gt;to get the current value (likely 4096)&lt;BR /&gt;&lt;BR /&gt;The value can be set online aswell:&lt;BR /&gt;ndd -set /dev/tcp tcp_conn_request_max &lt;NEW-VALUE&gt;&lt;BR /&gt;&lt;BR /&gt;You will have to add the entry to nddconf someting like:&lt;BR /&gt;&lt;BR /&gt;TRANSPORT_NAME[4]=tcp&lt;BR /&gt;NDD_NAME[4]=tcp_conn_request_max&lt;BR /&gt;NDD_VALUE[4]=&lt;NEW value=""&gt;&lt;BR /&gt;&lt;BR /&gt;where [4] is a unique identifier within the file.&lt;BR /&gt;&lt;BR /&gt;Also read the following:&lt;BR /&gt;&lt;A href="ftp://ftp.cup.hp.com/dist/networking/briefs/annotated_ndd.txt" target="_blank"&gt;ftp://ftp.cup.hp.com/dist/networking/briefs/annotated_ndd.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Darrel&lt;/NEW&gt;&lt;/NEW-VALUE&gt;</description>
      <pubDate>Sat, 10 Jun 2006 00:50:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803548#M266996</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2006-06-10T00:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Max nproc and Max TCP/IP connections</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803549#M266997</link>
      <description>nproc is limited to the maximum value for a process ID, about 30,000. You can set nproc to 30000 and run 29000 small processes (like sleep) in 4Gb of RAM. This is of course fairly impractical. If you need to run more than 2000 processes at the same time, then double your current nproc value.&lt;BR /&gt; &lt;BR /&gt;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)</description>
      <pubDate>Sat, 10 Jun 2006 14:52:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803549#M266997</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-06-10T14:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Max nproc and Max TCP/IP connections</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803550#M266998</link>
      <description>tcp_conn_request_max has virtually nothing to do with the maximum number of simultaneous TCP connections.  only the number of connections that can be queued to any one listen socket waiting for applications to call accept().&lt;BR /&gt;&lt;BR /&gt;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)&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jun 2006 11:18:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803550#M266998</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2006-06-12T11:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Max nproc and Max TCP/IP connections</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803551#M266999</link>
      <description>Hi Lynn:&lt;BR /&gt;&lt;BR /&gt;For 11.11 Kernel parameters you should find this useful:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/TKP-90202/index.html" target="_blank"&gt;http://docs.hp.com/en/TKP-90202/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 12 Jun 2006 11:23:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803551#M266999</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-06-12T11:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Max nproc and Max TCP/IP connections</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803552#M267000</link>
      <description>Thanks everyone for your valuable input.&lt;BR /&gt;To answer Rick Jones question -&lt;BR /&gt;yes, indeed, this is our credit card authorization server. Each card swipped is&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Lynn</description>
      <pubDate>Tue, 13 Jun 2006 17:52:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803552#M267000</guid>
      <dc:creator>Lynn Hsu_2</dc:creator>
      <dc:date>2006-06-13T17:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Max nproc and Max TCP/IP connections</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803553#M267001</link>
      <description>Are we talking about forking a process for each card swipe?  Yikes.  Does it _have_ to be that way?</description>
      <pubDate>Tue, 13 Jun 2006 17:59:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803553#M267001</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2006-06-13T17:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Max nproc and Max TCP/IP connections</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803554#M267002</link>
      <description>Ricky,&lt;BR /&gt;  Each card swipe is a pid. It's from a&lt;BR /&gt;legacy application. Currently, we have to reset ports to kill connections to relief&lt;BR /&gt;high # of PID (some connections do not disconnect from server). This can impact the customers. Need a better solution.&lt;BR /&gt;&lt;BR /&gt;  Thanks,&lt;BR /&gt;&lt;BR /&gt;Lynn</description>
      <pubDate>Thu, 13 Jul 2006 14:13:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803554#M267002</guid>
      <dc:creator>Lynn Hsu_2</dc:creator>
      <dc:date>2006-07-13T14:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Max nproc and Max TCP/IP connections</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803555#M267003</link>
      <description>What are the clients? PCs?  These connections that do not disconnect from the server are in what state? ESTABLISHED? FIN_WAIT_2? Something else?&lt;BR /&gt;&lt;BR /&gt;It may be enough to make sure that keepalives are enabled and the tcp_keepalive_interval and perhaps tcp_keepalive_detached_interval are shrunk.</description>
      <pubDate>Thu, 13 Jul 2006 14:42:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803555#M267003</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2006-07-13T14:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Max nproc and Max TCP/IP connections</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803556#M267004</link>
      <description>Rick,&lt;BR /&gt;   Here are the #s:&lt;BR /&gt;# ndd -get /dev/tcp tcp_time_wait_interval&lt;BR /&gt;60000&lt;BR /&gt;# ndd -get /dev/tcp tcp_conn_request_max&lt;BR /&gt;4096&lt;BR /&gt;# ndd -get /dev/tcp tcp_ip_notify_interval&lt;BR /&gt;10000&lt;BR /&gt;# ndd -get /dev/tcp tcp_keepalive_interval&lt;BR /&gt;7200000&lt;BR /&gt;# ndd -get /dev/tcp tcp_keepalives_kill&lt;BR /&gt;1&lt;BR /&gt;# ndd -get /dev/tcp tcp_keepalive_detached_interval&lt;BR /&gt;120000&lt;BR /&gt;&lt;BR /&gt;  Do you see anything here can be adjust?&lt;BR /&gt;&lt;BR /&gt;Lynn</description>
      <pubDate>Thu, 13 Jul 2006 16:29:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803556#M267004</guid>
      <dc:creator>Lynn Hsu_2</dc:creator>
      <dc:date>2006-07-13T16:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Max nproc and Max TCP/IP connections</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803557#M267005</link>
      <description>Rick,&lt;BR /&gt;   The clients are all kinds devices - PCs,converters, routers. Here are the #s on HP server:&lt;BR /&gt;&lt;BR /&gt;# ndd -get /dev/tcp tcp_time_wait_interval&lt;BR /&gt;60000&lt;BR /&gt;# ndd -get /dev/tcp tcp_conn_request_max&lt;BR /&gt;4096&lt;BR /&gt;# ndd -get /dev/tcp tcp_ip_notify_interval&lt;BR /&gt;10000&lt;BR /&gt;# ndd -get /dev/tcp tcp_keepalive_interval&lt;BR /&gt;7200000&lt;BR /&gt;# ndd -get /dev/tcp tcp_keepalives_kill&lt;BR /&gt;1&lt;BR /&gt;# ndd -get /dev/tcp tcp_keepalive_detached_interval&lt;BR /&gt;120000&lt;BR /&gt;&lt;BR /&gt;  Do you see anything here can be adjust?&lt;BR /&gt;&lt;BR /&gt;Lynn</description>
      <pubDate>Thu, 13 Jul 2006 16:32:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803557#M267005</guid>
      <dc:creator>Lynn Hsu_2</dc:creator>
      <dc:date>2006-07-13T16:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Max nproc and Max TCP/IP connections</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803558#M267006</link>
      <description>That all depends - does the application make a setsockopt() to set SO_KEEPALIVE?  if so then you could consider dropping tcp_keepalive_interval.&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Thu, 13 Jul 2006 16:37:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-nproc-and-max-tcp-ip-connections/m-p/3803558#M267006</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2006-07-13T16:37:17Z</dc:date>
    </item>
  </channel>
</rss>

