<?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 SAS DI Import preventing user connections to metadata in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-DI-Import-preventing-user-connections-to-metadata/m-p/346665#M8161</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When importing a SAS&amp;nbsp;package&amp;nbsp;to SAS DI Studio, the Metadata become unrepsonsive. For example, it is not possible for&amp;nbsp;users to connect to their Metadata profile in SMC or Enterprise Guide and existing&amp;nbsp;sessions become unresponsive. As soon as the import is finished, it all comes back to life and works again. This happens when importing&amp;nbsp;any SAS packages, even small ones&amp;nbsp;with just a couple of jobs in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This&amp;nbsp;is only happening in the levs where we have grid launched sessions turned on for workspace sessions&amp;nbsp;and not in those where we do not. This doesn't seem to make much sense to me&amp;nbsp;though as this setting should only affect the connection to SASComp1, I wouldn't expect that this setting affects connecting to a metadata profile or importing a package, both of which I expect are only client - metadata connections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the look of the metadata logs the connection attempts are getting queued up while the import is happening and then being processed after the import is complete e.g. this 8 minute wait for the credential to be obtained for userid 8786746:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;FONT color="#000000" face="Microsoft Sans Serif"&gt;545903 2017-03-20T18:50:02,668 TRACE [00033530] 245:8786746 - IOM CALL {compRef:11122bc00}-&amp;gt;OMI::GetMetadataObjects():&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Microsoft Sans Serif"&gt;&lt;FONT&gt;&lt;SPAN style="font-size: 8pt;"&gt;552416 2017-03-20T18:58:11,394 TRACE [00033530] 245:8786746 - Credential obtained for 8786746&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN style="font-size: 8pt;"&gt;.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We also see from netstat that there are a lot more connections to the metadata server during the import process and some 'closed wait' connections:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;normally:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Calibri" size="3"&gt;$ netstat -an |grep 9561 | grep -i established | wc -l&amp;nbsp;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1559&lt;BR /&gt;$ netstat -an |grep 9561 | grep -i close | wc -l&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when importing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Calibri"&gt;&lt;FONT size="3"&gt;$ netstat -an |grep 9561 | grep -i close | wc -l&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 185&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Calibri"&gt;&lt;FONT size="3"&gt;$ netstat -an |grep 9561 | grep -i established | wc -l&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3328&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Server side is&amp;nbsp;SAS 9.4 on Unix AIX 7.1&amp;nbsp;with&amp;nbsp;LSF&amp;nbsp;grid. Client side DI Studio 4.9 and Enterprise Guide 6.1 on Windows 7.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have tried restarting everything of course and as suggested by SAS have ensured that various Unix limits such as nofiles and somaxconn are sufficiently high.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas why this is happening?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2017 13:31:24 GMT</pubDate>
    <dc:creator>JoeLBG</dc:creator>
    <dc:date>2017-04-03T13:31:24Z</dc:date>
    <item>
      <title>SAS DI Import preventing user connections to metadata</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-DI-Import-preventing-user-connections-to-metadata/m-p/346665#M8161</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When importing a SAS&amp;nbsp;package&amp;nbsp;to SAS DI Studio, the Metadata become unrepsonsive. For example, it is not possible for&amp;nbsp;users to connect to their Metadata profile in SMC or Enterprise Guide and existing&amp;nbsp;sessions become unresponsive. As soon as the import is finished, it all comes back to life and works again. This happens when importing&amp;nbsp;any SAS packages, even small ones&amp;nbsp;with just a couple of jobs in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This&amp;nbsp;is only happening in the levs where we have grid launched sessions turned on for workspace sessions&amp;nbsp;and not in those where we do not. This doesn't seem to make much sense to me&amp;nbsp;though as this setting should only affect the connection to SASComp1, I wouldn't expect that this setting affects connecting to a metadata profile or importing a package, both of which I expect are only client - metadata connections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the look of the metadata logs the connection attempts are getting queued up while the import is happening and then being processed after the import is complete e.g. this 8 minute wait for the credential to be obtained for userid 8786746:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;FONT color="#000000" face="Microsoft Sans Serif"&gt;545903 2017-03-20T18:50:02,668 TRACE [00033530] 245:8786746 - IOM CALL {compRef:11122bc00}-&amp;gt;OMI::GetMetadataObjects():&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Microsoft Sans Serif"&gt;&lt;FONT&gt;&lt;SPAN style="font-size: 8pt;"&gt;552416 2017-03-20T18:58:11,394 TRACE [00033530] 245:8786746 - Credential obtained for 8786746&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN style="font-size: 8pt;"&gt;.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We also see from netstat that there are a lot more connections to the metadata server during the import process and some 'closed wait' connections:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;normally:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Calibri" size="3"&gt;$ netstat -an |grep 9561 | grep -i established | wc -l&amp;nbsp;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1559&lt;BR /&gt;$ netstat -an |grep 9561 | grep -i close | wc -l&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when importing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Calibri"&gt;&lt;FONT size="3"&gt;$ netstat -an |grep 9561 | grep -i close | wc -l&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 185&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Calibri"&gt;&lt;FONT size="3"&gt;$ netstat -an |grep 9561 | grep -i established | wc -l&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3328&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Server side is&amp;nbsp;SAS 9.4 on Unix AIX 7.1&amp;nbsp;with&amp;nbsp;LSF&amp;nbsp;grid. Client side DI Studio 4.9 and Enterprise Guide 6.1 on Windows 7.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have tried restarting everything of course and as suggested by SAS have ensured that various Unix limits such as nofiles and somaxconn are sufficiently high.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas why this is happening?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 13:31:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-DI-Import-preventing-user-connections-to-metadata/m-p/346665#M8161</guid>
      <dc:creator>JoeLBG</dc:creator>
      <dc:date>2017-04-03T13:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Import preventing user connections to metadata</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-DI-Import-preventing-user-connections-to-metadata/m-p/346683#M8163</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;did you check system resources at the time when the problem occurs, such as RAM? Disk Usage?&lt;/P&gt;
