]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Minimal change to iputil.py to ensure we try to raise RLIMIT_NOFILE. 2342-Too-many-open-files-1
authorDaira Hopwood <daira@jacaranda.org>
Thu, 18 Dec 2014 20:46:24 +0000 (20:46 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Thu, 18 Dec 2014 20:46:24 +0000 (20:46 +0000)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/util/iputil.py

index 85b3b1d3339ab5815feb45bcd12e4f52d0921ed1..c9b1cc39ebede417879afc3fa66fbb3d1c1d32ab 100644 (file)
@@ -32,10 +32,6 @@ try:
             # we're probably missing RLIMIT_NOFILE
             return
 
-        if current[0] >= 1024:
-            # good enough, leave it alone
-            return
-
         try:
             if current[1] > 0 and current[1] < 1000000:
                 # solaris reports (256, 65536)