<?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 DI ETL failed due to Communication link failure in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/SAS-DI-ETL-failed-due-to-Communication-link-failure/m-p/917118#M41036</link>
    <description>&lt;P&gt;This has nothing to do with DIS and likely not even with SAS but with the communication of the ODBC driver with the SQL server.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just use the exact error message to Google possible causes and remedies. Also ensure that the ODBC driver used meets both the SQL Server and SAS requirements.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2024 10:14:01 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2024-02-21T10:14:01Z</dc:date>
    <item>
      <title>SAS DI ETL failed due to Communication link failure</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-DI-ETL-failed-due-to-Communication-link-failure/m-p/917108#M41034</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;
&lt;P&gt;Some ETLs are failed in SAS DI due to communication link failure as per the log and some other jobs are executing in a long running process like 1 Lakhs records taking 10 minutes or above to complete.&lt;/P&gt;
&lt;P&gt;We have checked the Ping and Telnet in SAS Env. and DB Connection also which is SQL Server, all are connecting successfully and also checked the I/O wait time, it's 2.1 and reduce to 0. still we are facing same issue like Communication link failure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please suggest how to resolve this problem ?&lt;/P&gt;
&lt;P&gt;I have attached some screenshots for your references.&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="Shakti_Sourav_1-1708503614829.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93961i132021083C36266D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Shakti_Sourav_1-1708503614829.png" alt="Shakti_Sourav_1-1708503614829.png" /&gt;&lt;/span&gt;&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="Shakti_Sourav_2-1708503658368.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93962iDD086A03C9FC4D7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Shakti_Sourav_2-1708503658368.png" alt="Shakti_Sourav_2-1708503658368.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;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Shakti Sourav Mohapatra&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;DIV id="tinyMceEditorShakti_Sourav_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 08:21:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-DI-ETL-failed-due-to-Communication-link-failure/m-p/917108#M41034</guid>
      <dc:creator>Shakti_Sourav</dc:creator>
      <dc:date>2024-02-21T08:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI ETL failed due to Communication link failure</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-DI-ETL-failed-due-to-Communication-link-failure/m-p/917111#M41035</link>
      <description>I am not 100% sure but it looks like odbc driver is not properly configure or it is not working</description>
      <pubDate>Wed, 21 Feb 2024 08:32:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-DI-ETL-failed-due-to-Communication-link-failure/m-p/917111#M41035</guid>
      <dc:creator>mgallardo</dc:creator>
      <dc:date>2024-02-21T08:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI ETL failed due to Communication link failure</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-DI-ETL-failed-due-to-Communication-link-failure/m-p/917118#M41036</link>
      <description>&lt;P&gt;This has nothing to do with DIS and likely not even with SAS but with the communication of the ODBC driver with the SQL server.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just use the exact error message to Google possible causes and remedies. Also ensure that the ODBC driver used meets both the SQL Server and SAS requirements.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 10:14:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-DI-ETL-failed-due-to-Communication-link-failure/m-p/917118#M41036</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2024-02-21T10:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI ETL failed due to Communication link failure</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-DI-ETL-failed-due-to-Communication-link-failure/m-p/917748#M41075</link>
      <description>Hello Patrick &amp;amp; Mgallardo ,&lt;BR /&gt;We have checked with odbc driver and restarted the db &amp;amp; SAS server and also checked the network connection. All are connected successfully as per the admin statement. Problem is, sometimes ETL executing successfully and sometimes it's showing link failure. &lt;BR /&gt;Please suggest what to do ? &amp;amp;&lt;BR /&gt;Is there any code or tool to check the proper root cause is SAS ? &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Sun, 25 Feb 2024 02:24:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-DI-ETL-failed-due-to-Communication-link-failure/m-p/917748#M41075</guid>
      <dc:creator>Shakti_Sourav</dc:creator>
      <dc:date>2024-02-25T02:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI ETL failed due to Communication link failure</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-DI-ETL-failed-due-to-Communication-link-failure/m-p/917752#M41076</link>
      <description>&lt;P&gt;Asking chatGPT what the possible root cause for intermittent communication link failures could be returned below answer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of the usual questions: Did this ever work in the past without issues? And if yes: What has changed?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd be looking first into the network, concurrency/resource contention and timeouts (like: long running process on the DB).&lt;/P&gt;
