<?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: tfilefetch - java.io.FileNotFoundException (Too many open files) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374878#M145954</link>
    <description>we're just trying with 4096 allowed files. will let you know how we get on with this...</description>
    <pubDate>Thu, 17 Jun 2010 11:14:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-06-17T11:14:24Z</dc:date>
    <item>
      <title>tfilefetch - java.io.FileNotFoundException (Too many open files)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374871#M145947</link>
      <description>Hi, 
&lt;BR /&gt;I have a job, (TIS 4.0.1 - Java), which is meant to retrieve approx 85,000 images from urls, im using the tFileFetch component to do this, however of these 85,000 it did 34,764 then i recieved the below error saying that there are too many open files, the job server is set to allow 1024 open files. the timeout on the tfilefetch component is 5000. 
&lt;BR /&gt;I was hoping not to simply increase the number of allowed open files to get round the problem? Is the component not closing the open files properly? Will reducing the timeout of the component help at all? 
&lt;BR /&gt;I dont know why it states defaultfilename.txt as the filename as it wasn't set to get any file called defaultfilename.txt? 
&lt;BR /&gt;Exception in component tFileFetch_1 
&lt;BR /&gt;java.io.FileNotFoundException: /mnt/datafeeds/step02/6108/defaultfilename.txt (Too many open files) 
&lt;BR /&gt; at java.io.FileOutputStream.open(Native Method) 
&lt;BR /&gt; at java.io.FileOutputStream.(FileOutputStream.java:179) 
&lt;BR /&gt; at java.io.FileOutputStream.(FileOutputStream.java:131) 
&lt;BR /&gt; at spitfire_dev.sf007_dealeredit_0_1.SF007_dealeredit$1tFileFetch_1Thread.run(SF007_dealeredit.java:47951) 
&lt;BR /&gt; at routines.system.ThreadPoolWorker.runIt(TalendThreadPool.java:159) 
&lt;BR /&gt; at routines.system.ThreadPoolWorker.runWork(TalendThreadPool.java:150) 
&lt;BR /&gt; at routines.system.ThreadPoolWorker.access$0(TalendThreadPool.java:145) 
&lt;BR /&gt; at routines.system.ThreadPoolWorker$1.run(TalendThreadPool.java:122) 
&lt;BR /&gt; at java.lang.Thread.run(Thread.java:619) 
&lt;BR /&gt;Thanks in advance for your help.</description>
      <pubDate>Sat, 16 Nov 2024 13:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374871#M145947</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: tfilefetch - java.io.FileNotFoundException (Too many open files)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374872#M145948</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;I dont know why it states defaultfilename.txt as the filename as it wasn't set to get any file called defaultfilename.txt?&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;How do you set the URI? Can you upload a screenshot of your job? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 17 Jun 2010 04:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374872#M145948</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-17T04:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: tfilefetch - java.io.FileNotFoundException (Too many open files)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374873#M145949</link>
      <description>To set the maximum number of open file descriptors, try followed command on terminal:
&lt;BR /&gt;ulimit -n size</description>
      <pubDate>Thu, 17 Jun 2010 07:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374873#M145949</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-17T07:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: tfilefetch - java.io.FileNotFoundException (Too many open files)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374874#M145950</link>
      <description>Hi attached is the part of the job to get the images,&lt;BR /&gt;I tried creating it as a separate job and running it as an independant process, this didnt work.&lt;BR /&gt;Thanks for your help.</description>
      <pubDate>Thu, 17 Jun 2010 09:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374874#M145950</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-17T09:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: tfilefetch - java.io.FileNotFoundException (Too many open files)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374875#M145951</link>
      <description>Hi Chris 
&lt;BR /&gt;From the screenshots, I see you are using 8 iterate at one time, so there are so many files open at one time. 
&lt;BR /&gt;1)Have a try to decrease the iterate number, x2 or x4. 
&lt;BR /&gt;2)Increase the number of allowed open files. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 17 Jun 2010 10:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374875#M145951</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-17T10:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: tfilefetch - java.io.FileNotFoundException (Too many open files)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374876#M145952</link>
      <description>thanks for the response,&lt;BR /&gt;this job has to retrieve over 85,000 images though so reducing the speed isnt really an option, with a single thread it was going to take over 15 hours. and still failed at 31k.&lt;BR /&gt;Why would 8 executions cause so many files to be open? surely once it has retrieved that image the file is closed?</description>
      <pubDate>Thu, 17 Jun 2010 10:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374876#M145952</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-17T10:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: tfilefetch - java.io.FileNotFoundException (Too many open files)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374877#M145953</link>
      <description>Hi 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Why would 8 executions cause so many files to be open? surely once it has retrieved that image the file is closed?&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Before the file are closed, maybe there are many files are open by different threads at one time, because you are using 8 executions. however, you said you still get the same problem when using a single thread, what's the result if you increase the number of allowed open files? see 
&lt;BR /&gt; 
&lt;A href="http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/" rel="nofollow noopener noreferrer"&gt;http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/&lt;/A&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 17 Jun 2010 11:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374877#M145953</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-17T11:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: tfilefetch - java.io.FileNotFoundException (Too many open files)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374878#M145954</link>
      <description>we're just trying with 4096 allowed files. will let you know how we get on with this...</description>
      <pubDate>Thu, 17 Jun 2010 11:14:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374878#M145954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-17T11:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: tfilefetch - java.io.FileNotFoundException (Too many open files)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374879#M145955</link>
      <description>We tried this, it still failed.</description>
      <pubDate>Tue, 22 Jun 2010 12:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374879#M145955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-22T12:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: tfilefetch - java.io.FileNotFoundException (Too many open files)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374880#M145956</link>
      <description>Hello, 
&lt;BR /&gt;I have same problem. 
&lt;BR /&gt;Me i have litte more than 2000 files and works only for about 1600. 
&lt;BR /&gt;I have try linux command about maximum opened files and it gives me more 1,5 million so i don't think it's an OS limit only. 
&lt;BR /&gt;And i don't understand if i try to up more parallel execution it's better than alone ?</description>
      <pubDate>Fri, 16 Jul 2010 15:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374880#M145956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-16T15:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: tfilefetch - java.io.FileNotFoundException (Too many open files)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374881#M145957</link>
      <description>Hi dtournant 
&lt;BR /&gt;I can't reproduce the problem at the moment, can you simple your job and help us to reproduce it? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 16 Jul 2010 15:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374881#M145957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-16T15:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: tfilefetch - java.io.FileNotFoundException (Too many open files)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374882#M145958</link>
      <description>Ok Shong, thanks.
&lt;BR /&gt;I have try to increase iterate value, and it looks better and same work for tfilecopy but not for TfileFectch.
&lt;BR /&gt;If some URL are bad , it doesn't go away to the problem ?</description>
      <pubDate>Fri, 16 Jul 2010 18:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374882#M145958</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-16T18:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: tfilefetch - java.io.FileNotFoundException (Too many open files)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374883#M145959</link>
      <description>I have done a simple job and launch it.
&lt;BR /&gt;I have at left file with 2500 URL. On the 1002 rows and i get again error "too many open files"</description>
      <pubDate>Fri, 16 Jul 2010 18:53:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfilefetch-java-io-FileNotFoundException-Too-many-open-files/m-p/2374883#M145959</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-16T18:53:39Z</dc:date>
    </item>
  </channel>
</rss>

