<?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: LASR Memory Percentage in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493056#M11033</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155674"&gt;@rodrigo_pereira&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That means you do not have any tables in the memory for that particular LASR server. What about _T_LASRMEMORY?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Sep 2018 15:10:08 GMT</pubDate>
    <dc:creator>alexal</dc:creator>
    <dc:date>2018-09-06T15:10:08Z</dc:date>
    <item>
      <title>LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/492337#M11005</link>
      <description>&lt;P&gt;Dear VA administrator experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm facing a strange behavior in&amp;nbsp;the LASR memory used by SAS VA 7.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I look to the "used Virtual Memory" of the&amp;nbsp;specific LASR servers it looks in line with what I was expecting. For&amp;nbsp; example, it says that it has 191 GB used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I look to the top right corner (which represents the total memory) the value is clearly exaggerated and I don't understand why. In this case, it shows 300 GB used when it should be around the same 191 GB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you explain this?&lt;/P&gt;&lt;P&gt;Also, for some explorations I'm getting the following error message and the limits should not have been reached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"A server-side limit on the consumption of memory resources has been reached. These limits can be adjusted by the owner or by the administrator of the LASR Analytic Server."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate&amp;nbsp;very much your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rodrigo&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 15:29:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/492337#M11005</guid>
      <dc:creator>rodrigo_pereira</dc:creator>
      <dc:date>2018-09-04T15:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/492608#M11010</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155674"&gt;@rodrigo_pereira&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm wondering what you see in TKGrid Monitor -&amp;gt; File -&amp;gt; Show Jobs on Grid? You can start TKGrid Monitor from your TKGrid folder:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/TKGrid/bin/gridmon.sh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that TKGrid Monitor requires X11 server, local or remote.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 11:59:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/492608#M11010</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-09-05T11:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493011#M11027</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;thank you for your answer.&lt;/P&gt;&lt;P&gt;I'm still waiting for the installation of the X11 server&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, I've looked at the log in the&amp;nbsp;/opt/sas/sasconfig/Lev1/Applications/SASVisualAnalytics/VisualAnalyticsAdministrator/Monitoring/Logs folder and I've noticed that the LASR is using just 2 worker nodes instead of 3 worker nodes (as it should in our distributed installation!).&lt;BR /&gt;&lt;BR /&gt;Maybe this is the reason.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You know what could be happening? I already have tried to restart (both the LASR server and all the services) but didn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rodrigo&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 13:38:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493011#M11027</guid>
      <dc:creator>rodrigo_pereira</dc:creator>
      <dc:date>2018-09-06T13:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493014#M11028</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155674"&gt;@rodrigo_pereira&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do not have access to X11, you can run this SAS program in SAS Studio or EG. We will be able to see exact memory utilization as well as the number of nodes:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME LASRLIB SASIOLA  TAG=VAPUBLIC  PORT=&lt;STRONG&gt;&amp;lt;LASR_PORT&amp;gt;&lt;/STRONG&gt; HOST="&lt;STRONG&gt;&amp;lt;FQDN_OF_LASR_HEAD_NODE&amp;gt;&lt;/STRONG&gt;"  SIGNER="&lt;STRONG&gt;&amp;lt;MIDDLE_TIER_URL&amp;gt;&lt;/STRONG&gt;/SASLASRAuthorization" ;

%let sizecols = InMemorySize UncompressedSize 
                CompressedSize TableAllocatedMemory
                InMemoryMappedSize ChildSMPTableMemory
                VirtualMemory ResidentMemory AllocatedMemory;
%let countcols = NumberRecords UseCount RecordLength ComputedColLength;

data tablemem;
    set lasrlib._T_TABLEMEMORY;
run;

data lasrmem;
	set lasrlib._T_LASRMEMORY;
run;

proc print data=lasrmem;
    title "LASR Server Memory Usage";
    format &amp;amp;sizecols.  sizekmg9.2;
    format &amp;amp;countcols. 8.;
    sum _numeric_;
run;

