[NTG-pdftex] possible bug with non-closing files

Vladimir Volovich vvv at vsu.ru
Sun Mar 26 23:30:20 CEST 2006


i'm reporting a bug discovered by Tigran Aivazian:

He got this message:

pdflatex: ./1016.pdf: Too many open files

by running pdflatex on this simple source:


  \advance\i by1


It appears that this is due to the "ulimit" on the number of
simultaneously opened files which was 1024 by default. Increasing
"ulimit" allowed to process the file.

But it looks like a bug in pdftex: it seems that it keeps all the
files which were \includepdf'ed opened, thus causing this limit to be
reached. Instead, it seems, it should close the included files.



More information about the ntg-pdftex mailing list