tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: max-proc-per-user
@ 2001-02-06 22:16 John Tan
  0 siblings, 0 replies; 3+ messages in thread
From: John Tan @ 2001-02-06 22:16 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks to the many who replied.

Basically, the consensus was that there should be no problem increasing
max-proc-per-user.  Some databases require this to be something in the order
of 1024.

The reason for this parameter is to defend against accidental fork loops, so
increasing it runs a risk of a user, either deliberately or accidentally
executing a denial of service attack due to insufficient physical memory.
Therefore, it is unwise to set the value to infinity.

I was reminded to increase max-threads-per-user to a value 4-8 times
max-proc-per-user.



-----Original Message-----
From: John Tan 
Sent: Tuesday, February 06, 2001 5:01 PM
To: 'tru64-unix-managers@ornl.gov'
Subject: max-proc-per-user


Hi, experts.

A quick, easy question for some of you, but I'm racking my brains over it
due to lack of experience.

/etc/sysconfigtab notes max-proc-per-user = 128

What might be the consequences or ramifications of changing it, to, say,
500?  Why would one do this?  Any drawbacks to watch out for?  (I know some
systems has this value in the thousands, so 500 shouldn't be too bad, but
I'm not sure.)

Thanks for your help.

^ permalink raw reply	[flat|nested] 3+ messages in thread
* SUMMARY max-proc-per-user
@ 1999-09-27 17:15 Andy Cohen
  0 siblings, 0 replies; 3+ messages in thread
From: Andy Cohen @ 1999-09-27 17:15 UTC (permalink / raw)
  To: tru64-unix-managers

Thank you all so much for responding so quickly and so helpfully!!

SUMMARY

GUI options:
	if access to CDE:
		double-click on Application Manager icon
		select Monitoring/Tuning
		select Kernel Tuner
		select proc subsystem
		change parameter

	if access to X11
		run /usr/bin/X11/dxkerneltuner
		scroll down to proc
		change parameter

CHARACTER-CELL (COMMAND LINE) options
	run sysconfigdb
	or edit sysconfigtab (least recommended!)


Thanks again!

Andy Cohen
Oracle Database Administrator
Cognex Corporation
1 Vision Drive
Natick, MA  01760-2059
v: 508/650-3079
f: 508/650-3337
e: acohen@cognex.com

^ permalink raw reply	[flat|nested] 3+ messages in thread
* SUMMARY: max-proc-per-user
@ 1999-05-06  2:03 Feuereisen, Gunther (x8825)
  0 siblings, 0 replies; 3+ messages in thread
From: Feuereisen, Gunther (x8825) @ 1999-05-06  2:03 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks to all who responded:

Krisztian Toth [Krisztian.Toth@Digital.com]
Sean O'Connell [sean@stat.Duke.EDU]
Loucks Guy [Guy.Loucks@det.nsw.edu.au]
Harry Eleftheriou [Harry.Eleftheriou@digital.com]
Volker Becker [becker@eurocontrol.de]
Dr. Tom Blinn, 603-884-0646 [tpb@doctor.zk3.dec.com]

My original post:

	Last night we ugraded an Alpha 4100 running 4.0B to 4.0D + Patch Kit
00003 (the one that works).

	When we do a sysconfig -q proc looking for max-proc-per-user we get:

	max-proc-per-user = 267

	In /etc/sysconfigtab we have:

	proc:
	        max-proc-per-user = 1024

	Any ideas why this is happening, or where else this could be being
overridden
	from?

The problem was maxusers. When we upgraded, our kernel was recreated, and
maxusers had been
set in the kernel config file instead of /etc/sysconfigtab. so it defaulted
back to 32.

Kirztian pointed out that:

	The problem is that max-proc-per-user can't go larger than nproc
(maximum processes per system)
	minus 9. nproc is calculated from maxusers: nproc=maxusers*8 + 20.
If your system is set to the
	default value for maxusers (32), then nproc will be 276, and
max-proc-per-user will be capped at 267.

which is exactly what was happening to me.

Thanks to everyone for their help!

Gunther

---------------------------------------------------------------------
This correspondence is for the named person's use only.  It may 
contain confidential or legally privileged information or both. 
No confidentiality or privilege is waived or lost by any 
mistransmission.  If you receive this correspondence in error, please
immediately delete it from your system and notify the sender.  You 
must not disclose, copy or rely on any part of this correspondence 
if you are not the intended recipient. 

Any views expressed in this message are those of the individual sender,
except where the sender expressly, and with authority, states them to
be the views of Vodafone.

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

end of thread, other threads:[~2001-02-06 22:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-06 22:16 SUMMARY: max-proc-per-user John Tan
  -- strict thread matches above, loose matches on Subject: below --
1999-09-27 17:15 SUMMARY max-proc-per-user Andy Cohen
1999-05-06  2:03 SUMMARY: max-proc-per-user Feuereisen, Gunther (x8825)

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