I am facing issues with CLOSE_WAITS in Web Server. Whenever, i see this number incraeses to > 50 WebAppServer latent/stops responding to the requests.
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.
My Webserver version is 2.2. Please let me know , what are the reasons of increasing this close_waits number.
If this is happening in the SAS-supplied httpd, then open a track with SAS technical support.
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.
I have opened a SAS track and below is the update.
1) After investigating on tcp dump and webserver worker threads SAS support asked us to upgrade the WebServer 2.2 to 2.4
2) We have done the same and observing the same behavior.
Any small suggestions in fine tuning as well, happy to test in my environments. Need a direction to close this issue.
have you noticed that there are some suggestions for Operation System Tuning in the
SAS® 9.4 Web Applications: Tuning for Performance and Scalability
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.
Thanks a lot for your response.
All the limits in /etc/sysctl.conf has been modified to highest number to handle the load.
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.
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).
We have 300 users and 6 JVMS with 16GB heap memory. I am not sure where this bottleneck exists.
Thanks & Regards,
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.
Find more tutorials on the SAS Users YouTube channel.