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

Re: Raising the number of file descriptors?



On Mon, 8 Dec 1997, Constantin Eizner wrote:

> Does anyone know how to increase the number of file descriptors a
> process can use?
> 
> 

there is a system call named setrlimit.  if you are in user mode, just use
the shell command "unlimit descriptors" than type "limit" to see whats
your upper limit is.
by default, the soft (changable) limit is 64 while the kernel-compiled max
is 1000.

If you want to use it in a program, use setrlimit(2).  (see manpage).

	Yoav