[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Raising the number of file descriptors?
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 */
try changing it and recompiling the kernel
regards
erez.