From: Daira Hopwood Date: Thu, 18 Dec 2014 20:46:24 +0000 (+0000) Subject: Minimal change to iputil.py to ensure we try to raise RLIMIT_NOFILE. X-Git-Url: https://git.rkrishnan.org/-?a=commitdiff_plain;h=dd9a9ac6104290ba817e318937581158d5fd7b9f;p=tahoe-lafs%2Ftahoe-lafs.git Minimal change to iputil.py to ensure we try to raise RLIMIT_NOFILE. Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/util/iputil.py b/src/allmydata/util/iputil.py index 85b3b1d3..c9b1cc39 100644 --- a/src/allmydata/util/iputil.py +++ b/src/allmydata/util/iputil.py @@ -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)