lkml.org 
[lkml]   [1999]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Setting max user processes > 256
This was something I wanted to ask about since all the 'mindcraft' stuff
floating around the last few weeks, and the birth of tunelinux.com

Why is it all these kernel constants are not changeable from within the make
proccess? Why can't all these hard limits be defaulted to their current levels,
and have hard ranges for allowable values in the input fields.

The average admin, even if he/she is working on some heavy usage servers,
shouldn't need to delve into the source tree to tweeks settings for a system
just to compile a tuned kernel.



Rob Napier wrote:
>
> On Sun, May 02, 1999 at 08:48:42AM -0700, David S Edwards wrote:
> > At 05:32 AM 5/2/99 -0500, you wrote:
> > > <snip>
> > >put your ulimits in /etc/profile
> >
> > Yes, I already tried that. I was able to raise root's max user processes.
> > But I could not raise the limit for anyone else, unless I was doing
> > something wrong...
>
> This isn't bash, this is the linux kernel:
>
> --BEGIN: /usr/src/linux/include/linux/tasks.h:

<snip>

>
> MAX_TASKS_PER_USER is later used to determine the default ulimit
> (which is independant of bash. See setrlimit(2)). A normal user can't
> ever raise his limit, and /etc/profile runs as the user, so you can't
> fix it there. The only solution I know is to change tasks.h and
> recompile your kernel.
>
> Rob
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com http://archive.redhat.com
> To unsubscribe: mail redhat-list-request@redhat.com with
> "unsubscribe" as the Subject.

--
---------------------+---------------------------------------
James Michael Keller | jmkeller@radix.net
"Tech" | jmkeller@cyberman.penguinpowered.com
| http://www.radix.net/~jmkeller
---------------------+---------------------------------------
Contents (c)1999 James Michael Keller
-------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.090 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site