<?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: SAS 9.4 Middle Tier UNIX ulimit settings in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-Middle-Tier-UNIX-ulimit-settings/m-p/170595#M264215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shaun I am worried on the reaction of your Unix sys-admins as they should be worried on this SAS recommendations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These kind of settings/adjustments&amp;nbsp; are very common to middleware that is some more advanced as a notepad executable.&lt;/P&gt;&lt;P&gt;Let us take some rather simple middleware application as Oracle. &lt;A href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/sect-Oracle_9i_and_10g_Tuning_Guide-Setting_Shell_Limits_for_the_Oracle_User-Limiting_Maximum_Number_of_Processes_Available_for_the_Oracle_User.html" title="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/sect-Oracle_9i_and_10g_Tuning_Guide-Setting_Shell_Limits_for_the_Oracle_User-Limiting_Maximum_Number_of_Processes_Available_for_the_Oracle_User.html"&gt;11.2. Limiting Maximum Number of Processes Available for the Oracle User&lt;/A&gt; and &lt;A href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/chap-Oracle_9i_and_10g_Tuning_Guide-Setting_Shell_Limits_for_the_Oracle_User.html#sect-Oracle_9i_and_10g_Tuning_Guide-Setting_Shell_Limits_for_the_Oracle_User-Limiting_Maximum_Number_of_Open_File_Descriptors_for_the_Oracle_User" title="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/chap-Oracle_9i_and_10g_Tuning_Guide-Setting_Shell_Limits_for_the_Oracle_User.html#sect-Oracle_9i_and_10g_Tuning_Guide-Setting_Shell_Limits_for_the_Oracle_User-Limiting_Maximum_Number_of_Open_File_Descriptors_for_the_Oracle_User"&gt;Chapter 11. Setting Shell Limits for the Oracle User&lt;/A&gt; there you have you file and process limits.&lt;/P&gt;&lt;P&gt;there is system max &lt;A href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/chap-Oracle_9i_and_10g_Tuning_Guide-Setting_File_Handles.html" title="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/chap-Oracle_9i_and_10g_Tuning_Guide-Setting_File_Handles.html"&gt;Chapter 9. Setting File Handles&lt;/A&gt; and a user max. The system should at least being capable to support it all.&lt;/P&gt;&lt;P&gt;As a relative simple tool like Oracle is having that kind of setting than you should get expect and accepted a SAS environment is asking for more of that. SAS should be capable to do far more than Oracle.&lt;/P&gt;&lt;P&gt;The midtier is build with a java-container and many many java applications. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There you another issue SAS and Oracle are middleware applications call them tools or whatever, they are not business applications. If they are understood in the wrong context&amp;nbsp; like: "sas is a business application" you have a failure on your project to be expected as highly confident prediction. I could wish SAS-institute would promote that in the same way as positioned "middleware".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system wide limits cannot be set on a per user approach. After that you have your hard-limit only able to decrease not increase.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.vcssoftware.com/" title="http://www.vcssoftware.com/"&gt;Home - VCS Software&lt;/A&gt; is for scheduling used with an in house department as operations. The goal for the sas.servers is easy manual operation not automated. In fact you have a quite different question to be asked.&lt;/P&gt;&lt;P&gt;What will your operational support and monitoring by your in house department. As a pitty the standard SAS approach is ignoring these common in-house requirements. However, you can adjust a lot to get that aligned.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2015 19:08:56 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2015-01-06T19:08:56Z</dc:date>
    <item>
      <title>SAS 9.4 Middle Tier UNIX ulimit settings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-Middle-Tier-UNIX-ulimit-settings/m-p/170594#M264214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on the SAS support web site, installations of the SAS 9.4 Middle Tier on a UNIX server require that "the soft limit on number of open file descriptors be at least 20480..." (see &lt;A href="http://support.sas.com/resources/thirdpartysupport/v94/appservers/preinstall.html" title="http://support.sas.com/resources/thirdpartysupport/v94/appservers/preinstall.html"&gt;Pre-Installation Steps for SAS 9.4 Middle Tier)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;We use a Solaris UNIX server, and the UNIX administrators are perplexed by this request... not how to do it, but why it is recommended.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is there a reason it is so high?&lt;/P&gt;&lt;P&gt;Is there any significance to the number "20480" in this case?&lt;/P&gt;&lt;P&gt;Can this be solved permanently with a .profile change for the user "sas" or does each individual profile that connects to SAS need this change?&lt;/P&gt;&lt;P&gt;Alternatively, can this be a command in the SAS component startup scripts or configuration files?&lt;/P&gt;&lt;P&gt;We manage SAS services using VCS, so the sas.servers script is not an option.&amp;nbsp; If we put this setting in a script, what individual startup scripts require this ulimit setting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any information on this topic would be helpful to our understanding of the SAS 9.4 Middle Tier and hopefully help resolve the concerns of our UNIX system administrators.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shaun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 16:39:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-Middle-Tier-UNIX-ulimit-settings/m-p/170594#M264214</guid>
      <dc:creator>ICI_SAS_Admins</dc:creator>
      <dc:date>2015-01-06T16:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 Middle Tier UNIX ulimit settings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-Middle-Tier-UNIX-ulimit-settings/m-p/170595#M264215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shaun I am worried on the reaction of your Unix sys-admins as they should be worried on this SAS recommendations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These kind of settings/adjustments&amp;nbsp; are very common to middleware that is some more advanced as a notepad executable.&lt;/P&gt;&lt;P&gt;Let us take some rather simple middleware application as Oracle. &lt;A href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/sect-Oracle_9i_and_10g_Tuning_Guide-Setting_Shell_Limits_for_the_Oracle_User-Limiting_Maximum_Number_of_Processes_Available_for_the_Oracle_User.html" title="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/sect-Oracle_9i_and_10g_Tuning_Guide-Setting_Shell_Limits_for_the_Oracle_User-Limiting_Maximum_Number_of_Processes_Available_for_the_Oracle_User.html"&gt;11.2. Limiting Maximum Number of Processes Available for the Oracle User&lt;/A&gt; and &lt;A href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/chap-Oracle_9i_and_10g_Tuning_Guide-Setting_Shell_Limits_for_the_Oracle_User.html#sect-Oracle_9i_and_10g_Tuning_Guide-Setting_Shell_Limits_for_the_Oracle_User-Limiting_Maximum_Number_of_Open_File_Descriptors_for_the_Oracle_User" title="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/chap-Oracle_9i_and_10g_Tuning_Guide-Setting_Shell_Limits_for_the_Oracle_User.html#sect-Oracle_9i_and_10g_Tuning_Guide-Setting_Shell_Limits_for_the_Oracle_User-Limiting_Maximum_Number_of_Open_File_Descriptors_for_the_Oracle_User"&gt;Chapter 11. Setting Shell Limits for the Oracle User&lt;/A&gt; there you have you file and process limits.&lt;/P&gt;&lt;P&gt;there is system max &lt;A href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/chap-Oracle_9i_and_10g_Tuning_Guide-Setting_File_Handles.html" title="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/chap-Oracle_9i_and_10g_Tuning_Guide-Setting_File_Handles.html"&gt;Chapter 9. Setting File Handles&lt;/A&gt; and a user max. The system should at least being capable to support it all.&lt;/P&gt;&lt;P&gt;As a relative simple tool like Oracle is having that kind of setting than you should get expect and accepted a SAS environment is asking for more of that. SAS should be capable to do far more than Oracle.&lt;/P&gt;&lt;P&gt;The midtier is build with a java-container and many many java applications. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There you another issue SAS and Oracle are middleware applications call them tools or whatever, they are not business applications. If they are understood in the wrong context&amp;nbsp; like: "sas is a business application" you have a failure on your project to be expected as highly confident prediction. I could wish SAS-institute would promote that in the same way as positioned "middleware".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system wide limits cannot be set on a per user approach. After that you have your hard-limit only able to decrease not increase.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.vcssoftware.com/" title="http://www.vcssoftware.com/"&gt;Home - VCS Software&lt;/A&gt; is for scheduling used with an in house department as operations. The goal for the sas.servers is easy manual operation not automated. In fact you have a quite different question to be asked.&lt;/P&gt;&lt;P&gt;What will your operational support and monitoring by your in house department. As a pitty the standard SAS approach is ignoring these common in-house requirements. However, you can adjust a lot to get that aligned.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 19:08:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-Middle-Tier-UNIX-ulimit-settings/m-p/170595#M264215</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2015-01-06T19:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 Middle Tier UNIX ulimit settings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-Middle-Tier-UNIX-ulimit-settings/m-p/170596#M264216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your comments as always.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question did fail to address the difference between hard/system limits and soft/user-process limits.&amp;nbsp; Our environment has a hard/system limit that is high enough to handle this, but the default soft limits are 256... well below the SAS recommendation.&amp;nbsp; So my questions are specific to the soft limits that are required by the middleware of SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(As a side note, we also have an Oracle database that is being managed on a similar UNIX server, but I have been told that the soft limits required for that are much lower.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The links that you sent only refer to changing the soft limits for a specific user (in this case "oracle").&amp;nbsp; This brings me back to one of my questions "&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Can this be solved permanently with a .profile change for the user "sas" or does each individual profile that connects to SAS need this change?"&amp;nbsp; If the "sas" user is the only one that is required to have these higher limits, then I can parallel the changes outlined by the link you provided &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small active_link" href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/chap-Oracle_9i_and_10g_Tuning_Guide-Setting_Shell_Limits_for_the_Oracle_User.html#sect-Oracle_9i_and_10g_Tuning_Guide-Setting_Shell_Limits_for_the_Oracle_User-Limiting_Maximum_Number_of_Open_File_Descriptors_for_the_Oracle_User" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0e66ba; text-decoration: underline; background-color: #ffffff;"&gt;Chapter 11. Setting Shell Limits for the Oracle User.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tangentially, yesterday we manually set the soft limit for open files to 20480 as stated in the SAS documentation and then manually ran the sas.servers script.&amp;nbsp; This "brought the server to its knees" and the systems administrators were getting all sorts of memory and processor usage warnings.&amp;nbsp; This was on a 64-bit quad-core 64GB memory Solaris server.&amp;nbsp; We stopped all the SAS processes and set the ulimit to 2048 (10% of recommended) and was able to successfully bring up the SAS services via the sas.servers script.&amp;nbsp; This issue is definitely something that we plan to bring up with SAS support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for your comments and suggestions.&amp;nbsp; I am curious what others on Solaris servers have done for this soft limit requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shaun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 16:08:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-Middle-Tier-UNIX-ulimit-settings/m-p/170596#M264216</guid>
      <dc:creator>ICI_SAS_Admins</dc:creator>
      <dc:date>2015-01-07T16:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 Middle Tier UNIX ulimit settings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-Middle-Tier-UNIX-ulimit-settings/m-p/170597#M264217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shaun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yep you are right to have it by the hardlimits allowable to set each user accordingly at startup of the process. That is a approach sys-admins are more likely to accept.&lt;/P&gt;&lt;P&gt;Letting the default soft-limit low will set up limits to unknown processes doing unwanted things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the area I found a lot of issues in the approach of the SAS technical adjustments.&lt;/P&gt;&lt;P&gt;They do a lot advanced things on those (Margaret Crevar) and&amp;nbsp; then with sales promoting get root type setup that is it. In no way aligned to existing IT policies.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The inheritance and setuid (starting new processes). That ones are not using the expected user standard OS settings but sometimes that of original user or the system default.&lt;BR /&gt;That took me a lot of time to get it to the root-cause (years ago). Nice to see you have the same experience, not nice it is still there.&lt;/P&gt;&lt;P&gt;It could be set in some scripts I think but as there that many I cannot be sure which ones and whether that are all of them. That is the designer/builder of this.&lt;/P&gt;&lt;P&gt;Let us hear if someone has more information.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 18:22:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-Middle-Tier-UNIX-ulimit-settings/m-p/170597#M264217</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2015-01-07T18:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 Middle Tier UNIX ulimit settings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-Middle-Tier-UNIX-ulimit-settings/m-p/443323#M264218</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are running a SAS 9.3 grid and we are running into a very similar issue. The original setting for the ulimits were 1024. We changed it to the recommended 350000 (based on &lt;A href="http://support.sas.com/kb/38/040.html" target="_blank"&gt;http://support.sas.com/kb/38/040.html&lt;/A&gt;) and we see a significant decrease in throughput.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So to test a few more values, we set the ulimit at 10240 ( 10 times the original value) and there was no benefit whatsoever.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the recommended ulimit settings ? Any help would be appreciated!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;JP&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 14:47:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-Middle-Tier-UNIX-ulimit-settings/m-p/443323#M264218</guid>
      <dc:creator>JInPhil</dc:creator>
      <dc:date>2018-03-07T14:47:29Z</dc:date>
    </item>
  </channel>
</rss>