proc print data=tablemem;
    title "LASR Server Table Memory Usage";
    format &amp;amp;sizecols.  sizekmg9.2;
    format &amp;amp;countcols. 8.;
    sum _numeric_;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 13:42:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493014#M11028</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-09-06T13:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493047#M11030</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately it's not returning any data (screenshot bellow)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="T_TABLEMEMORY.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23054i3D65803A17FFBFBC/image-size/large?v=v2&amp;amp;px=999" role="button" title="T_TABLEMEMORY.png" alt="T_TABLEMEMORY.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 14:54:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493047#M11030</guid>
      <dc:creator>rodrigo_pereira</dc:creator>
      <dc:date>2018-09-06T14:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493056#M11033</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155674"&gt;@rodrigo_pereira&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That means you do not have any tables in the memory for that particular LASR server. What about _T_LASRMEMORY?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 15:10:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493056#M11033</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-09-06T15:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493087#M11037</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt; for&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;_T_LASRMEMORY it's the same - no data!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That's strange as I've tables loaded in memory:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MaxTotalMemory 2.png" style="width: 827px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23055i0B96C331E825EFA2/image-dimensions/827x51?v=v2" width="827" height="51" role="button" title="MaxTotalMemory 2.png" alt="MaxTotalMemory 2.png" /&gt;&lt;/span&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;</description>
      <pubDate>Thu, 06 Sep 2018 16:03:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493087#M11037</guid>
      <dc:creator>rodrigo_pereira</dc:creator>
      <dc:date>2018-09-06T16:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493132#M11038</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155674"&gt;@rodrigo_pereira&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is weird. Are you sure that you did specify the correct port in my program? Also, may I review the "Last Action Log"&amp;nbsp;from your LASR server?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 17:46:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493132#M11038</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-09-06T17:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493329#M11043</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;there is bellow a part of the "Last Action Log" from the LASR Server.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;NOTE: The LASR procedure is executing in the distributed computing environment with 2 worker nodes.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;NOTE: The server started on 'sas-va-1....' port 10011.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NOTE: The LASR Analytic Server port '10011' has been assigned to the macro variable "LASRPORT".&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NOTE: The PROCEDURE LASR printed page 1.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In fact, I've noticed an error in the "SIGNER" path and now I can see results in _T_TABLEMEMORY and _T_LASRMEMORY.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I see is that one of the worker nodes is not being used (we should have 3 ...)&lt;/P&gt;&lt;P&gt;That explains the memory problems ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I don't have a clue why this particular node is not being used by the cluster ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 09:37:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493329#M11043</guid>
      <dc:creator>rodrigo_pereira</dc:creator>
      <dc:date>2018-09-07T09:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493355#M11046</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155674"&gt;@rodrigo_pereira&lt;/a&gt;,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;However, I don't have a clue why this particular node is not being used by the cluster ....&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Are you sure that /TKGrid/grid.hosts file contains all nodes? Are you sure this file is the same on all of your nodes?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 11:16:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493355#M11046</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-09-07T11:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493427#M11059</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;yes, the the file contains all the nodes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you note something wrong in the memory configurations bellow (&lt;SPAN&gt;resource.settings file) ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;we have &lt;STRONG&gt;one&amp;nbsp;&lt;/STRONG&gt;data set around &lt;U&gt;40 GB&lt;/U&gt; and &lt;STRONG&gt;four&lt;/STRONG&gt; with around &lt;U&gt;20 GB&lt;/U&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Should we change the&amp;nbsp;TKMPI_MEMSIYE?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# VM limit (in KBytes). Default is unlimited&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;#export TKMPI_ULIMIT="-v 50000000"&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# Location for temporary files.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;#export TKOPT_ENV_UTILLOC=/tmp&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# Maximum runtime for non-LASR TKGrid jobs.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;#export TKMPI_MAXRUNTIME=3600&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# UMask for any files created.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;#export TKMPI_UMASK=0022&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# Nice level for TKGrid jobs. If unset, defaults to 0 for LASR, 5 for non-LASR&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;#export TKMPI_NICE=5&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# Memory allocation limit (in MBytes). Excludes mmapped files. Default is unlimited.&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;#export TKMPI_MEMSIZE=30000&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# Cgroup to associate with TKGrid jobs. &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;#export TKMPI_CGROUP="cgexec -g cpu:50"&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# Resource Manager.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;#export TKMPI_YARN_PRIORITY=2&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;#export TKMPI_YARN_TIMEOUT=3600&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;#export TKMPI_YARN_CORES=1&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;#export TKMPI_RESOURCEMANAGER="java -Xmx256m -Xms256m -cp \"`$HADOOP_HOME/bin/hadoop classpath`\" com.sas.grid.provider.yarn.tkgrid.JobLauncher --masterMem 2000 --javaMem 500 --hostlist \$TKMPI_YARN_HOSTS --cores \$TKMPI_YARN_CORES --memory \$TKMPI_MEMSIZE --priority \$TKMPI_YARN_PRIORITY --timeout \$TKMPI_YARN_TIMEOUT --jobname $TKMPI_APPNAME"&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# if [ "$USER" = "lasradm" ]; then &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# Custom settings for any process running under the lasradm account.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# export TKMPI_ULIMIT="-v 50000000"&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# export TKMPI_MEMSIZE=50000 &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# export TKMPI_CGROUP="cgexec -g cpu:75"&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# fi&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# if [ "$TKMPI_APPNAME" = "lasr" ]; then &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# Custom settings for a lasr process running under any account.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# export TKMPI_ULIMIT="-v 50000000"&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# export TKMPI_MEMSIZE=50000 &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# export TKMPI_CGROUP="cgexec -g cpu:75"&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# Allow other users to read server and tables, but not add or term. &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# export TKMPI_UMASK=0033&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# Allow no access by other users to lasr server.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# export TKMPI_UMASK=0077&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# if [ "$TKMPI_INFO" = "LASRLOAD" ]; then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# TKMPI_INFO is an environment variable that will be passed from &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# MVA SAS to the grid. It can be used to distinguish a &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# proc lasr create from a proc lasr add, by including&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# this line before the proc lasr add:&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# options set=TKMPI_INFO="LASRLOAD";&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# To exclude from YARN resource manager.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# unset TKMPI_RESOURCEMANAGER&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# fi&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# Use default nice for LASR&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# unset TKMPI_NICE&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# fi&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# if [ "$TKMPI_APPNAME" = "tklogis" ]; then &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# Custom settings for a tklogis process running under any account.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# export TKMPI_ULIMIT="-v 25000000"&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# export TKMPI_MEMSIZE=25000 &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# export TKMPI_CGROUP="cgexec -g cpu:25"&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# export TKMPI_MAXRUNTIME=7200&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;# fi&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 13:51:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493427#M11059</guid>
      <dc:creator>rodrigo_pereira</dc:creator>
      <dc:date>2018-09-07T13:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493560#M11060</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155674"&gt;@rodrigo_pereira&lt;/a&gt;,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;do you note something wrong in the memory configurations bellow (resource.settings file) ?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I do not see anything wrong. Everything is disabled (by default). Let do this from Linux console:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;export GRIDHOST="&amp;lt;LASR_HEAD_NODE_FQDN&amp;gt;"
