From: Greg Lindahl <lindahl@cs.virginia.edu>
To: wae@innova.net
Cc: axp-list@redhat.com
Subject: Re: Tuning Number of Open Files
Date: Fri, 24 Jul 1998 21:31:48 -0400 (EDT) [thread overview]
Message-ID: <199807250131.VAA15253@adder.cs.Virginia.EDU> (raw)
> 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
next reply other threads:[~1998-07-25 1:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-25 1:31 Greg Lindahl [this message]
1998-07-28 9:22 ` Tuning Number of Open Files Andi Hechtbauer
-- strict thread matches above, loose matches on Subject: below --
1998-07-25 1:16 Bill
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox