It seems that you are not right Nadav: Have a look at /etc/security/limits.conf on a RedHat machine.
On Mon, 21 Jan 2002, Nadav Har'El wrote: > On Mon, Jan 21, 2002, Max Kovgan wrote about "[FU]kernel mem use -> user >cpu/mem/proc. stack etc. usage limitations": > > hello! > > can somebody also point me to answers to this subject? > > i mean how do i exactly limit users in: > > 1) % of CPU usage > > 2) in memory usage, > > 3) in number of processes the user can create [it must be something > > with process stack size] > > 4) number of open files > > Maybe someone will correct me, but I don't think that you can limit any of > these things per-user in Linux (I seem to remember Alan Cox and Linus having > an argument on whether such a feature is needed or not). > You can, however, have per-process limits, and global limits. > > see the "ulimit" command (based on the setrlimit(2) system call). > See also the /proc/sys/fs/file-* files. > See nice(2) (and nice(1), renice(1)) on how to limit CPU usage of processes > (again, processes and not whole users). > > -- Behdad 1 Bahman 1380, 2002 Jan 21 [Finger for Geek Code] ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
