[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: maximum number of processes on kernel 2.4.x

On Tue, 12 Mar 2002 03:58, Wayne Tucker wrote:
> The limit of 256 is coming from the `ulimit -s` command (bash).  Just
> as a test, I also threw together a program to call getrlimit and
> display the result.  Here's what I get:
> wayne@ironman:~$ cat /proc/version
> Linux version 2.4.17 (root@ironman) (gcc version 2.95.4 20011006 (Debian
> prerelease)) #1 Wed Jan 2 21:55:45 PST 2002 wayne@ironman:~$ ./showrlimit
> cur: 256 max: 4294967295
> (now I really understand what you mwant when you said that my system
> would be dead long before it got there ;)

The real limit isn't going to be 4 billion processes.  That just means that 
it won't be the ulimit stopping you.

As you've apparently noticed the limits are set by login programs.  This 
should only be a problem if you ssh into a machine to start a daemon, daemons 
started by init should not have any such limits.

If you send email to me or to a mailing list that I use which has >4 lines
of legalistic junk at the end then you are specifically authorizing me to do
whatever I wish with the message and all other messages from your domain, by
posting the message you agree that your long legalistic sig is void.

Reply to: