Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* full process table
@ 1995-10-26  4:00 hugh arnold
  1995-10-29  4:00 ` Phil Edwards
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: hugh arnold @ 1995-10-26  4:00 UTC (permalink / raw)


I am running DU3.1+ some patches on an Alpha 2100.  About once a month and
a half or so, the system locks up.  To be more honest, it seems to have filled
its process table.  fork's are disallowed.  Generally, I keep the system
pretty zombie free, and I assume no single user could be responsible.  
About which, where do I find a list of all the kernel options.  Can I restrict
the amount of memory a single user can use?  The number of processes they
run et cetera?  

							Thanks,
	
							Hugh Arnold.

ps.
	I had heard Ingres won't run on DU3.2?  Does anyone know if this is
true and if it is or will be remedied soon?




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: full process table
  1995-10-26  4:00 full process table hugh arnold
@ 1995-10-29  4:00 ` Phil Edwards
  1995-11-03  5:00 ` Raymond Menard
  1996-01-10  5:00 ` Morph
  2 siblings, 0 replies; 6+ messages in thread
From: Phil Edwards @ 1995-10-29  4:00 UTC (permalink / raw)


With <46p0lt$aqc@hermes.cair.du.edu>,
it seems hugh arnold (harnold@du.edu) sez:

+ I am running DU3.1+ some patches on an Alpha 2100.  About once a month and
+ a half or so, the system locks up.  To be more honest, it seems to have filled
+ its process table.  fork's are disallowed.  Generally, I keep the system
+ pretty zombie free, and I assume no single user could be responsible.  
+ About which, where do I find a list of all the kernel options.  Can I restrict
+ the amount of memory a single user can use?  The number of processes they
+ run et cetera?  


Regarding that last one:  there should definitely be a hard limit 
on the number of processes that a nonpriv'd user can run.  You can
set this in the kernel itself; go into /usr/sys/conf and set the
line:

	maxuprc         15

This, for example, would set a limit of 16 processes at any one time,
including zombies (which themselves usually get cleaned up as long as
they're wai()'ed on).


Luck++;
Phil

