<?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 Limit the number of sessions - SAS Linux in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26505#M157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You also mentioned you want to restrict number of management console connections. This is impossible for now, as far as I know. But fortunately, management console connections do not consume a lot of resources, unless they are very specific admin/backup log-ins which require special handling from the metadata workspace server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to the previous answers, if a user will be somewhat knowledgeable about the sas environment, there is a possibility for that user to use a separate sas.sh (own rewritten one) and a separate work area which may diminish your restrictions. In these cases you may need to run ps commands as root every minute, calculating the number of sas processes per user, and probably killing the newest ones, though I'd be very careful with this script &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2012 14:39:10 GMT</pubDate>
    <dc:creator>diser</dc:creator>
    <dc:date>2012-03-20T14:39:10Z</dc:date>
    <item>
      <title>Limit the number of sessions - SAS Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26498#M150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have SAS 9.3 installed on a Linux Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is if I can limit the number of SAS Sessions (per user or group) using some SAS option &lt;/P&gt;&lt;P&gt;(Management console, sasenv_local, etc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying not to use a 100% Linux solution, that is, I'm trying to find a solution that involves a SAS parameter or something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've already searched the SAS system options, and googled about it, but I found nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone knows if it is possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 14:09:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26498#M150</guid>
      <dc:creator>Rah</dc:creator>
      <dc:date>2012-03-09T14:09:22Z</dc:date>
    </item>
    <item>
      <title>Limit the number of sessions - SAS Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26499#M151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If all else fails ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You know the location of the SAS WORK folders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linux should be able to count how many folders belong to the current user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are pitfalls, like cancelled sessions that never erased the WORK area.&amp;nbsp; But at least it's a possible approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 14:54:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26499#M151</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2012-03-09T14:54:32Z</dc:date>
    </item>
    <item>
      <title>Limit the number of sessions - SAS Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26500#M152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's capabilities probably far exceed your needs but you may find Platform LSF (&lt;A href="http://www.platform.com/workload-management/high-performance-computing"&gt;http://www.platform.com/workload-management/high-performance-computing&lt;/A&gt;).&amp;nbsp; You can use this tool for management and optimization of server processes either on a single server to orchestrated in a 'cloud'&amp;nbsp; SAS Grid is actually build on top of this product by Platform Computing (which was somewhat recently purchased by IBM).&amp;nbsp; I consider it's pricing structure quite reasonable however it has been a while and I have never dealt with new licensing since it has become part of IBM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Mar 2012 04:16:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26500#M152</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2012-03-10T04:16:02Z</dc:date>
    </item>
    <item>
      <title>Limit the number of sessions - SAS Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26501#M153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A way to avoid this, from a purely linux solution would be to use the ps command to retrive a report of running processes and then instantiate a SAS session only if the desired load is met.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Mar 2012 04:19:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26501#M153</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2012-03-10T04:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Limit the number of sessions - SAS Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26502#M154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;- What should happen if a user/group exceeds the allowed limit?&lt;/P&gt;&lt;P&gt;- Under which credentials are processes running?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Mar 2012 04:47:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26502#M154</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-03-10T04:47:57Z</dc:date>
    </item>
    <item>
      <title>Limit the number of sessions - SAS Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26503#M155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Patrick, the idea is that the user will not be able to start a SAS session if he/she exceeds the allowed limit.&lt;/P&gt;&lt;P&gt;Yes, the process is running with the user's credentials, I could identify them using ps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think now I will work with an Linux solution, as it appears that SAS by itself can't handle this... Thanks for all the answers guys!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 13:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26503#M155</guid>
      <dc:creator>Rah</dc:creator>
      <dc:date>2012-03-12T13:23:02Z</dc:date>
    </item>
    <item>
      <title>Limit the number of sessions - SAS Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26504#M156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't of any config parameters for session limits, but you could modify the sas.sh script and, like someone said, count the number of current sessions using ps, then only invoke the sas exec command if the limit is under. Either that, or check the LOAD averages, count the number of SASWORK folders, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By doing this you can also get the script logic to e-mail an alert to you and/or the SAS developer when this happens. But to my mind, it's not very user friendly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 05:30:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26504#M156</guid>
      <dc:creator>boschy</dc:creator>
      <dc:date>2012-03-14T05:30:15Z</dc:date>
    </item>
    <item>
      <title>Limit the number of sessions - SAS Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26505#M157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You also mentioned you want to restrict number of management console connections. This is impossible for now, as far as I know. But fortunately, management console connections do not consume a lot of resources, unless they are very specific admin/backup log-ins which require special handling from the metadata workspace server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to the previous answers, if a user will be somewhat knowledgeable about the sas environment, there is a possibility for that user to use a separate sas.sh (own rewritten one) and a separate work area which may diminish your restrictions. In these cases you may need to run ps commands as root every minute, calculating the number of sas processes per user, and probably killing the newest ones, though I'd be very careful with this script &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 14:39:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Limit-the-number-of-sessions-SAS-Linux/m-p/26505#M157</guid>
      <dc:creator>diser</dc:creator>
      <dc:date>2012-03-20T14:39:10Z</dc:date>
    </item>
  </channel>
</rss>

