Setting ulimit values in files on Redhat AS 2.1

linuxquestion_at_yahoo.com
Date: 06/30/04


Date: 29 Jun 2004 17:47:13 -0700

Hello,

I need to set a few parameters at boot time.

They need to be:
 stack size (kbytes) (ulimit -s): 32768
 open files (ulimit -n): 4096
 max user processes (ulimit -u): 16384

I know it's possible to fool around with scripts
and/or echo commands. (Please don't bother
telling me about them, I'm trying to avoid that.)

However, I want to just set these values once in a
file, such as in Sysctl.conf:

fs.file-max = 131014

Is it possible to set these ulimit values, in a file?
What is the file? What is the secret?

Thanks a lot



Relevant Pages

  • Setting ulimit values in files on Redhat AS 2.1
    ... I need to set a few parameters at boot time. ... I know it's possible to fool around with scripts ... and/or echo commands. ...
    (comp.os.linux.misc)
  • Setting ulimit values in files on Redhat AS 2.1
    ... I need to set a few parameters at boot time. ... I know it's possible to fool around with scripts ... and/or echo commands. ...
    (comp.os.linux.setup)
  • support for mounting md(4) based filesystem at boot [PATCHES]
    ... mounting of mdbased filesystems at boot time: ... Also of perhaps dubious validity is the fact that one of the scripts ... where mountall sits on NetBSD. ... 'mountall' actually are run after all the filesystems have been made ...
    (freebsd-current)
  • Re: Boot time script under user ID
    ... > boot time. ... I want the scripts to have the PATH, home directory and ... > permisions of this user, even though this user has not logged in (the ...
    (comp.os.linux.setup)
  • Boot time script under user ID
    ... I am trying to start a set of processes on behalf of a non root user at ... boot time. ... I want the scripts to have the PATH, ... *nixes such as Solaris 10. ...
    (comp.os.linux.setup)