Re: Runtime File Descriptor settings

Riley Williams (rhw@bigfoot.com)
Fri, 17 Apr 1998 20:59:32 +0100 (BST)


Hi Jordan.

On Fri, 17 Apr 1998, Jordan Mendelson wrote:

> BSD/OS has the ability to automatically tune the max file
> descriptors per process at runtime. I was curious if anyone was
> working on such a thing for Linux.

> I ask this simply because I need 1024 fd's for a single process,
> but not for all processes. In fact, I want it to be capped at 256
> for most processes.

> That and I've heard that setting file descriptors in your kernel to
> 1024 or higher wastes a heck of a lot of RAM.

Does there have to be a per-process maximum, or could the kernel just
keep assigning file ID numbers as requested, and reusing closed ones
when available?

Best wishes from Riley.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu