From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14673 invoked from network); 25 Jul 1998 01:31:55 -0000 Received: from mail.virginia.edu (128.143.2.9) by mail2.redhat.com with SMTP; 25 Jul 1998 01:31:55 -0000 Received: from ftp.cs.virginia.edu by mail.virginia.edu id aa03059; 24 Jul 98 21:31 EDT Received: from adder.cs.Virginia.EDU (adder.cs.Virginia.EDU [128.143.137.18]) by ares.cs.Virginia.EDU (8.8.5/8.8.5) with ESMTP id VAA06580; Fri, 24 Jul 1998 21:31:50 -0400 (EDT) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.7.5/8.7.3) id VAA15253; Fri, 24 Jul 1998 21:31:48 -0400 (EDT) Date: Fri, 24 Jul 1998 21:31:48 -0400 (EDT) Message-Id: <199807250131.VAA15253@adder.cs.Virginia.EDU> X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: wae@innova.net Subject: Re: Tuning Number of Open Files Cc: axp-list@redhat.com > Is there a way to monitor the number of open files . I am familiar with > commands like pstat or sar found in some implementations of unix. In the > past, on other systems I have had to increase the following: > > number of open files (system wide) cat /proc/sys/kernel/file-max echo 8192 > /proc/sys/kernel/file-max > number of open files (per user) Can't be usefully changed -- limited to 256. glibc doesn't dynamically allocate that data structure, so if you increase it in the kernel and recompile it _and_ glibc, all processes get bigger :-( > Max number of processes per user /usr/include/linux/tasks.h Change NR_TASKS, recompile kernel. Look in limits.h to see if CHILD_MAX needs to change; it defaults to NR_TASKS/2 -- g