where is maxproc set initially?

where is maxproc set initially?

Post by Vlad » Mon, 17 Feb 1997 04:00:00



Hi:
        This may be a fairly trivial question:

Quote:>limit

...
maxproc         40

For the life of me I can't find out where this soft limit is set. Notice
that

Quote:>limit -h

...
maxproc         unlimited,

so there is no simple relation between the two numbers. The above limit
isn't set in any system-wide configuration file, nor in the kernel
configuration or set in any rc.* scripts. Where is it built in?

Vlad.

 
 
 

where is maxproc set initially?

Post by J Wuns » Mon, 24 Feb 1997 04:00:00



> so there is no simple relation between the two numbers. The above limit
> isn't set in any system-wide configuration file, nor in the kernel
> configuration or set in any rc.* scripts. Where is it built in?

It used to be set via CHILD_MAX in <sys/syslimits.h>.  These days, it
has been replaced to by an implementation of login classes (by David
Nugent).

--
cheers, J"org


Never trust an operating system you don't have sources for. ;-)

 
 
 

1. Where is the PATH variable initially set?

I'm running Red Hat Linux 4.2, and am wondering where the PATH variable
is initially set for the bash shell.  When I type "set" on the command
line, I find out that

PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/bin/mh:/home/spencer/bin

My ~/.bash_profile has the following line:

PATH=$PATH:$HOME/bin

The /etc/profile has the following line:

PATH="$PATH:/usr/X11R6/bin"

So where do /usr/local/bin, /bin, /usr/bin, and /usr/bin/mh get placed into
the PATH?  Is there a file that gets read before /etc/profile?  Also,
the placement of /usr/bin/mh seems to indicate that it gets added after
/etc/profile is read and before ~/.bash_profile is read.

Thanks for any help.

--
(< o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o

o  Visit my Utah Saints page: http://www.wam.umd.edu/%7Etechno/Utah_Saints/  o
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o >)

2. removing LILO BOOT??

3. maxproc limit

4. Disable -rReason

5. 2.2.7 kern.maxproc now read only

6. sundance.o only two ports working

7. MAXPROCS in AIX 3.1 - or other limit

8. Solaris x86 or other Linux with NeoMagic 2090 video chipset?

9. MAXPROC

10. what is MAXPROC?

11. How to increase the MAXPROC on AIX 4.1.5 ?

12. Where are maxproc, etal system params under Linux?

13. sound applications can't open /dev/dsp initially when using KDE