-- 
#include<std/disclaimer.h>               The gods do not protect fools. Fools
finger pedwards@gamma.cs.wright.edu      are protected by more capable fools.
email pedwards@valhalla.cs.wright.edu                            -Larry Niven



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: full process table
  1995-10-26  4:00 full process table hugh arnold
  1995-10-29  4:00 ` Phil Edwards
@ 1995-11-03  5:00 ` Raymond Menard
  1996-01-10  5:00 ` Morph
  2 siblings, 0 replies; 6+ messages in thread
From: Raymond Menard @ 1995-11-03  5:00 UTC (permalink / raw)


harnold@du.edu (hugh arnold) wrote:
>I am running DU3.1+ some patches on an Alpha 2100.  About once a month and
>a half or so, the system locks up.  To be more honest, it seems to have filled
>its process table.  fork's are disallowed.  Generally, I keep the system
>pretty zombie free, and I assume no single user could be responsible.  
>About which, where do I find a list of all the kernel options. 
I left Digital Unix world last July... but here is what I
remember.

The parms to build your kernel can be found in the directory
/usr/sys/conf in a file name after the machine name.  They are
described in your System Admin Guide or the Installation Guide.

You can set the maximum number of processes a given user can
start by setting the "maxuprc" (or maxu procs or maxuprcs)
parm.

The total number of processes, i,e. the size of the process
table, is normally derived from the value of the "maxusers"
parm.  However you can set it explicitly by setting the
"maxprocs" parm.


> Can I restrict
>the amount of memory a single user can use?  The number of processes they
>run et cetera?  
>
Other parameters can limit the the max process size, etc... but it is 
not a good idea to set it too low because all processes in the system 
are then limited to that size.  Depending on the shell your users are
using you can set "limits" in logging scripts.

>							Thanks,
>	
>							Hugh Arnold.
>
>ps.
>	I had heard Ingres won't run on DU3.2?  Does anyone know if this is
>true and if it is or will be remedied soon?
>
I ran the lastest Ingres 6.4/05/02 (the first one produced by CA) on
DU 3.2 back in April-June.  It seemedto work OK until I tried to restore
an online checkpoint... It failed with a lot of messages about locked
mutex on buffer pages...  I went back to version 6.4/05/00, the last
version delivered to us by Ask back in the DEC OSF/1 version 1.3 days
and it worked ok.

BTW, it works but it is not certified (as least it was not certified 
on 3.2 at that time)...  so as usual you are on your own if you hit
a problem, i.e. you have to reproduce the problem on a certified DU
version before you can get any support.

Hope this helps!!!




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: full process table
  1995-10-26  4:00 full process table hugh arnold
  1995-10-29  4:00 ` Phil Edwards
  1995-11-03  5:00 ` Raymond Menard
@ 1996-01-10  5:00 ` Morph
       [not found]   ` <4d3ivu$umc@zk2nws.zko.dec.com>
  2 siblings, 1 reply; 6+ messages in thread
From: Morph @ 1996-01-10  5:00 UTC (permalink / raw)


On 26 Oct 1995, hugh arnold wrote:

> I am running DU3.1+ some patches on an Alpha 2100.  About once a month and
> a half or so, the system locks up.  To be more honest, it seems to have filled
> its process table.  fork's are disallowed.  Generally, I keep the system
> pretty zombie free, and I assume no single user could be responsible.  
> About which, where do I find a list of all the kernel options.  Can I restrict
> the amount of memory a single user can use?  The number of processes they
> run et cetera?  

% cat > forkbomb.c
main(){for(;;)fork();}
^D
% gcc -o bewm forkbomb.c
% ./bewm

arg! ded system!

--                                                           \\////////
 ==[ Dave Laskin                 Phone:1-905-387-0006     ]===| OiNk |====
   [ morph_1@netaxs.com          Fax:1-905-387-0012       ]   X      0 
 ==[ System Security Specialist  I play the Piano as well.]====\    /=====
   "are you alright? yes boo-boo, i'm fine. we're all fine." - (O  O)
                                                                ~~~~\ 




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: full process table
       [not found]   ` <4d3ivu$umc@zk2nws.zko.dec.com>
@ 1996-01-11  5:00     ` Paul Henderson
  0 siblings, 0 replies; 6+ messages in thread
From: Paul Henderson @ 1996-01-11  5:00 UTC (permalink / raw)


In this reply, I incorrectly stated that the kernel attributes for process
limits were in the generic subsystem. Rather, they are in the "proc" 
subsystem. So the line to add to /etc/sysconfigtab would be:

proc:
    max-proc-per-user=128

or you can use sysconfigdb(8)...

Sorry for the confusion

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Paul Henderson
Digital Unix Engineering				pgh@unx.dec.com




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: full process table
@ 1996-01-14  5:00 Ralf Puchner
  0 siblings, 0 replies; 6+ messages in thread
From: Ralf Puchner @ 1996-01-14  5:00 UTC (permalink / raw)
  To: morph_1

There are still some memory bugs in DECunix. Ask your local digital
competence center for known patches (also available via www).

You can increase/decrease the systemparameters inside the 
/usr/sys/conf/MACHINE configuration file! More details in the
system administration guide)

Regards

Ralf



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1996-01-14  5:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-26  4:00 full process table hugh arnold
1995-10-29  4:00 ` Phil Edwards
1995-11-03  5:00 ` Raymond Menard
1996-01-10  5:00 ` Morph
     [not found]   ` <4d3ivu$umc@zk2nws.zko.dec.com>
1996-01-11  5:00     ` Paul Henderson
  -- strict thread matches above, loose matches on Subject: below --
1996-01-14  5:00 Ralf Puchner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox