<?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: Strange error message calling proc http in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966254#M376081</link>
    <description>What does the macro check_status do?</description>
    <pubDate>Sun, 11 May 2025 07:57:50 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2025-05-11T07:57:50Z</dc:date>
    <item>
      <title>Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966113#M376028</link>
      <description>&lt;P&gt;I have about forty jobs getting data from somewhere online (where? I don't know; online's everywhere). Most of them will pick up only a handle of incremental files each day and put them on our Linux terminal server; they then get pushed to an S3 bucket (somewhere else!), and from there read into Snowflake. As of today, it works perfectly, except for one job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We've ironed out almost all the procedural problems, except for one. When I run the jobs through DI (I've created a bespoke transformation which takes the name of the source table and automates the whole process through to Snowflake), they all run fine. But when they've been deployed and run under the service account, the big job (which reads roughly new 11.5k files a day) always crashes. Today's run was when it attempted file 3,574.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because the log becomes quickly unmanageable and for security reasons, I mask it by using&amp;nbsp;&lt;EM&gt;option nomprint&lt;/EM&gt;, but I expose where it's up to and the error messages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the log:&lt;/P&gt;
&lt;PRE&gt;File 3,570: 07MAY2025:22:16:11 /org/warehouse/bin/gateway/edh/org_table_name/_change_data/cdc-00068-5dafcc5b-7512-4ecb-9175-91d01fb39600.c000.snappy.parquet
File 3,571: 07MAY2025:22:16:11 /org/warehouse/bin/gateway/edh/org_table_name/part-00066-c7df53d0-0747-4e30-8c39-16c9ac9d075b.c000.snappy.parquet
File 3,572: 07MAY2025:22:16:11 /org/warehouse/bin/gateway/edh/org_table_name/part-00067-e7b5f225-f351-448a-b5f9-4624b613fdc0.c000.snappy.parquet
File 3,573: 07MAY2025:22:16:11 /org/warehouse/bin/gateway/edh/org_table_name/part-00068-f00a655d-10c3-4b17-93dd-2083d213618b.c000.snappy.parquet
ERROR: tkzCapture() failed
ERROR: tkzCapture() failed
ERROR: tkzCapture() failed
ERROR: Unable to establish an SSL connection.
ERROR: Extension Load Failure: OS Error: -1 (/sso/sfw/sas/940/SASFoundation/9.4/sasexe/t0b4en.so: cannot open shared object file: Too many open files)
ERROR: Extension Load Failure: OS Error: -1 (/sso/sfw/sas/940/SASFoundation/9.4/sasexe/t0b4en.so: cannot open shared object file: Too many open files)
ERROR: Message file "t0b4en" is not found.
ERROR: Extension Load Failure: OS Error: -1 (/sso/sfw/sas/940/SASFoundation/9.4/sasexe/t0b4en.so: cannot open shared object file: Too many open files)
ERROR: Extension Load Failure: OS Error: -1 (/sso/sfw/sas/940/SASFoundation/9.4/sasexe/t0b4en.so: cannot open shared object file: Too many open files)
ERROR: Message file "t0b4en" is not found.
ERROR: Message file is not loaded.
ERROR: Extension Load Failure: OS Error: -1 (/sso/sfw/sas/940/SASFoundation/9.4/sasexe/t0b4en.so: cannot open shared object file: Too many open files)
ERROR: Extension Load Failure: OS Error: -1 (/sso/sfw/sas/940/SASFoundation/9.4/sasexe/t0b4en.so: cannot open shared object file: Too many open files)
ERROR: Message file "t0b4en" is not found.
ERROR: Extension Load Failure: OS Error: -1 (/sso/sfw/sas/940/SASFoundation/9.4/sasexe/t0b4en.so: cannot open shared object file: Too many open files)
ERROR: Extension Load Failure: OS Error: -1 (/sso/sfw/sas/940/SASFoundation/9.4/sasexe/t0b4en.so: cannot open shared object file: Too many open files)
ERROR: Message file "t0b4en" is not found.
ERROR: Extension Load Failure: OS Error: -1 (/sso/sfw/sas/940/SASFoundation/9.4/sasexe/t0a2en.so: cannot open shared object file: Too many open files)
ERROR: Extension Load Failure: OS Error: -1 (/sso/sfw/sas/940/SASFoundation/9.4/sasexe/t0a2en.so: cannot open shared object file: Too many open files)
ERROR: Message file "t0a2en" is not found.
ERROR: Message file is not loaded.
ERROR: Extension Load Failure: OS Error: -1 (/sso/sfw/sas/940/SASFoundation/9.4/sasexe/t0a2en.so: cannot open shared object file: Too many open files)
ERROR: Extension Load Failure: OS Error: -1 (/sso/sfw/sas/940/SASFoundation/9.4/sasexe/t0a2en.so: cannot open shared object file: Too many open files)
ERROR: Message file "t0a2en" is not found.
ERROR: Extension Load Failure: OS Error: -1 (/sso/sfw/sas/940/SASFoundation/9.4/sasexe/t0b4en.so: cannot open shared object file: Too many open files)
ERROR: Extension Load Failure: OS Error: -1 (/sso/sfw/sas/940/SASFoundation/9.4/sasexe/t0b4en.so: cannot open shared object file: Too many open files)
ERROR: Message file "t0b4en" is not found.
ERROR: Extension Load Failure: OS Error: -1 (/sso/sfw/sas/940/SASFoundation/9.4/sasexe/t0b4en.so: cannot open shared object file: Too many open files)
ERROR: Extension Load Failure: OS Error: -1 (/sso/sfw/sas/940/SASFoundation/9.4/sasexe/t0b4en.so: cannot open shared object file: Too many open files)
ERROR: Message file "t0b4en" is not found.
ERROR: Message file is not loaded.
WARNING: Apparent symbolic reference SYS_PROCHTTP_STATUS_CODE not resolved.
WARNING: Apparent symbolic reference SYS_PROCHTTP_STATUS_CODE not resolved.
ERROR: A character operand was found in the %EVAL function or %IF condition where a numeric operand is required. The condition was: &amp;amp;sys_prochttp_status_code &amp;gt; 200 
ERROR: %EVAL function has no expression to evaluate, or %IF statement has no condition.&lt;/PRE&gt;
&lt;P&gt;I think that&amp;nbsp;&lt;EM&gt;sys_prochttp_status_code&amp;nbsp;&lt;/EM&gt;is destroyed at the top of each&amp;nbsp;&lt;EM&gt;http&lt;/EM&gt; call and created again very soon after, so I suspect that the error is being picked up at the procedure initialisation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've checked both my and the service account's Linux&amp;nbsp;&lt;EM&gt;ulimit&lt;/EM&gt; values - both 350,000, so the&amp;nbsp;&lt;EM&gt;Too many open files&lt;/EM&gt; would appear to be a red herring.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the meat of the&amp;nbsp;&lt;EM&gt;getfiles&lt;/EM&gt; macro:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%do i = 1 %to &amp;amp;files;
    %let rc = %sysfunc(fetchobs(&amp;amp;dsid, &amp;amp;i));
    %let file = %sysfunc(strip(&amp;amp;file));
    %if %eval(%sysfunc(indexc(&amp;amp;file, %str(/)))) %then %do;
        %let sub_directory = %sysfunc(scan(&amp;amp;file, 1, %str(/)));
        %if %eval(%sysfunc(fileexist(&amp;amp;parent_directory/&amp;amp;source/&amp;amp;sub_directory)) = 0) %then /* Create each non-existant directory */
            %let rc = %sysfunc(dcreate(&amp;amp;sub_directory, &amp;amp;parent_directory/&amp;amp;source));
        %end;
    %if %eval(%sysfunc(fileexist(&amp;amp;parent_directory/&amp;amp;source/&amp;amp;file)) = 1) %then              /* Don't bother re-getting a file */
        %goto EndLoop;
    filename source "&amp;amp;parent_directory/&amp;amp;source/&amp;amp;file";
    %let url = https://&amp;amp;source_url/files/download?;
    %let url = &amp;amp;url.tableName=&amp;amp;source.%nrstr(&amp;amp;file=)&amp;amp;file;
    %let fail_count = 0;
