[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Raising the number of file descriptors?



On Mon, 8 Dec 1997, Erez Doron wrote:

> Constantin Eizner wrote:
> 
> > Erez Doron wrote:
> >
> > > Constantin Eizner wrote:
> > >
> > > > Does anyone know how to increase the number of file descriptors a
> > > > process can use?
> > >
> > > try: limit descripitors 1024
> > > ( works on my machine )
> > >
> > > Regards
> > > erez.
> >
> > #limit: descriptors: Can't set limitI need make some glabal changes for
> > kernel (resourses.h) but I don't know how to do that..
> 
> At /usr/src/linux/include/asm-i386/resource.h there is a line:
> #define RLIMIT_NOFILE   7             /* max number of open files */

NOOOO.. That is not for the actual definitions. Look at the file's top,
does this: #define RLIMIT_CPU      0 

look like the MAX_CPU_TIME definition ??  :))

See ya,

--Ariel
> 
> try changing it and recompiling the kernel
> 
> regards
> erez.
> 
> 

   +---------------------------------------------------------------+
   | Ariel Biener                                                  |
   | e-mail: ariel@post.tau.ac.il        Work ph: 03-6406086       |
   | fingerprint = 07 D1 E5 3E EF 6D E5 82 0B E9 21 D4 3C 7D 8B BC |
   +---------------------------------------------------------------+