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

RE: Increasing number of allocated file handles



>From kernel source... :

C1 - the total number of file structs allocated by the system,
 i.e, the value given by `nr_files' in the kernel sources.

C2 - the number of free file structs, i.e, the value given by
`nr_free_files'. nr_free_files' simply
tells the kernel how many (of the `nr_files' that are allocated)
are free.

C3 - the maximum number of file structs which may be allocated
by the system.  This will be the value of `max_files' in
the kernel sources and is also available by examining
/proc/sys/fs/file-max.



-----Original Message-----
From: redhat-sysadmin-list-bounces redhat com
[mailto:redhat-sysadmin-list-bounces redhat com] On Behalf Of Dominique
Demore
Sent: Thursday, October 05, 2006 3:49 AM
To: redhat-sysadmin-list redhat com
Subject: Re: Increasing number of allocated file handles

redhat-sysadmin-list redhat com writes:
># cat /proc/sys/fs/file-nr
>39937   19888  131072
>|	 |       |
>|	 |       |
>|      |       maximum open file descriptors
>|      total free allocated file descriptors
>total allocated file descriptors
>(the number of file descriptors allocated since boot)


Just for some clarification. I have 2 different methods of reading this
file.  One is the method above, the other is as
follows:

Column 1: Total allocated file handles
Column 2: Currently used file handles
Column 3: Maximum file handles that can be allocated

As seen, Columns 1&3 are the same, but the second is the opposite.  Is the
method use to read this file dependant on
the RedHat version, if so. We are using RHEL 2.1AS with kernel 2.4.32

Thanks.

-----
Dominique Démoré
Technical Services Coordinator
Rainbow District School Board
69 Young Street
Sudbury, Ontario
P3E 3G5
Tel: (705) 674-3171 x. 258
Fax: (705) 671-2442


--
redhat-sysadmin-list mailing list
redhat-sysadmin-list redhat com
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list



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