tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: task_create() and maxuprc errors?
@ 1998-03-06 21:40 Ronald D. Bowman
  0 siblings, 0 replies; only message in thread
From: Ronald D. Bowman @ 1998-03-06 21:40 UTC (permalink / raw)
  To: tru64-unix-managers

Hello managers -

I really like this group.  I had a few very quick responses which
were all identical in their solutions.  I imagine this will
solve the problem, I am just curious as to why it never showed
up before.  The learning continues....

The solution is to change the 
max-proc-per-user attribute in the /etc/sysconfigtab file.  For various ways to
do this, see below(especially Mike's reply)

>Part of Original post:
>
>	I have run into a problem(3 times) recently with a simulation package
>	that I am running.  I do not know if the errors I am seeing
>	are from the simulation package or from DU.
>	
>	The error is the following:
>	
>	task_create() failed for pid 17497: maxuprc (=64) exceeded for uid 6294.
	
Many thanks to Allan E Johannesen, Mike(aka JekyllTunnel),Miguel Fliguer,
and PHETPHONE D CHANTHAVONG!! 


The suggestions were as shown below, but the best came from Mike who pointed out a
very useful(though I can see myself screwing up with) function.  His post is first 
in its entirety the others are summarized after that:

From Mike:
----------
>That error means that the user in question (uid 6294) has 64 processes
>already, which is the maximum set.  To change this, you need to tweak a
>kernel parameter (does not require rebuild).

>Run dxkerneltuner from the command line.  Go to the proc section and change
>the value max-proc-per-user to something higher than 64.  I use 256.

>(What dxkerneltuner does, is provide a nice GUI to modify the
>/etc/sysconfigtab file, which is normally tweaked with the sysconfigdb
>command)

I will point out that the kernel subsystem to edit is "proc".  dxkerneltuner provides
access to a lot of different subsystems, and the graphical interface is very nice.

Alternate ways to do the same thing:
-------------
From Allan:

Assuming you have the privileges, modify /etc/sysconfigtab and add these two
lines at the bottom:

proc:
        max-proc-per-user = 256
-------------------------------
From Miguel:
Check out :

# sysconfig -q proc 

for the setting of max-proc-per-user . I guess it's in the default value
(64). 
Try raising it to 128, just add a section on /etc/sysconfigtab :

proc:
	max-proc-per-user = 128
------------------
From PHETPHONE:
It looks like the 'max-proc-per-user' is over exceeded.
You need to increase from =64 to may be =128:
look under: 
     
# sysconfig -q proc

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-03-06 21:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-06 21:40 SUMMARY: task_create() and maxuprc errors? Ronald D. Bowman

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