From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 1333 invoked from network); 31 Aug 1998 09:45:11 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 31 Aug 1998 09:45:11 -0000 Received: from calvino.alaska.net (cbrown@calvino.alaska.net [209.112.130.6]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id FAA23260 for ; Mon, 31 Aug 1998 05:45:14 -0400 Received: from localhost (cbrown@localhost) by calvino.alaska.net (8.8.8/8.8.8) with SMTP id BAA14798 for ; Mon, 31 Aug 1998 01:45:00 -0800 (AKDT) Date: Mon, 31 Aug 1998 01:45:00 -0800 (AKDT) From: Chris Brown To: axp-list@redhat.com Subject: Re: Per user limits In-Reply-To: <199808301745.NAA20296@adder.cs.Virginia.EDU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 30 Aug 1998, Greg Lindahl wrote: > > I know this should be sent to a general Linux list rather than the Alpha one, > > but can anybody tell me where I can bump up the 256 process/user > > limit? > > /usr/src/linux/include/linux/tasks.h > > And then rebuild your kernel. Changing the per user limit is fairly transparent, but if you change the overall task limit (most of our larger servers get changed to 2048 system, 512 user, and 32reserved) you *must* recompile procps. tasks.h is used to generate one of the structs that things like top and ps use for process display. If you do not recompile procps, top, ps, etc will segfault as soon as the # of procs goes above 512. Note: Intel hardware has an inherant TSS slot limit of 4096, and the kernel needs some of these, do not go beyond 400 unless you know exactly what you are doing. (In fact going beyond 2048 is almost always silly, as systems fast enuf to handle > 3072 procs are very rare (mainly an IO issue rather than CPU)). I do not know the hard limit (assuming the Alpha uses a hardware timeslot setup) for the Alphas, none of mine are fast enough to need the soft limits changed.