export GRIDINSTALLLOC=/&amp;lt;PATH_TO&amp;gt;/TKGrid/
export TKPATH=/&amp;lt;PATH_TO&amp;gt;/TKGrid/lib:/&amp;lt;PATH_TO&amp;gt;/TKGrid/bin
export GRIDRSHCOMMAND=/&amp;lt;PATH_TO&amp;gt;/TKGrid/bin/ssh.sh
/&amp;lt;PATH_TO&amp;gt;/TKGrid/bin/checknodes /&amp;lt;PATH_TO&amp;gt;/TKGrid/grid.hosts
/&amp;lt;PATH_TO&amp;gt;/TKGrid/bin/tkgridmon -lasrshow
/&amp;lt;PATH_TO&amp;gt;/TKGrid/bin/tkgridperf
/&amp;lt;PATH_TO&amp;gt;/TKGrid/bin/tkgridmon&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Sep 2018 17:38:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/493560#M11060</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-09-07T17:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/494035#M11069</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;here is the result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;apparently the node sas-va-3 is in the cluster, but the memory isn't being utilized.&amp;nbsp;I don't understand why ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unix_1.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23141i13F3A970398FEDF7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unix_1.png" alt="Unix_1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unix_2.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23142i4032C51CA160751C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unix_2.png" alt="Unix_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 07:56:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/494035#M11069</guid>
      <dc:creator>rodrigo_pereira</dc:creator>
      <dc:date>2018-09-10T07:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/494110#M11072</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155674"&gt;@rodrigo_pereira&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Are you sure that you using correct TKGrid folder when starting the LASR server? If so, please open a track and give me the number.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 12:50:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/494110#M11072</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-09-10T12:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/494412#M11076</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;SAM-I1809 046&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 07:17:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/494412#M11076</guid>
      <dc:creator>rodrigo_pereira</dc:creator>
      <dc:date>2018-09-11T07:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/494440#M11078</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155674"&gt;@rodrigo_pereira&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That doesn't seem like SAS Technical Support Tracking number.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 11:06:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/494440#M11078</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-09-11T11:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/494528#M11080</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;it's the incident number to SAS Appplication Management.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, it seams an infrastructure issue according to the feedback of the support.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 16:07:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/494528#M11080</guid>
      <dc:creator>rodrigo_pereira</dc:creator>
      <dc:date>2018-09-11T16:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/494765#M11095</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155674"&gt;@rodrigo_pereira&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the output is strange. Yes, I would definetely follow&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;and SAS Tech Support directions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Meanwhile, I would like to add a couple of bits, case it might help:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1- To understand and query LASR, I strongly suggest a read to this link:&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/inmsref/68736/HTML/default/viewer.htm#p050lknh5xepngn1s2kaa5nijrer.htm&amp;nbsp;" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/inmsref/68736/HTML/default/viewer.htm#p050lknh5xepngn1s2kaa5nijrer.htm&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2- Additionally to the SAS code, there&amp;nbsp;are 2 alternatives to query LASR:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; a-&amp;nbsp;Usage Note 58922: Using the LASRInfo.jar utility to see information about your SAS® LASR™ Analytic Server&amp;nbsp;&lt;A href="http://support.sas.com/kb/58/922.html&amp;nbsp;" target="_blank"&gt;http://support.sas.com/kb/58/922.html&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; b- In the SAS VA Administrator web app, and the LASR Tables tab, you can show additional collums. If you show all of them (related to memory) you would see something similar as proposed by&amp;nbsp;@alexal , and as proposed by myself above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me explain to you: The whole point of this exercise is to to have a report that will show the memory loaded by each LASR table. This is important, because the way that LASR behaves is quite clever, but often info can be misleading if you cannot understand.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The info in LASR server tab and the basic info in LASR tables tab, only show up totals, of each table and total of tables. Regarding it sizes in memory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But "memory" is actually a mix of several kinds of memory: RAM, disk, cache... What you see in the basic information of those tabs, is only the memory as totals of those above. However each table will be loaded in RAM or in disk or cache, depending of statistics and algorithms regarding their actual usage. More usage of data in a table, the more data of that table will be loaded in RAM. The less usage, only a bit in RAM, the rest in disk.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With the report above, you will be able to see how much is actually in RAM, per table, and how much in disk (aka "not really loaded").&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To close this explanation, the bar in the top right, do not calculate the basic data of LASR tables and LASR servers, but with all of this additional information. It is a percentage of the REAL limit of your LASR servers, of the total of your memory (RAM + disk/virtual + cache).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To give a quick example:&lt;/P&gt;
&lt;P&gt;Imagine you have 5 TB of data loaded. And 5 TB of RAM memory.&lt;/P&gt;
&lt;P&gt;So the basic data will show LASR server is full.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now 2 extreme situations. If your users do not use VA, the bar on top-right can show, e.g, 18%. If your users use VA and the reports and the data at its max, then, the bar can show something close to 100%, which is a sign that your VA environment requires to be resized soon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 10:43:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/494765#M11095</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-09-12T10:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: LASR Memory Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/740113#M14897</link>
      <description>&lt;P&gt;At my client i'm experiencing the following.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Last weeks the %memory usage was climbing towards the limit of 80%. Though, there was not really a lot more data being loaded.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This weekend there was a patch on our linux server, so there was a reboot and our script which loads all data from hadoop to LASR finished and now we are only at 18%.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is a possible explanation?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 08:01:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/LASR-Memory-Percentage/m-p/740113#M14897</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2021-05-10T08:01:41Z</dc:date>
    </item>
  </channel>
</rss>

