<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 412: After scanning about 300 pages, gscan2pdf crashes with "too many open files" errors</title><link>https://sourceforge.net/p/gscan2pdf/bugs/412/</link><description>Recent changes to 412: After scanning about 300 pages, gscan2pdf crashes with "too many open files" errors</description><atom:link href="https://sourceforge.net/p/gscan2pdf/bugs/412/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 26 Jan 2023 18:39:26 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gscan2pdf/bugs/412/feed.rss" rel="self" type="application/rss+xml"/><item><title>#412 After scanning about 300 pages, gscan2pdf crashes with "too many open files" errors</title><link>https://sourceforge.net/p/gscan2pdf/bugs/412/?limit=25#22c6</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It would be interesting to see whether they are left after scanimage uses the scanner. Can you try that?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Ratcliffe</dc:creator><pubDate>Thu, 26 Jan 2023 18:39:26 -0000</pubDate><guid>https://sourceforge.net8a48f10a53f4f8375646bb3d8cd6d841e0ae4177</guid></item><item><title>#412 After scanning about 300 pages, gscan2pdf crashes with "too many open files" errors</title><link>https://sourceforge.net/p/gscan2pdf/bugs/412/?limit=25#5b5d</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Jeffrey, sorry, I meant, that eventually gscan2pdf is not properly shutting down a scan job it started, just an idea.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wikinaut</dc:creator><pubDate>Wed, 25 Jan 2023 22:15:49 -0000</pubDate><guid>https://sourceforge.netebc7c77402fc4677c13988616952e71eb9c6d64c</guid></item><item><title>#412 After scanning about 300 pages, gscan2pdf crashes with "too many open files" errors</title><link>https://sourceforge.net/p/gscan2pdf/bugs/412/?limit=25#e2da</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;As you point out yourself, those files are being created by the Brother driver, not gscanp2df, and not in the temporary directory that gscan2pdf uses. So I don't know how gscan2pdf should know that they can be directed. Perhaps it is worth filing a bug with Brother.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Ratcliffe</dc:creator><pubDate>Wed, 25 Jan 2023 20:21:47 -0000</pubDate><guid>https://sourceforge.net48d5762b3d8f10b41d49ffad948e8efa83a3348a</guid></item><item><title>#412 After scanning about 300 pages, gscan2pdf crashes with "too many open files" errors</title><link>https://sourceforge.net/p/gscan2pdf/bugs/412/?limit=25#130f</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Further remark:&lt;/p&gt;
&lt;p&gt;I noticed:&lt;/p&gt;
&lt;p&gt;After having finished scanning of about 140 pages, properly saving  as pdf and properly closing gscan2pdf - without crashes - I noticed in /tmp many files &lt;/p&gt;
&lt;p&gt;"/tmp/brscan_jpeg_PAGEnn_hash" &lt;/p&gt;
&lt;p&gt;which were apparently stemming from the scan process via SANE and the brother driver. I scanned with 600dpi/True Gray, the files are about 8-10 MB big.&lt;/p&gt;
&lt;p&gt;I am telling you this, because perhaps gscan2pdf does not properly close/delete the the scan job/s - just as an idea what can be wrong. So in my case there are 1,4 GB of these brscan-files in /tmp for the last session of gscan2pdf (as said: without errors).&lt;/p&gt;
&lt;p&gt;Is this a valuable information?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wikinaut</dc:creator><pubDate>Wed, 25 Jan 2023 16:44:06 -0000</pubDate><guid>https://sourceforge.net156d66c2315baf1182cf7842eaa9c60499a65cd5</guid></item><item><title>#412 After scanning about 300 pages, gscan2pdf crashes with "too many open files" errors</title><link>https://sourceforge.net/p/gscan2pdf/bugs/412/?limit=25#231e</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;No clue why changing ulimit didn't work. Perhaps it isn't supported everywhere.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Ratcliffe</dc:creator><pubDate>Mon, 23 Jan 2023 16:55:00 -0000</pubDate><guid>https://sourceforge.netaa63ac2aecc6dd0711953a540a42d13a7355ecb7</guid></item><item><title>#412 After scanning about 300 pages, gscan2pdf crashes with "too many open files" errors</title><link>https://sourceforge.net/p/gscan2pdf/bugs/412/?limit=25#39a7</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Question: do you have an idea, why the(my) expressed setting of ulimit (to a value of 20000), why this did not fix the "too many open file issue"?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wikinaut</dc:creator><pubDate>Mon, 23 Jan 2023 11:36:22 -0000</pubDate><guid>https://sourceforge.netbeafd0d3312a6f7434295d5baeeb818fb573def5</guid></item><item><title>#412 After scanning about 300 pages, gscan2pdf crashes with "too many open files" errors</title><link>https://sourceforge.net/p/gscan2pdf/bugs/412/?limit=25#09b0/8b45</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Uh, I always overlooked these to save options! Thanks for pointing out. (I used pdftk outside gscan2pdf, but using the built-in function is much more convenient, of course.)&lt;/p&gt;
&lt;p&gt;Good luck by refactoring the code to overcome the "too many open files" problem - I am really looking forward.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wikinaut</dc:creator><pubDate>Sun, 22 Jan 2023 21:48:14 -0000</pubDate><guid>https://sourceforge.net14e13ed859d6acfe97db64ea6cf141a71f486432</guid></item><item><title>#412 After scanning about 300 pages, gscan2pdf crashes with "too many open files" errors</title><link>https://sourceforge.net/p/gscan2pdf/bugs/412/?limit=25#09b0</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I would scan in batches of perhaps 100 pages and use the "append to PDF" option.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Ratcliffe</dc:creator><pubDate>Sun, 22 Jan 2023 21:21:48 -0000</pubDate><guid>https://sourceforge.net9056262806314577b64023b906e1078ceadb4e7c</guid></item><item><title>#412 After scanning about 300 pages, gscan2pdf crashes with "too many open files" errors</title><link>https://sourceforge.net/p/gscan2pdf/bugs/412/?limit=25#594a</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for your swift answer, however, I am in the need to scan dozens of data book for Computer History Museum/bitsavers. &lt;/p&gt;
&lt;p&gt;Is there any quick workaround you could recommend for the time being?&lt;/p&gt;
&lt;p&gt;Let me know, if I can help you.&lt;/p&gt;
&lt;p&gt;PS. I do use the latest version gscan2pdf 2.13.2 on a modern Linux Mint system with 20 GB RAM.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wikinaut</dc:creator><pubDate>Sun, 22 Jan 2023 11:24:27 -0000</pubDate><guid>https://sourceforge.net28d51cb3ca5cd609dbcbb6b198c2f4d5f68d9a31</guid></item><item><title>#412 After scanning about 300 pages, gscan2pdf crashes with "too many open files" errors</title><link>https://sourceforge.net/p/gscan2pdf/bugs/412/?limit=25#f2a6</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am in the process of completely rewriting how the pages are stored. This should solve this problem. However, this is not a trivial change and will take some time.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Ratcliffe</dc:creator><pubDate>Sun, 22 Jan 2023 10:56:37 -0000</pubDate><guid>https://sourceforge.netcf7a5f85f7e9b7aca1f42495b438b01d83622b93</guid></item></channel></rss>