/*
    Every (hour - 500 seconds), get another bearer code. It is only valid for an hour, so 500 seconds short
    will (prob'ly) always work. If it doesn't, something else has gone wrong. This should be good for around 12-15,000 files at a time.
*/
    %if %sysevalf(%sysfunc(datetime()) &amp;gt; "&amp;amp;bearer_expiry"dt) %then
        %renew_bearer;
    %do %until(%eval(&amp;amp;sys_prochttp_status_code) = 200);
        proc http url="&amp;amp;url"
             proxyhost="http://webproxy.vsp.sas.com:3128" 
             oauth_bearer="&amp;amp;bearer"
             in='scope=urn://onmicrosoft.com/vcp/api/vbi/.default'
             out=source
             timeout=1000                    /* How long to wait (seconds) */
             method='get';
        headers 'Accept' = 'application/json'
                'consistencylevel' = 'eventual';
        run;
        %if %eval(&amp;amp;sys_prochttp_status_code &amp;gt; 200) %then %do;
            %put %sysfunc(strip(%sysfunc(datetime(), datetime23.3))) HTTP Status code: &amp;amp;sys_prochttp_status_code %refnumv(val=&amp;amp;i) &amp;amp;=file;
            %let fail_count = %eval(&amp;amp;fail_count + 1);
            %if %eval(&amp;amp;fail_count &amp;gt; 5) %then %do;
                %check_status
                %goto EndMac;
                %end;
            %let rc = %sysfunc(sleep(30, 1));
            %end;
        %end;
    %put File %refnumv(val=&amp;amp;i): %sysfunc(strip(%sysfunc(datetime(), datetime19.))) %sysfunc(strip(%sysfunc(putn(&amp;amp;lastmodified, datetime23.)))) &amp;amp;parent_directory/&amp;amp;source/&amp;amp;file;
    filename source clear;
    %EndLoop:
    %end;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I could obviously check for the symbol existence of&amp;nbsp;&lt;EM&gt;sys_prochttp_status_code&lt;/EM&gt; before I check its contents - but its non-existence isn't something I had considered!&lt;/P&gt;
