<?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 many sas processes in LCK/sleep state in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/many-sas-processes-in-LCK-sleep-state/m-p/114931#M9682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are using SAS (64bit) on a machine running SUN Solaris 10 (64bit).&lt;/P&gt;&lt;P&gt;If users are starting the execution of SAS code on the machine via ssh console e.g. "nohup sas &amp;lt;programname&amp;gt;.sas &amp;amp;", these processes have a long time in the state sleep (LCK).&lt;/P&gt;&lt;P&gt;The programs access flat files in UNIX filesystem for analysis. We were investigating but couldn't find a cause for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does any of you have an idea, how we could optimize the execution e.g. with -memsize, -paging etc. or the SAS codes to boost the execution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have example code but could provide more information if required.&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>Sat, 21 Jul 2012 12:50:14 GMT</pubDate>
    <dc:creator>emsmpa</dc:creator>
    <dc:date>2012-07-21T12:50:14Z</dc:date>
    <item>
      <title>many sas processes in LCK/sleep state</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/many-sas-processes-in-LCK-sleep-state/m-p/114931#M9682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are using SAS (64bit) on a machine running SUN Solaris 10 (64bit).&lt;/P&gt;&lt;P&gt;If users are starting the execution of SAS code on the machine via ssh console e.g. "nohup sas &amp;lt;programname&amp;gt;.sas &amp;amp;", these processes have a long time in the state sleep (LCK).&lt;/P&gt;&lt;P&gt;The programs access flat files in UNIX filesystem for analysis. We were investigating but couldn't find a cause for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does any of you have an idea, how we could optimize the execution e.g. with -memsize, -paging etc. or the SAS codes to boost the execution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have example code but could provide more information if required.&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>Sat, 21 Jul 2012 12:50:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/many-sas-processes-in-LCK-sleep-state/m-p/114931#M9682</guid>
      <dc:creator>emsmpa</dc:creator>
      <dc:date>2012-07-21T12:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: many sas processes in LCK/sleep state</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/many-sas-processes-in-LCK-sleep-state/m-p/114932#M9683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try having the users add the -noterminal option to these background jobs.&lt;/P&gt;&lt;P&gt;It is possible that SAS thinks they have a terminal and is waiting for it to respond.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jul 2012 20:02:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/many-sas-processes-in-LCK-sleep-state/m-p/114932#M9683</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-07-22T20:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: many sas processes in LCK/sleep state</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/many-sas-processes-in-LCK-sleep-state/m-p/114933#M9684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The -noterminal option is already in use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 09:14:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/many-sas-processes-in-LCK-sleep-state/m-p/114933#M9684</guid>
      <dc:creator>emsmpa</dc:creator>
      <dc:date>2012-07-23T09:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: many sas processes in LCK/sleep state</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/many-sas-processes-in-LCK-sleep-state/m-p/114934#M9685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can only say that I was already using SAS in a similar environment as you describe it and batch processing was no issue. Is this "sleep state" issue true for all SAS batch jobs or only for specific ones?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know with what priority these processes run (are there other processes with higher priority around) and how many SAS processes can be run in parallel? Just thinking that it might be a "OS setup" issue for sas.exe stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if it's only SAS jobs accessing external files: Is this a ftp connection or something alike? And could there be a tight limitation on how many channels you can open in parallel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds to me very much like something a SysAdmin needs to look into.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can't resolve this issue within reasonable time then it might also be worth to contact SAS TechSupport.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 11:40:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/many-sas-processes-in-LCK-sleep-state/m-p/114934#M9685</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-07-23T11:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: many sas processes in LCK/sleep state</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/many-sas-processes-in-LCK-sleep-state/m-p/114935#M9686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nohup writes an output file, nohup.out, do you have the input SAS-files in one folder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Solaris-admin should be able to tell you the reason of the locks. (prstat -mL, plockstat, mount options)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the command line, together with the input file (-sysin), -noterminal, -nonews I would define logfiles (-log) and outputfiles (-print) , too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS Help: Optimizing SAS I/O can give you some hints, too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 13:50:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/many-sas-processes-in-LCK-sleep-state/m-p/114935#M9686</guid>
      <dc:creator>SandorSzalma</dc:creator>
      <dc:date>2012-11-19T13:50:22Z</dc:date>
    </item>
  </channel>
</rss>

