determining number of open files: howto?

From: Alex Harkema <HarkemaA_at_vertis.nl>
Date: Mon, 11 Sep 2000 11:58:16 +0200

Hi all,

I'm encountering the (well-known) error msg "too many open files".
The strange thing is, I already once adjusted the kernel values / ulimit:

max-proc-per-user = 64
max-threads-per-user = 256
max-per-proc-stack-size = 33554432
max-per-proc-data-size = 1073741824
max-per-proc-address-space = 1073741824
open-max-soft = 4096
open-max-hard = 4096
maxusers = 640

I think those are already high values, right? For a while this seemed to
solve the problem, until recently.
I am wondering how I can determine the number of files opened at the time
the error occurs (at night) so I can decide wether the max-values are the
cause indeed, and I have to increase the kernel parameters again?

Any hints are welcome.

TIA
Alex Harkema
Received on Mon Sep 11 2000 - 10:02:10 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT