lkml.org 
[lkml]   [1996]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: file descriptors once again

>
>
> Hey,
>
> Sorry to ask this question again. It's been asked tons of times and I just
> forgot the answer.
> I need to allow 1024 file descriptors for my kernel per proccess.
> How do I do it?
> /usr/src/linux/include/linux/limits.h
> do I need to make NR_OPEN 1024
> and OPEN_MAX 1024?
> or do i only need to change one of them?
> How about in head.h desc_table[256] do i need to change that too?

I think that, in order to change the number *per process* (as opposed
to the number in total), you have to modify your libc (and, if you
want this to be your default libc, this may involve recompuling
everything).

--
-Neil Moore
(finger amethyst@170.180.106.55 for my geek code)

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.083 / U:2.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site