[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <473E1144.9070404@cosmosbay.com>
Date: Fri, 16 Nov 2007 22:53:08 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: Linux kernel <linux-kernel@...r.kernel.org>
Subject: [PATCH] NR_OPEN should be raised a litle bit
Time has come to change NR_OPEN value, some production servers hit the
not so 'ridiculously high value' of 1024*1024 file descriptors per process.
This is safe to raise this value, because alloc_fd_array() uses
vmalloc() for large arrays and vmalloc() returns NULL if a too large
allocation is attempted (or in case of memory shortage)
Moore law implies this limit should be changed every 1-2 years, and it seems
we forgot doing this for ages.
Even on my old notebook, a process can open 1000000 descriptors without any
problem.
Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
View attachment "nr_open.patch" of type "text/plain" (429 bytes)
Powered by blists - more mailing lists