&lt;P&gt;Looking at the time when such errors occur and how many SAS and other processes connecting to the database exist at that time could help narrowing down the root cause.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe if all available connection to a DB are consumed the error would be different (connection refused) but it's eventually still worth to check and potentially increase the number of allowed connections. You also need certainly to talk to your DBA to get the info if there has been a connection attempt to the DB or if the communication got interrupted earlier - and how busy the DB was at the time when you've run into the error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also consider to contact SAS Tech Support directly and get their guidance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below the chatGPT answer:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="flex-1 overflow-hidden"&gt;
&lt;DIV class="react-scroll-to-bottom--css-ponfz-79elbk h-full"&gt;
&lt;DIV class="react-scroll-to-bottom--css-ponfz-1n7m0yu"&gt;
&lt;DIV class="flex flex-col pb-9 text-sm"&gt;
&lt;DIV class="w-full text-token-text-primary" data-testid="conversation-turn-5"&gt;
&lt;DIV class="px-4 py-2 justify-center text-base md:gap-6 m-auto"&gt;
&lt;DIV class="flex flex-1 text-base mx-auto gap-3 md:px-5 lg:px-1 xl:px-5 md:max-w-3xl lg:max-w-[40rem] xl:max-w-[48rem] group final-completion"&gt;
&lt;DIV class="relative flex w-full flex-col agent-turn"&gt;
&lt;DIV class="flex-col gap-1 md:gap-3"&gt;
&lt;DIV class="flex flex-grow flex-col max-w-full"&gt;
&lt;DIV class="min-h-[20px] text-message flex flex-col items-start gap-3 whitespace-pre-wrap break-words [.text-message+&amp;amp;]:mt-5 overflow-x-auto" data-message-author-role="assistant" data-message-id="3e37554a-4dbb-4cdf-8844-caa0d04ad9b2"&gt;
&lt;DIV class="markdown prose w-full break-words dark:prose-invert light"&gt;
&lt;P&gt;If the communication link failure occurs intermittently, it can be more challenging to pinpoint the exact root cause since it suggests that the issue is not consistently reproducible. However, here are some possible root causes for intermittent communication link failures between a client and a database:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Network Fluctuations&lt;/STRONG&gt;: Variations in network conditions such as intermittent packet loss, congestion, or bandwidth fluctuations can cause occasional communication failures.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Transient Hardware Issues&lt;/STRONG&gt;: Temporary hardware malfunctions such as a loose cable, overheating components, or failing network equipment may intermittently disrupt communication.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Software Glitches&lt;/STRONG&gt;: Transient software issues such as memory leaks, race conditions, or intermittent bugs in the client application or the database management system can cause intermittent communication failures.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Load Balancing or Failover Issues&lt;/STRONG&gt;: If load balancing or failover mechanisms are in place, occasional misconfigurations or failures in these systems can lead to intermittent communication issues.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Concurrency Problems&lt;/STRONG&gt;: In multi-threaded or concurrent environments, occasional race conditions or synchronization issues may lead to intermittent communication failures.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Resource Contentions&lt;/STRONG&gt;: Intermittent contention for resources such as CPU, memory, or disk I/O between the client and the database server can cause intermittent communication failures, especially during periods of high load.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Environmental Factors&lt;/STRONG&gt;: External factors such as electromagnetic interference, power fluctuations, or environmental conditions (e.g., temperature, humidity) can intermittently disrupt communication.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Intermittent Software Updates&lt;/STRONG&gt;: If software updates or patches are applied periodically, intermittent compatibility issues between different versions of software components may cause occasional communication failures.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Transient Security Issues&lt;/STRONG&gt;: Occasionally, security mechanisms such as firewalls, intrusion detection systems, or access control lists may intermittently block or interfere with communication between the client and the database server.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Temporary DNS Resolution Problems&lt;/STRONG&gt;: Intermittent DNS resolution issues, such as DNS server outages or transient network latency, can occasionally prevent the client from resolving the database server's hostname.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Intermittent Client-Side Issues&lt;/STRONG&gt;: Issues specific to the client environment, such as sporadic software conflicts, background processes consuming resources, or intermittent network connectivity on the client side, can cause intermittent communication failures.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Identifying the root cause of intermittent communication link failures may require thorough monitoring, logging, and diagnostic efforts to capture the issue when it occurs and analyze relevant system and network parameters.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="w-full pt-2 md:pt-0 dark:border-white/20 md:border-transparent md:dark:border-transparent md:w-[calc(100%-.5rem)]"&gt;&lt;FORM class="stretch mx-2 flex flex-row gap-3 last:mb-2 md:mx-4 md:last:mb-6 lg:mx-auto lg:max-w-2xl xl:max-w-3xl"&gt;
&lt;DIV class="relative flex h-full flex-1 flex-col"&gt;
&lt;DIV class="flex w-full items-center"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/FORM&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 25 Feb 2024 04:34:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-DI-ETL-failed-due-to-Communication-link-failure/m-p/917752#M41076</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2024-02-25T04:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI ETL failed due to Communication link failure</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-DI-ETL-failed-due-to-Communication-link-failure/m-p/917765#M41077</link>
      <description>&lt;P&gt;Please do &lt;STRONG&gt;ALWAYS&lt;/STRONG&gt; post logs as text, using the appropriate window; it saves you the hassle of creating and uploading a screenshot, and makes it much easier to read for us. On top of it, we can easily make annotations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, less than 20 seconds of CPU time took 1026 seconds of real time (a factor of 50!), so there's most probably a network bottleneck involved. During that time, 819175 (close to &lt;EM&gt;1 million&lt;/EM&gt;, which translates to at least 8 "lakh")&amp;nbsp;observations were processed, so less than 1000/sec. What is your observation size, which variables do you have?&lt;/P&gt;
&lt;P&gt;Do you have the same rate of CPU time vs. real time in successful jobs?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also check with your DB admins if they can find something in their server logs.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2024 08:25:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-DI-ETL-failed-due-to-Communication-link-failure/m-p/917765#M41077</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-02-25T08:25:41Z</dc:date>
    </item>
  </channel>
</rss>

