<?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: too many sockets open on the system in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/too-many-sockets-open-on-the-system/m-p/2517088#M596134</link>
    <description>Check the process associated at the soccket with lsof.</description>
    <pubDate>Sun, 15 Apr 2001 21:24:36 GMT</pubDate>
    <dc:creator>Vincenzo Restuccia</dc:creator>
    <dc:date>2001-04-15T21:24:36Z</dc:date>
    <item>
      <title>too many sockets open on the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/too-many-sockets-open-on-the-system/m-p/2517087#M596133</link>
      <description>I have a Solaris 2.6 box with a web server and Oracle database running. It has a lot of RAM and disk space. One of the applications running on the system seems to be timing out and sometimes dying.  The application is written in WebObjects and the developers are working on the proble.&lt;BR /&gt;&lt;BR /&gt;I wanted to do a little investigation myself,I ran netstat and counted the number of sockets in each states. Here are two examples for high and low numbers of sockets in wait state.  I found this really alarming, because I have other systems that are quite busy, but the number of sockets in the wait state is nearly nothing compare to this.&lt;BR /&gt;&lt;BR /&gt;Here are the output:&lt;BR /&gt;&lt;BR /&gt;   4 (socketpair)&lt;BR /&gt;   5 /tmp/.cgistub_7179&lt;BR /&gt;   1 /var/opt/perf/datafiles/.perflbd.socket&lt;BR /&gt;  25 ESTABLISHED&lt;BR /&gt;   1 FIN_WAIT_2&lt;BR /&gt;2098 TIME_WAIT&lt;BR /&gt;&lt;BR /&gt;  4 (socketpair)&lt;BR /&gt;   5 /tmp/.cgistub_7179&lt;BR /&gt;   1 /var/opt/perf/datafiles/.perflbd.socket&lt;BR /&gt;  23 ESTABLISHED&lt;BR /&gt; 117 TIME_WAIT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is another output from running netstat, does this look normal, where the client and server are both the localhost 127.0.0.1 and the ports are listening on one another.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;TCP&lt;BR /&gt;   Local Address        Remote Address    Swind Send-Q Rwind Recv-Q  State&lt;BR /&gt;&lt;BR /&gt;127.0.0.1.32774      127.0.0.1.32773      32768      0 32768      0 ESTABLISHED&lt;BR /&gt;127.0.0.1.32773      127.0.0.1.32774      32768      0 32768      0 ESTABLISHED&lt;BR /&gt;47.61.0.123.32778    47.61.0.123.726      32768      0 32768      0 ESTABLISHED&lt;BR /&gt;47.61.0.123.726      47.61.0.123.32778    32768      0 32768      0 ESTABLISHED&lt;BR /&gt;127.0.0.1.64769      127.0.0.1.64768      32768      0 32768      0 ESTABLISHED&lt;BR /&gt;127.0.0.1.64768      127.0.0.1.64769      32768      0 32768      0 ESTABLISHED&lt;BR /&gt;127.0.0.1.54530      127.0.0.1.54529      32768      0 32768      0 ESTABLISHED&lt;BR /&gt;127.0.0.1.54529      127.0.0.1.54530      32768      0 32768      0 ESTABLISHED&lt;BR /&gt;127.0.0.1.54532      127.0.0.1.54531      32768      0 32768      0 ESTABLISHED&lt;BR /&gt;127.0.0.1.54531      127.0.0.1.54532      32768      0 32768      0 ESTABLISHED&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;</description>
      <pubDate>Sat, 14 Apr 2001 16:11:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/too-many-sockets-open-on-the-system/m-p/2517087#M596133</guid>
      <dc:creator>T S_1</dc:creator>
      <dc:date>2001-04-14T16:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: too many sockets open on the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/too-many-sockets-open-on-the-system/m-p/2517088#M596134</link>
      <description>Check the process associated at the soccket with lsof.</description>
      <pubDate>Sun, 15 Apr 2001 21:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/too-many-sockets-open-on-the-system/m-p/2517088#M596134</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-04-15T21:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: too many sockets open on the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/too-many-sockets-open-on-the-system/m-p/2517089#M596135</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;A Solaris 2.6 system with Oracle with many Oracle sockets in TIME_WAIT.  Looking at TCP/IP Illustrated Volume 1, by Stevens, there is a nice definition of the various TCP States and TIME_WAIT means your connection is awaiting what is called the 2MSL timeout at connection close time.  There are several cases and explainations offered in this book which you might want to investigate.  On HP-UX 11.0 this is set to 1 minutes by default and can be tuned with ndd /dev/tcp tcp_time_wait_interval&lt;BR /&gt;On Solaris 2.6:&lt;BR /&gt;# ndd -get /dev/tcp tcp_close_wait_interval&lt;BR /&gt;240000  &amp;lt;-- 4 minutes&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; Brian Hackley</description>
      <pubDate>Mon, 16 Apr 2001 15:01:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/too-many-sockets-open-on-the-system/m-p/2517089#M596135</guid>
      <dc:creator>Brian Hackley</dc:creator>
      <dc:date>2001-04-16T15:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: too many sockets open on the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/too-many-sockets-open-on-the-system/m-p/2517090#M596136</link>
      <description>Thank guys,&lt;BR /&gt;&lt;BR /&gt;I was able to find more info on TCP/IP parameters for Solaris.&lt;BR /&gt;&lt;BR /&gt;If you look a the first 2 lines from netstat, does it look unusual that the loopback address has 2 established connections, where it is acting as a server and a client at the same time, and on 2 different ports?&lt;BR /&gt;&lt;BR /&gt;TCP &lt;BR /&gt;Local Address Remote Address Swind Send-Q Rwind Recv-Q State &lt;BR /&gt;&lt;BR /&gt;127.0.0.1.32774 127.0.0.1.32773 32768 0 32768 0 ESTABLISHED &lt;BR /&gt;127.0.0.1.32773 127.0.0.1.32774 32768 0 32768 0 ESTABLISHED &lt;BR /&gt;&lt;BR /&gt;E. Farah</description>
      <pubDate>Mon, 16 Apr 2001 18:43:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/too-many-sockets-open-on-the-system/m-p/2517090#M596136</guid>
      <dc:creator>T S_1</dc:creator>
      <dc:date>2001-04-16T18:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: too many sockets open on the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/too-many-sockets-open-on-the-system/m-p/2517091#M596137</link>
      <description>Not really if your running a webserver, these could be daemons listening on the localhost, check your /etc/services file...ie, on our Cisco works box I see alot of the cscomd running on the localhost...&lt;BR /&gt;localhost.cscomd       localhost.1100 ESBLISHED&lt;BR /&gt;localhost.1100         localhost.cscomd       ESTABLISHED&lt;BR /&gt;&lt;BR /&gt;As for what is really happenning with these, I am not sure, unless it is some type of GUI, &lt;BR /&gt;</description>
      <pubDate>Mon, 16 Apr 2001 20:26:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/too-many-sockets-open-on-the-system/m-p/2517091#M596137</guid>
      <dc:creator>Kevin Wright</dc:creator>
      <dc:date>2001-04-16T20:26:27Z</dc:date>
    </item>
  </channel>
</rss>

