<?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: CLOSE_WAITS increase causing WEBAPP server latency in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/596170#M17438</link>
    <description>&lt;P&gt;If this is happening in the SAS-supplied httpd, then open a track with SAS technical support.&lt;/P&gt;
&lt;P&gt;Otherwise, do a google search for "httpd close_wait" and see if you find something relating to your situation. Most often it's a problem in the webapp.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2019 07:08:55 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-10-14T07:08:55Z</dc:date>
    <item>
      <title>CLOSE_WAITS increase causing WEBAPP server latency</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/596167#M17437</link>
      <description>&lt;P&gt;HI Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am facing issues with CLOSE_WAITS in Web Server. Whenever, i see this number incraeses to &amp;gt; 50&amp;nbsp; WebAppServer latent/stops responding to the requests.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have JVM heap memory setting to 16GB and garbage collection is enabled. Initially we suspect that GC is causing this issue but not enough evidences too prove the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My Webserver version is 2.2. Please let me know , what are the reasons of increasing this close_waits number.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Sandeep&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 06:38:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/596167#M17437</guid>
      <dc:creator>sandeep_reddy</dc:creator>
      <dc:date>2019-10-14T06:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: CLOSE_WAITS increase causing WEBAPP server latency</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/596170#M17438</link>
      <description>&lt;P&gt;If this is happening in the SAS-supplied httpd, then open a track with SAS technical support.&lt;/P&gt;
&lt;P&gt;Otherwise, do a google search for "httpd close_wait" and see if you find something relating to your situation. Most often it's a problem in the webapp.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 07:08:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/596170#M17438</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-10-14T07:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: CLOSE_WAITS increase causing WEBAPP server latency</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/596174#M17439</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10246"&gt;@sandeep_reddy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this on Windows ?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 07:46:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/596174#M17439</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2019-10-14T07:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: CLOSE_WAITS increase causing WEBAPP server latency</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/596198#M17440</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is on Unix and SAS Version 9.4 M3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;/P&gt;
&lt;P&gt;Sandeep&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 10:04:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/596198#M17440</guid>
      <dc:creator>sandeep_reddy</dc:creator>
      <dc:date>2019-10-14T10:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: CLOSE_WAITS increase causing WEBAPP server latency</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/596217#M17441</link>
      <description>&lt;P&gt;Ok, just wanted to check since I've seen this before on Windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Agree with&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;, best is to open a Track with Tech Support.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 11:30:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/596217#M17441</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2019-10-14T11:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: CLOSE_WAITS increase causing WEBAPP server latency</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/599206#M17491</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have opened a SAS track and below is the update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) After investigating on tcp dump and webserver worker threads SAS support asked us to upgrade the WebServer 2.2 to 2.4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) We have done the same and observing the same behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any small suggestions in fine tuning as well, happy to test in my environments. Need a direction to close this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Sandeep&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 00:24:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/599206#M17491</guid>
      <dc:creator>sandeep_reddy</dc:creator>
      <dc:date>2019-10-25T00:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: CLOSE_WAITS increase causing WEBAPP server latency</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/599727#M17504</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;have you noticed that there are some suggestions for Operation System Tuning in the&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;SAS® 9.4 Web Applications: Tuning for Performance and Scalability&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/appsrvtuning/69859/HTML/default/viewer.htm#n0xfno04p3q3urn1513f8zdjx72m.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/appsrvtuning/69859/HTML/default/viewer.htm#n0xfno04p3q3urn1513f8zdjx72m.htm&lt;/A&gt; ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are on Red Hat you can have a look to 'Red Hat Enterprise Linux Network Performance Tuning Guide', there a serveral parameters which can infulence the behaivour on the network interfaces.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Andres&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 07:15:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/599727#M17504</guid>
      <dc:creator>AndreasWindisch</dc:creator>
      <dc:date>2019-10-28T07:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: CLOSE_WAITS increase causing WEBAPP server latency</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/600226#M17512</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot for your response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the limits in /etc/sysctl.conf has been modified to highest number to handle the load.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;net.ipv4.tcp_max_syn_backlog: 4096&lt;/P&gt;
&lt;P&gt;net.core.somaxconn:6000&lt;/P&gt;
&lt;P&gt;net.core.netdev_max_backlog:3000&lt;/P&gt;
&lt;P&gt;net.ipv4.tcp_keepalive_time=300&lt;BR /&gt;net.ipv4.tcp_keepalive_intvl=60&lt;BR /&gt;net.ipv4.tcp_keepalive_probes=20&lt;BR /&gt;net.ipv4.tcp_fin_timeout=30&lt;BR /&gt;net.core.netdev_max_backlog=3000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What surprises me is that, WebServer has already send ACK to Load balancer for close request. I could see in ssl webserver logs as POST /SASLogon/ClearPass entries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even my TCP dump output shows the same. But still my Webserver is not able to reuse/clear the unused sockets and it seems it is still waiting for something(Unknown).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have 300 users and 6 JVMS with 16GB heap memory. I am not sure where this bottleneck exists.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Sandeep&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 01:14:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLOSE-WAITS-increase-causing-WEBAPP-server-latency/m-p/600226#M17512</guid>
      <dc:creator>sandeep_reddy</dc:creator>
      <dc:date>2019-10-30T01:14:43Z</dc:date>
    </item>
  </channel>
</rss>

