Malcolm's suggestions were very good. I set the hard limit to 2048 in /etc/security/limits.conf (you can do it on a user basis or a group basis) and then added the "ulimit -n 2048" command to the user's .profile. It works.
Thanks a lot everyone who responded. Maciek ------ Maciej Ksiezycki Systems Programmer Unizeto - Computing Centre http://www.unizeto.pl Malcolm Beattie <[EMAIL PROTECTED]> wrote: >Tim Verhoeven writes: > On Mon, 13 May 2002, [ISO-8859-2] Maciej Ksij?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/. There *is* a user limit as well (in the sense of "non-system-wide"): it's one of the inherited setrlimit() resource limits. To see a shell's current resource limits (soft and hard limits respectively) you can use "ulimit -Sa" and "ulimit -Ha" (for bash-flavoured shells) or "limit" and "limit -h" (for tcsh-flavoured shells). Interactive login shells will typically have user limits set lower than the system-wide maximum: e.g. at 1024. System administrators may be able to configure this on a per-subsystem basis (e.g. those such as sshd which use pam_limits can edit /etc/security/limits.conf). --Malcolm -- Malcolm Beattie <[EMAIL PROTECTED]> Linux Technical Consultant IBM EMEA Enterprise Server Group... ..from home, speaking only for myself
