<?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 Work directory usage in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294022#M5833</link>
    <description>&lt;P&gt;This depends mainly on the operating system of your SAS server.&lt;/P&gt;
&lt;P&gt;I could only give you hints for AIX, as we use that here.&lt;/P&gt;
&lt;P&gt;You will need Adminstrator/superuser privileges to do it, anyway.&lt;/P&gt;
&lt;P&gt;So you may be served best by taking this to your IT people.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Aug 2016 13:33:21 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2016-08-25T13:33:21Z</dc:date>
    <item>
      <title>SAS Work directory usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294004#M5826</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are facing an issue in which the SAS WORK directory is getting fulled or near to full quite often. In order to track that which SAS program or SAS user is causing the issue, we have configured SAS Environment Manager. But SAS environment manager gives us the trend of usage in last few day but &amp;nbsp;we are not able to find who(SAS program and SAS User) is using SAS&lt;SPAN&gt;&amp;nbsp;WORK directory more. Please let us know if someone has done similar kind of tracking before..Thanks!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 12:57:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294004#M5826</guid>
      <dc:creator>AmitSingh</dc:creator>
      <dc:date>2016-08-25T12:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Work directory usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294008#M5827</link>
      <description>&lt;P&gt;I tackled the problem from a different angle.&lt;/P&gt;
&lt;P&gt;For the filesystem that contains the WORK location (and &lt;U&gt;only&lt;/U&gt; the WORK location!), I have specified a reasonable user quota class as default that allows each user to go about their work. When a user exceeds his/her quota, the step fails with a "file is full and maybe damaged" note.&lt;/P&gt;
&lt;P&gt;Usually they then get in contact with me (I'm also the data warehouse helpdesk), giving me the opportunity to fix their mistake.&lt;/P&gt;
&lt;P&gt;(Most of the time, such events are caused by improper SQL joins or erroneously included columns like those resulting from a faulty Excel import)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my experience, all shared disk resources must be protected with quotas; some people simply eat disk space just because it is there.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 13:10:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294008#M5827</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-08-25T13:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Work directory usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294014#M5829</link>
      <description>&lt;P&gt;With regards to automatically find offending jobs/sessions, it is quite hard to infer the physical dataset size from what is written to the SAS log.&lt;/P&gt;
&lt;P&gt;As Environment Manager can "only" trigger an alert if SASWORK is exceeding a certain treshold value, it is still up to you to determine which SAS session was/is the culprit.&lt;/P&gt;
&lt;P&gt;This usually means using the operating system's tools, like&lt;/P&gt;
&lt;PRE&gt;# cd /data/saswork
# du -sk *|sort -nr|head&lt;/PRE&gt;
&lt;P&gt;(UNIX)&lt;/P&gt;
&lt;P&gt;This gives you the "biggest" WORKs; you can then find the process responsible, as the process number is coded in hex into the directory name.&lt;/P&gt;
&lt;PRE&gt;# ls -l SAS_workXXXXXXXXXXX&lt;/PRE&gt;
&lt;P&gt;will also reveal the owner of the offending directory&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 13:21:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294014#M5829</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-08-25T13:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Work directory usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294016#M5830</link>
      <description>Thanks Kurt!!&lt;BR /&gt;&lt;BR /&gt;Could you provide the steps you did for defining user quota class then, we would try that out. It seems to be a feasible solution through.&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Aug 2016 13:26:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294016#M5830</guid>
      <dc:creator>AmitSingh</dc:creator>
      <dc:date>2016-08-25T13:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Work directory usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294022#M5833</link>
      <description>&lt;P&gt;This depends mainly on the operating system of your SAS server.&lt;/P&gt;
&lt;P&gt;I could only give you hints for AIX, as we use that here.&lt;/P&gt;
&lt;P&gt;You will need Adminstrator/superuser privileges to do it, anyway.&lt;/P&gt;
&lt;P&gt;So you may be served best by taking this to your IT people.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 13:33:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294022#M5833</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-08-25T13:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Work directory usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294024#M5834</link>
      <description>Thanks we are using windows 10 and I have administrator rights on the server.</description>
      <pubDate>Thu, 25 Aug 2016 13:34:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294024#M5834</guid>
      <dc:creator>AmitSingh</dc:creator>
      <dc:date>2016-08-25T13:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Work directory usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294028#M5835</link>
      <description>&lt;P&gt;Then this&lt;/P&gt;
&lt;P&gt;&lt;A href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa365228%28v=vs.85%29.aspx" target="_blank"&gt;https://msdn.microsoft.com/en-us/library/windows/desktop/aa365228%28v=vs.85%29.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and this&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.isunshare.com/windows-10/enable-quota-management-for-hard-disk-in-windows-10.html" target="_blank"&gt;http://www.isunshare.com/windows-10/enable-quota-management-for-hard-disk-in-windows-10.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;might be good starting points.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 13:40:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294028#M5835</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-08-25T13:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Work directory usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294067#M5844</link>
      <description>Thanks I will check these and come back in case of any issue or question!!</description>
      <pubDate>Thu, 25 Aug 2016 15:21:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294067#M5844</guid>
      <dc:creator>AmitSingh</dc:creator>
      <dc:date>2016-08-25T15:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Work directory usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294101#M5850</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not sure this helps .. I found a paper: &lt;A href="http://support.sas.com/resources/papers/proceedings12/099-2012.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings12/099-2012.pdf&lt;/A&gt;, which might be helpful.&lt;/P&gt;
&lt;P&gt;It is from 2012 - so pretty old - but the code suggested works, I ran it.&lt;/P&gt;
&lt;P&gt;Maybe this helps to get closer to what you are looking for?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another paper - old too:&amp;nbsp; &lt;A href="http://support.sas.com/resources/papers/proceedings15/3196-2015.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings15/3196-2015.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;(old) &lt;A href="http://www.okstate.edu/sas/v8/sashtml/cms/zsf-work.htm" target="_blank"&gt;http://www.okstate.edu/sas/v8/sashtml/cms/zsf-work.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Anja&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 17:17:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294101#M5850</guid>
      <dc:creator>anja</dc:creator>
      <dc:date>2016-08-25T17:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Work directory usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294161#M5859</link>
      <description>&lt;P&gt;Are you running the SAS Cleanwork utility on your SAS Server? It is best practice to run this daily to delete WORK folders left by SAS sessions that did not close cleanly. If you do not run this, orphan WORK folders can accumulate&amp;nbsp;over time and fill up your WORK space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#n0j43jculk2kasn1qh5h12f3kl3z.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#n0j43jculk2kasn1qh5h12f3kl3z.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 19:40:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294161#M5859</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-08-25T19:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Work directory usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294175#M5860</link>
      <description>Thanks for the link..I will check these..&lt;BR /&gt;&lt;BR /&gt;And yes we are running SAS cleanwork utility every night. But the issue comes now and then in day time and the challenge is to find the user or program which makes WORK directory out of space. And just for information, we have around 644 GB space available in SAS WORK directory.</description>
      <pubDate>Thu, 25 Aug 2016 20:06:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294175#M5860</guid>
      <dc:creator>AmitSingh</dc:creator>
      <dc:date>2016-08-25T20:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Work directory usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294252#M5861</link>
      <description>&lt;P&gt;OK, good to hear. Also in our Windows SAS environment we have SAS dataset compression turned on by default so that includes WORK libraries. In many datasets we get over 70% compression due to having long character columns. The CPU overhead for us is worthwhile due to the IO and space saving .&amp;nbsp;I suggest you check this out too.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 02:59:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294252#M5861</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-08-26T02:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Work directory usage</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294787#M5874</link>
      <description>&lt;P&gt;Amit,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're interested in&amp;nbsp;a third party commercial solution, our Enterprise Session Monitor for SAS addresses the&amp;nbsp;exact challenge you're having (easily finding the user or program that is currently filling your SASWORK/UTIL disk). It measures the SASWORK size for each session in real time and at any time gives you a breakdown of exactly how that space is being used with one click. It can also tell you how that space&amp;nbsp;&lt;EM&gt;was&amp;nbsp;&lt;/EM&gt;being used at&amp;nbsp;any arbitrary point in time over the last 4 weeks, as well as doing a bunch of other stuff like automatically associating workspace sessions to the metadata users that own them, letting users keep an eye on what resources the sessions they own are currently using on the server,&amp;nbsp;allowing&amp;nbsp;superusers to&amp;nbsp;clean up&amp;nbsp;unwanted sessions very easily, etc. etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check out &lt;A href="https://vimeo.com/105707060" target="_self"&gt;this screencast on Vimeo&lt;/A&gt; - relevant bits are around 50 seconds in, and then again around 3 minutes in.&amp;nbsp;&lt;A href="http://boemskats.com/esm" target="_self"&gt;Product page can be found here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you were on a UNIX-based OS, as a workaround I would&amp;nbsp;suggest a couple of script-based solutions&amp;nbsp;similar to what Kurt has suggested. Turning on SASWORK compression&amp;nbsp;is&amp;nbsp;a good idea but I'd definitely want to profile your disk throughput performance and look at CPU headroom before flicking the switch in production.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nik&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 12:59:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Work-directory-usage/m-p/294787#M5874</guid>
      <dc:creator>boemskats</dc:creator>
      <dc:date>2016-08-29T12:59:23Z</dc:date>
    </item>
  </channel>
</rss>

