RE: Runtime File Descriptor settings

Jordan Mendelson (jordy@wserv.com)
Fri, 17 Apr 1998 17:09:50 -0400


> >That and I've heard that setting file descriptors in your kernel
> to 1024 or
> >higher wastes a heck of a lot of RAM.
>
> On 32-bit machines, its 64 bytes (unless I counted wrong) * NR_OPEN per
> process (regardles of rlimits).

Per process? Setting NR_OPEN to 1024 would use 65 KB. I have 124 processes
running at the moment.. so you are saying that FD allocation is using 8 megs
of ram?

Jordan

--
Jordan Mendelson     : http://jordy.wserv.com
Web Services, Inc.   : http://www.wserv.com

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