<?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: connect requests dropped due to no listener in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789061#M582014</link>
    <description>Thanks for all the replies:&lt;BR /&gt;&lt;BR /&gt;Yes, the NICs are statically set to 100FD AutoNeg off.&lt;BR /&gt;&lt;BR /&gt;I originally looked at the tcp_conn_request_max (which is set at 1024), but I also noticed that 0 connections were dropped due to a full queue. &lt;BR /&gt;&lt;BR /&gt;At least I now have a better understanding of what is causing the connection drops. I will try working with our LAN/WAN guys to take a closer look. I'll have to see if I can find some other ways to track down the source as well.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;David</description>
    <pubDate>Tue, 20 Aug 2002 15:48:21 GMT</pubDate>
    <dc:creator>David Child_1</dc:creator>
    <dc:date>2002-08-20T15:48:21Z</dc:date>
    <item>
      <title>connect requests dropped due to no listener</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789056#M582009</link>
      <description>Two applications that are running on different servers are being reported as running slow (several minutes to render a single web page). The common piece of these two applications is our database server (V2250 8x8 with SAN attached EMC storage). The networking group has found a number of 'source quench' packets coming from this database server as well. The servers CPU, Memory, and disk all appear relatively fine.&lt;BR /&gt;&lt;BR /&gt;When running 'netstat -s -p tcp' I noticed that we are dropping connections due to "no listener". See output below (which was taken 3 hours after a system reboot). &lt;BR /&gt;&lt;BR /&gt;What I am trying to find out is what type of things should I look at to determine why the connections are dropping and if its related to the source quenching. Also, if its not too much trouble, could someone provide a little information as to what 'source quenching' is and maybe what "connect requests dropped due to no listener" actually means (I guess if I knew that then I would know where to start looking for issues).&lt;BR /&gt;&lt;BR /&gt;Additional info: The server is running 4 Sybase databases and 2 Oracle databases. The slow applications in question use two different databases.&lt;BR /&gt;&lt;BR /&gt;I have attached a list of current patches, kmtune output, and a list of the non-default tcp parameters.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;David&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;netstat -s -p tcp output&lt;BR /&gt;--------------------------&lt;BR /&gt;tcp:&lt;BR /&gt; 2440722 packets sent&lt;BR /&gt;  2306605 data packets (1956282119 bytes)&lt;BR /&gt;  133 data packets (39082 bytes) retransmitted&lt;BR /&gt;  134117 ack-only packets (38357 delayed)&lt;BR /&gt;  115 URG only packets&lt;BR /&gt;  234 window probe packets&lt;BR /&gt;  0 window update packets&lt;BR /&gt;  47985 control packets&lt;BR /&gt; 1457662 packets received&lt;BR /&gt;  1127258 acks (for 1956296290 bytes)&lt;BR /&gt;  16387 duplicate acks&lt;BR /&gt;  0 acks for unsent data&lt;BR /&gt;  577034 packets (89657644 bytes) received in-sequence&lt;BR /&gt;  0 completely duplicate packets (0 bytes)&lt;BR /&gt;  0 packets with some dup, data (0 bytes duped)&lt;BR /&gt;  32 out of order packets (9694 bytes)&lt;BR /&gt;  0 packets (0 bytes) of data after window&lt;BR /&gt;  0 window probes&lt;BR /&gt;  291139 window update packets&lt;BR /&gt;  1 packet received after close&lt;BR /&gt;  1 segment discarded for bad checksum&lt;BR /&gt;  0 bad TCP segments dropped due to state change&lt;BR /&gt; 1613 connection requests&lt;BR /&gt; 21994 connection accepts&lt;BR /&gt; 23607 connections established (including accepts)&lt;BR /&gt; 24340 connections closed (including 819 drops)&lt;BR /&gt; 541 embryonic connections dropped&lt;BR /&gt; 1104276 segments updated rtt (of 1104276 attempts)&lt;BR /&gt; 70 retransmit timeouts&lt;BR /&gt;  0 connections dropped by rexmit timeout&lt;BR /&gt; 234 persist timeouts&lt;BR /&gt; 545 keepalive timeouts&lt;BR /&gt;  458 keepalive probes sent&lt;BR /&gt;  4 connections dropped by keepalive&lt;BR /&gt; 0 connect requests dropped due to full queue&lt;BR /&gt; 1421 connect requests dropped due to no listener&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Aug 2002 16:43:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789056#M582009</guid>
      <dc:creator>David Child_1</dc:creator>
      <dc:date>2002-08-19T16:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: connect requests dropped due to no listener</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789057#M582010</link>
      <description>"connect requests dropped due to no listener" refers to connect requests for sockets that had no service listening on that socket.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As for source quench, see RFC792, page 10:&lt;BR /&gt;&lt;BR /&gt;A gateway may discard nternet datagrams if it does not have the buffer space needed to queue the datagrams for output to the next network on the route to the destination network.  If a gateway   discards a datagram, it may send a source quench message to the internet source host of the datagram.  A destination host may also send a source quench message if datagrams arrive too fast to be  processed.  The source quench message is a request to the host to cut back the rate at which it is sending traffic to the internet destination.&lt;BR /&gt;&lt;BR /&gt;Berlene&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Aug 2002 17:01:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789057#M582010</guid>
      <dc:creator>Berlene Herren</dc:creator>
      <dc:date>2002-08-19T17:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: connect requests dropped due to no listener</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789058#M582011</link>
      <description>The source quench is probably a red herring but until you get rid of it it's hard to really troubleshoot.  It's a bug in 11.0 code.  THere is a patch for it and also a work around.  See&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfe0e8f960573d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfe0e8f960573d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Check your &lt;BR /&gt;lanadmin&lt;BR /&gt;lan&lt;BR /&gt;display&lt;BR /&gt;&lt;BR /&gt;for each machine (and NIC) which might be involved.  The second page shows errors on the link so don't miss looking at it.&lt;BR /&gt;&lt;BR /&gt;If you have errros check that your NICs and switches all have the same duplex and speed hard coded.  Do not let them autonegotiate.&lt;BR /&gt;&lt;BR /&gt;As for the "no listener" stat.  Presumably the box received a connection request to port x and there was no process waiting on port x to receive the connection.  This could be caused by another PC trying to connect to a wrong port or it might be traffic to a port whose process has died for some reason.&lt;BR /&gt;&lt;BR /&gt;netstat -a  | grep listen&lt;BR /&gt;and &lt;BR /&gt;netstat -a | grep established&lt;BR /&gt;will show you most of the ports that are listening or working.  Without the grep you get a few pages of stuff you might not need but it will give you a complete list.&lt;BR /&gt;&lt;BR /&gt;You might need to get tcpdump or use a net sniffer to find out what's going on but get rid of the source quench first so your network guy can run his pings to check the connection.&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Mon, 19 Aug 2002 17:02:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789058#M582011</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-08-19T17:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: connect requests dropped due to no listener</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789059#M582012</link>
      <description>Connection drops occur when more requests are coming in than can be handled by the listener queue. On 11.0 the default listener queue max is 20.  If the 21st request comes in then the 1st one is dropped assuming that there is a problem and the 21st takes position 20.  &lt;BR /&gt;&lt;BR /&gt;First, we have to insure that the program runnning the listen(fd,size of listen queue) is set to a reasonable number in the program.  Second, we set a global parameter for /dev/tcp "max_conn_request_max." This is a default of 20.  Most web server should set this to 1024 or greater.  &lt;BR /&gt;&lt;BR /&gt;A note should be inserted here in that the the process taking in the requests should be able to handle the total queue depth within the time that the client will wait before it will then retry.  If not, then you may get other errors.&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Aug 2002 14:30:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789059#M582012</guid>
      <dc:creator>Euwell Bankston_1</dc:creator>
      <dc:date>2002-08-20T14:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: connect requests dropped due to no listener</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789060#M582013</link>
      <description>I stand corrected on my earlier assessment, this would apply on the conections dropped due to full queue.  my apologies.  &lt;BR /&gt;&lt;BR /&gt;The short and sweet is "... connect requests dropped due to no listener. The connect requests that came in were for sockets that had no&lt;BR /&gt;one listening on it."&lt;BR /&gt;&lt;BR /&gt;If you have some type of port redirector that redirects a single inbound port to a server that has multiple port listeners on it then the definition may be incorrect and have desitnation ports for which there are no listeners.</description>
      <pubDate>Tue, 20 Aug 2002 15:09:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789060#M582013</guid>
      <dc:creator>Euwell Bankston_1</dc:creator>
      <dc:date>2002-08-20T15:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: connect requests dropped due to no listener</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789061#M582014</link>
      <description>Thanks for all the replies:&lt;BR /&gt;&lt;BR /&gt;Yes, the NICs are statically set to 100FD AutoNeg off.&lt;BR /&gt;&lt;BR /&gt;I originally looked at the tcp_conn_request_max (which is set at 1024), but I also noticed that 0 connections were dropped due to a full queue. &lt;BR /&gt;&lt;BR /&gt;At least I now have a better understanding of what is causing the connection drops. I will try working with our LAN/WAN guys to take a closer look. I'll have to see if I can find some other ways to track down the source as well.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;David</description>
      <pubDate>Tue, 20 Aug 2002 15:48:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789061#M582014</guid>
      <dc:creator>David Child_1</dc:creator>
      <dc:date>2002-08-20T15:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: connect requests dropped due to no listener</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789062#M582015</link>
      <description>Yout TCP stats look reasonably clean. As pointed-out earlier the drops are because someone sent your system a SYN segment addressed to a local IP/port combination for which there was no endpoint in the LISTEN state.&lt;BR /&gt;&lt;BR /&gt;To find the source of these things, you could get a copy of tcpdump, and run it on each interface in turn, with a filter expresion - one that matches TCP segemnts with the  RST bit set, or one that matches on port numbers other than the ones you see listed in the output of netstat -an | grep LISTEN. The former will be easier, and would likely look like this:&lt;BR /&gt;&lt;BR /&gt;"(tcp[13] &amp;amp; 4) != 0)"&lt;BR /&gt;&lt;BR /&gt;which means that byte offset 13 in the TCP header (which has the flags) bitwise ANDed with the value of 4 (RST is the third bit of that byte, hence four in decimal/hex) is not zero - ie the RST bit is set.&lt;BR /&gt;&lt;BR /&gt;By default, the HP-UX 11X stacks will place text in the RST segment explaining why the reset was sent. You can then start to decode the data in the RST segment with the help of the ascii(5) manpage. &lt;BR /&gt;&lt;BR /&gt;It would look something like this:&lt;BR /&gt;&lt;BR /&gt;# /usr/contrib/bin/tcpdump -x -i lan0 "(tcp[13] &amp;amp; 0x4) != 0"&lt;BR /&gt;tcpdump: listening on lan0&lt;BR /&gt;11:38:03.044279 sweb156.cup.hp.com.54321 &amp;gt; tardy.cup.hp.com.58243: R 0:11(11) ack 741047421 win 0 (DF)&lt;BR /&gt;                         4500 0033 5936 4000 4006 6c9f 0ff4 28ce&lt;BR /&gt;                         0ff4 2c3a d431 e383 0000 0000 2c2b 7c7d&lt;BR /&gt;                         5014 0000 ad5d 0000 4e6f 206c 6973 7465&lt;BR /&gt;                         6e65 72&lt;BR /&gt;&lt;BR /&gt;those last few bytes are "No listener" in ASCII. Then you look at the addresing info (IP/host and ports) and go from there</description>
      <pubDate>Tue, 20 Aug 2002 16:35:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789062#M582015</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2002-08-20T16:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: connect requests dropped due to no listener</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789063#M582016</link>
      <description>I want to thank everyone for their input. Rick -- thanks a million for the tcpdump suggestion, it worked like a champ and I was able to lock down an NT machine that was the culprit. If I could I would give you more than 10 points for your very detailed response.&lt;BR /&gt;&lt;BR /&gt;David</description>
      <pubDate>Wed, 21 Aug 2002 17:10:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/connect-requests-dropped-due-to-no-listener/m-p/2789063#M582016</guid>
      <dc:creator>David Child_1</dc:creator>
      <dc:date>2002-08-21T17:10:32Z</dc:date>
    </item>
  </channel>
</rss>

