Package: linux-2.6 Severity: serious We will hit a build failure soon as the total number of patch applications and removals approaches 1024.
Ben. -------- Forwarded Message -------- From: Thorsten Glaser <t...@mirbsd.de> To: Ben Hutchings <b...@decadent.org.uk> Cc: Bastian Blank <wa...@mirbsd.org> Subject: linux-2.6: too many open files Date: Wed, 13 Oct 2010 19:13:24 +0000 (UTC) Hi, I'm trying to build the sid kernel plus smarenka’s patches which you reverted and ran into “too many open files”: patches.py has try: fp = file(os.path.join(home, 'series', i)) ret.append(PatchSeries(i, home, fp)) except IOError: pass In IPython, I get: In [41]: fp Out[41]: <open file '/home/tg/linux-2.6-2.6.32/debian/patches/series/24+m68k.1', mode 'r' at 0x8e005a0> In [42]: PatchSeries(i, home, fp) --------------------------------------------------------------------------- IOError Traceback (most recent call last) /home/tg/linux-2.6-2.6.32/<ipython console> in <module>() /home/tg/linux-2.6-2.6.32/debian/lib/python/debian_linux/patches.pyc in __init__(self, name, root, fp) IOError: [Errno 24] Too many open files: '/home/tg/linux-2.6-2.6.32/debian/patches/bugfix/m68k/fp/0030-Update-for-m68k-Add-support-for-EARLY_PRINTK-on-MVM.patch' I found out that ulimit -n defaulting to 1024 is too small to handle this because that code insists on keeping all file pointers open. Just so you know… bye, //mirabilos -- I believe no one can invent an algorithm. One just happens to hit upon it when God enlightens him. Or only God invents algorithms, we merely copy them. If you don't believe in God, just consider God as Nature if you won't deny existence. -- Coywolf Qi Hunt
signature.asc
Description: This is a digitally signed message part