Re: [ILUG] max files open

From: Philip Reynolds (phil at domain redbrick.dcu.ie)
Date: Thu 18 May 2000 - 18:58:32 IST


Donncha O Caoimh's [donncha.ocaoimh at domain tradesignals.com] 15 lines of dribble included:
<:ulimit -a reports that a user can have up to 1024 files open. Is that
<:per user or per process?
<:
<:A quick look at include/linux/fs.h in the kernel source shows you can
<:have 1024*1024 open files :)
<:Problem is that normal users can't increase their number of open files.
<:I get "operation not permitted", how does root change the limits for
<:users?

Afaik there's an invokation option you have to stick in /etc/passwd when
invoking bash (not sure about other shells but I assume it's something
similar), I can't remember it offhand and I can't just find it right this
second, if I think of it or find any more info on it anytime soon I'll let you
know.
Phil.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:13 GMT