&lt;P&gt;Does the Metadata Server run out of mem maybe?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another thought - really just throwing out things here - is that for some reason, GRIDWORK fills up&lt;/P&gt;
&lt;P&gt;in that environment when an export is done.&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>Mon, 03 Apr 2017 14:24:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-DI-Import-preventing-user-connections-to-metadata/m-p/346683#M8163</guid>
      <dc:creator>anja</dc:creator>
      <dc:date>2017-04-03T14:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Import preventing user connections to metadata</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-DI-Import-preventing-user-connections-to-metadata/m-p/347047#M8174</link>
      <description>&lt;P&gt;Yes, I have checked the system resources. It isn't running out of any of them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have actually recreated the issue in every Lev now so have rules out anything to do with the grid - when overwriting existing metadata in the import, new connections to metadata hang. Once the import moves past 'creating metadata' and into 'analysing metadata' everything comes back to life. It takes a lot longer to do the 'create metadata' part when overwriting metadata as opposed to creating new metadata, even for the exact same package. But even while the creating new metadata is happening it doesn't seem to hang, just when overwriting metadata.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the following 9.1.3 issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/31/894.html" target="_blank"&gt;http://support.sas.com/kb/31/894.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obvioulsy we are on 9.4 so this 9.1.3&amp;nbsp;issue should be fixed but it still gives me some insight into how the file locks work for SAS on Unix - It seems like maybe whatever file locks are involved in an import that overwrites metadata, they prevent any other metadata requests from being processed until it is finished with those locks. I think our SAS track is going to Cary now so hoping they can shed some light on it....&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 14:18:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-DI-Import-preventing-user-connections-to-metadata/m-p/347047#M8174</guid>
      <dc:creator>JoeLBG</dc:creator>
      <dc:date>2017-04-04T14:18:29Z</dc:date>
    </item>
  </channel>
</rss>