&lt;P&gt;I'm pretty much convinced that it's something specific with the service account, but my ingestion jobs run through it literally thousands of times a day without error, including many that use&amp;nbsp;&lt;EM&gt;proc http&lt;/EM&gt;, and I've never seen this before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone ever seen anything like this before? What is&amp;nbsp;tkzCapture()? what are toa4en and t0b4en, and why can't they be (re-)opened? They do exist - seven years old. Maybe it's a factor of running M6; M8&amp;nbsp;&lt;EM&gt;may&lt;/EM&gt;&amp;nbsp;be getting installed mid-year.&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 01:51:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966113#M376028</guid>
      <dc:creator>LaurieF</dc:creator>
      <dc:date>2025-05-09T01:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966117#M376029</link>
      <description>&lt;P&gt;Sorry, i have no idea what could cause the error message. But if a migration is planed later this year waiting for M9 could be an option. It should be released mid year.&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 06:03:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966117#M376029</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2025-05-09T06:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966140#M376030</link>
      <description>It complains about too many open files. Make sure that every file reference created is also removed after use.</description>
      <pubDate>Fri, 09 May 2025 09:00:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966140#M376030</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2025-05-09T09:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966210#M376068</link>
      <description>Yeah I know, but I have no influence over when it gets installed. I work for a very large organisation, with many SAS users, so arranging for even M8 to be installed is quite a thing.&lt;BR /&gt;&lt;BR /&gt;On top of that, my code is supposed to go live next month.&lt;BR /&gt;&lt;BR /&gt;Laurie&lt;BR /&gt;</description>
      <pubDate>Fri, 09 May 2025 22:50:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966210#M376068</guid>
      <dc:creator>LaurieF</dc:creator>
      <dc:date>2025-05-09T22:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966212#M376070</link>
      <description>As you can see from the code, I’m doing that. There is one filename reference which I clear at the bottom of the loop.&lt;BR /&gt;&lt;BR /&gt;Laurie&lt;BR /&gt;</description>
      <pubDate>Fri, 09 May 2025 22:51:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966212#M376070</guid>
      <dc:creator>LaurieF</dc:creator>
      <dc:date>2025-05-09T22:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966236#M376078</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/17429"&gt;@LaurieF&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;As you can see from the code, I’m doing that. There is one filename reference which I clear at the bottom of the loop.&lt;BR /&gt;&lt;BR /&gt;Laurie&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Maybe you are closing it.&lt;/P&gt;
