On Mon, 13 May 2002, [ISO-8859-2] Maciej Ksi�ycki wrote:

> How can I find out what is the maximum number of files a single user can open 
>concurrently ?
> And how can I change this value ?
> I am using SuSE SLES 7 (2.4.7 beta).

There isn't a user limit but a kernel level limit. You can find the
numbers of the limit in /proc/sys/fs/.

The "file-max" and "file-nr" are the ones you want to look at, here is the
documentation of them :

file-max & file-nr:

The kernel allocates file handles dynamically, but as yet it
doesn't free them again.

The value in file-max denotes the maximum number of file-
handles that the Linux kernel will allocate. When you get lots
of error messages about running out of file handles, you might
want to increase this limit.

The three values in file-nr denote the number of allocated
file handles, the number of used file handles and the maximum
number of file handles. When the allocated file handles come
close to the maximum, but the number of actually used ones is
far behind, you've encountered a peak in your usage of file
handles and you don't need to increase the maximum.

The complete documentation of everything in /proc/sys/ is in the directory
/usr/src/linux/Documentation/sysctl/.

Regards,
Tim

-- 
===========================================================================
Tim Verhoeven
                                Linux & Open Source Specialist
GSM : 0496 / 693 453                          + e-business solutions
Email : [EMAIL PROTECTED]                           + consulting
URL : www.sin.khk.be/~dj/                     + Server consolidation
===========================================================================

Reply via email to