&lt;P&gt;This bit of your code has a %goto Endmac but I do not see the label Endmac in your code. So this may be skipping completely out this macro to somewhere else.&lt;/P&gt;
&lt;PRE&gt;            %if %eval(&amp;amp;fail_count &amp;gt; 5) %then %do;
                %check_status
              &lt;FONT color="#800080"&gt;&lt;STRONG&gt;  %goto EndMac;&lt;/STRONG&gt;&lt;/FONT&gt;
                %end;
            %let rc = %sysfunc(sleep(30, 1));
            %end;
        %end;
    %put File %refnumv(val=&amp;amp;i): %sysfunc(strip(%sysfunc(datetime(), datetime19.))) %sysfunc(strip(%sysfunc(putn(&amp;amp;lastmodified, datetime23.)))) &amp;amp;parent_directory/&amp;amp;source/&amp;amp;file;
    filename source clear;
    &lt;/PRE&gt;</description>
      <pubDate>Sat, 10 May 2025 12:07:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966236#M376078</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2025-05-10T12:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966254#M376081</link>
      <description>What does the macro check_status do?</description>
      <pubDate>Sun, 11 May 2025 07:57:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966254#M376081</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2025-05-11T07:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966356#M376110</link>
      <description>This is just a partial bit of the code - %EndMac: is the penultimate line in the code. I can assure you that the file reference is being closed at the bottom of the loop.</description>
      <pubDate>Mon, 12 May 2025 21:21:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966356#M376110</guid>
      <dc:creator>LaurieF</dc:creator>
      <dc:date>2025-05-12T21:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966357#M376111</link>
      <description>It checks the maximum value of all extant return codes (sysrc, syscc, syserr, sqlrc, sqlxrc, syslibrc, and reports on error code values over 4.</description>
      <pubDate>Mon, 12 May 2025 21:23:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966357#M376111</guid>
      <dc:creator>LaurieF</dc:creator>
      <dc:date>2025-05-12T21:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966363#M376115</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/17429"&gt;@LaurieF&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;This is just a partial bit of the code - %EndMac: is the penultimate line in the code. I can assure you that the file reference is being closed at the bottom of the loop.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So not the question becomes "How much pertinent code have you left out?"&amp;nbsp; I am afraid that presence of undefined macros and missing labels means that answering your question gets much harder as it means that you are showing us code where you think the problem occurs without any actual evidence.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This may mean that you want to contact tech support where you can share the details you are suppressing/hiding from us if they are sensitive. Be prepared to share a complete LOG of the actual run and all the code involved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 22:46:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966363#M376115</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2025-05-12T22:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966364#M376116</link>
      <description>&lt;P&gt;That's a bit harsh, and I won't respond, other than saying that the loop is where it is failing; all the file references are being closed, and I need to know what is causing the error. So far it appears to be a Linux&amp;nbsp;&lt;I&gt;nofiles&amp;nbsp;&lt;/I&gt;setting which is particular to the service account.&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 22:50:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966364#M376116</guid>
      <dc:creator>LaurieF</dc:creator>
      <dc:date>2025-05-12T22:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966388#M376121</link>
      <description>&lt;P&gt;When you can be positively sure &lt;EM&gt;your&lt;/EM&gt; code takes care of the file handles, then something in the procedure(s) "leaks" them, which should not happen; this means that a call to SAS technical support is necessary.&lt;/P&gt;
&lt;P&gt;As a stopgap measure, increasing the maximum file handles of the service account will help, but it's not the real solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a side note: I always made sure that the batch job account had greater limits than the personal developer accounts used during code development; that way I could be reasonably sure that codes would work without issues in production.&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 08:20:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966388#M376121</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2025-05-13T08:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966493#M376142</link>
      <description>How many columns does your parquet table have?</description>
      <pubDate>Wed, 14 May 2025 15:15:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966493#M376142</guid>
      <dc:creator>RichardAD</dc:creator>
      <dc:date>2025-05-14T15:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966516#M376149</link>
      <description>&lt;P&gt;At that point, they are just files. It's not until two processes later that Snowflake/Iceberg attempts to read the files. They're a mixture of JSON and Parquet.&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 20:18:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966516#M376149</guid>
      <dc:creator>LaurieF</dc:creator>
      <dc:date>2025-05-14T20:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966518#M376150</link>
      <description>&lt;P&gt;After much discussion with SAS Global Hosting, they came up with a solution. We had originally discounted the -nofiles value, because both the service account and my userid had the default value of 350,000. But someone had the bright idea of checking what LSF was doing - and found that it was overriding the value either at (LSF) startup or when a job was being submitted. That value was 4,500. By removing that restriction and restarting LSF, the jobs now run to completion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Except for an API nextPage issue which has cropped up, which will keep me busy today.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it were easy, somebody would've already fixed it...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ngā mihi nui,&lt;/P&gt;
&lt;P&gt;Laurie&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 20:28:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966518#M376150</guid>
      <dc:creator>LaurieF</dc:creator>
      <dc:date>2025-05-14T20:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966581#M376175</link>
      <description>Glad you mostly resolved your issue.  My question was based on my&lt;BR /&gt;recollection that "The format is explicitly designed to separate the&lt;BR /&gt;metadata from the data. This allows splitting columns into *multiple files*,&lt;BR /&gt;as well as having a single metadata file reference *multiple parquet files*."&lt;BR /&gt;- File Format | Parquet &amp;lt;&amp;gt; and&lt;BR /&gt;speculating this could lead to too many open files during i/o operations&lt;BR /&gt;originating from a SAS library engine.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 May 2025 13:56:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/966581#M376175</guid>
      <dc:creator>RichardAD</dc:creator>
      <dc:date>2025-05-15T13:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/969152#M376770</link>
      <description>&lt;P&gt;Yet a better fix. Changing the Linux setting fixed the problem, but adding&amp;nbsp;&lt;EM&gt;no_conn_cache&lt;/EM&gt; as a parameter to the&amp;nbsp;&lt;EM&gt;proc http&lt;/EM&gt; call stops the connections being retained. There's a small overhead apparently (&lt;SPAN data-teams="true"&gt;&lt;I&gt;When you enable NO_CONN_CACHE, you forgo all benefits of cached connections, including cached authentication. Each call that uses authentication must re-authenticate, which can take time)&lt;/I&gt;&lt;/SPAN&gt; but the effect is empirically minimal. I'm still getting four&amp;nbsp;&lt;EM&gt;get&lt;/EM&gt;s a second as before.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 20:56:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/969152#M376770</guid>
      <dc:creator>LaurieF</dc:creator>
      <dc:date>2025-06-16T20:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/969174#M376780</link>
      <description>&lt;P&gt;So the procedure seems to keep an open connection, but still creates a new one each time it is called. I see that as a bug.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 10:57:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/969174#M376780</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2025-06-17T10:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/969581#M376880</link>
      <description>&lt;P&gt;I disagree - that's not what the description of the parameter implies at all. As I said, it caches the connections, as many processes do, making the it more efficiently. Since I am calling&amp;nbsp;&lt;EM&gt;proc http&lt;/EM&gt; sometimes hundreds of thousands of times a day, including in a single job, I want it to run as efficiently as possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In effect, turning it off hardly made a dent in my run-times, and according to SAS Global Hosting, the open connection counts from my jobs have dropped right off. I can imagine however situations where keeping the connections and credentials cached could be an advantage.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 22:59:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/969581#M376880</guid>
      <dc:creator>LaurieF</dc:creator>
      <dc:date>2025-06-23T22:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Strange error message calling proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/969586#M376884</link>
      <description>&lt;P&gt;But why should it cache connections when it obviously doesn't&amp;nbsp;&lt;EM&gt;reuse&lt;/EM&gt; them? That doesn't make sense.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 04:23:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-error-message-calling-proc-http/m-p/969586#M376884</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2025-06-24T04:23:54Z</dc:date>
    </item>
  </channel>
</rss>

