* setting max. process limit?
@ 1997-04-12 4:00 Otis Gospodnetic
1997-04-13 4:00 ` Erik Persson
1997-04-14 4:00 ` bblank
0 siblings, 2 replies; 4+ messages in thread
From: Otis Gospodnetic @ 1997-04-12 4:00 UTC (permalink / raw)
Hi,
I was wondering how I could set/increase the maximum process limit for a
particular user on our Alpha that is running OSF1 (OSF1 V3.2 148 alpha) ?
Is there a way to set the limit for a particular user, or do we have to bump
up the limit for all users on the machine ?
Either way, how can that be done?
Thanks!
Otis
P.S.
btw. the problem that is the reason for this question is that our Web server
(netscape enterprise 1.12) chokes when it has to fork too many processes, and
reports fork() failures. I assume that's not the web server problem but
simply the configuration of our Alpha and oSF1 on it.
--
POPULUS, the Intelligent People Locator -- http://www.POPULUS.net/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: setting max. process limit?
1997-04-12 4:00 setting max. process limit? Otis Gospodnetic
@ 1997-04-13 4:00 ` Erik Persson
1997-04-14 4:00 ` bblank
1 sibling, 0 replies; 4+ messages in thread
From: Erik Persson @ 1997-04-13 4:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1429 bytes --]
otisg@puma.middlebury.edu (Otis Gospodnetic) writes:
>
>
> Hi,
>
> I was wondering how I could set/increase the maximum process limit for a
> particular user on our Alpha that is running OSF1 (OSF1 V3.2 148 alpha) ?
>
> Is there a way to set the limit for a particular user, or do we have to bump
> up the limit for all users on the machine ?
>
> Either way, how can that be done?
>
> Thanks!
>
> Otis
> P.S.
> btw. the problem that is the reason for this question is that our Web server
> (netscape enterprise 1.12) chokes when it has to fork too many processes, and
> reports fork() failures. I assume that's not the web server problem but
> simply the configuration of our Alpha and oSF1 on it.
> --
> POPULUS, the Intelligent People Locator -- http://www.POPULUS.net/
The maximum number of processes is controlled by the maxusers macro
(or variable or whatever) in /sys/conf/HOSTNAME. Change that from the
default 32 to something larger - maybe 128 or 256 - and rebuild the
kernel. A possibly forking web server with many accesses running lots
of CGI scripts etc will consume a lot of processes. There are also
some tips on kernel tuning Digital Unix for Web services on
www.digital.com.
/Erik
--
Erik Persson, System Manager e-mail: erik@ikp.liu.se
Dept. of Mech. Engineering Voice: +46 13 28 2464
Division of Solid Mechanics Fax: +46 13 21 2717
University of Link�ping, Sweden
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: setting max. process limit?
1997-04-12 4:00 setting max. process limit? Otis Gospodnetic
1997-04-13 4:00 ` Erik Persson
@ 1997-04-14 4:00 ` bblank
1997-04-18 4:00 ` Bernard BARBIER
1 sibling, 1 reply; 4+ messages in thread
From: bblank @ 1997-04-14 4:00 UTC (permalink / raw)
To: Otis Gospodnetic
Otis Gospodnetic wrote:
>
> Hi,
>
> I was wondering how I could set/increase the maximum process limit for a
> particular user on our Alpha that is running OSF1 (OSF1 V3.2 148 alpha) ?
>
> Is there a way to set the limit for a particular user, or do we have to bump
> up the limit for all users on the machine ?
>
> Either way, how can that be done?
>
> Thanks!
>
> Otis
> P.S.
> btw. the problem that is the reason for this question is that our Web server
> (netscape enterprise 1.12) chokes when it has to fork too many processes, and
> reports fork() failures. I assume that's not the web server problem but
> simply the configuration of our Alpha and oSF1 on it.
> --
> POPULUS, the Intelligent People Locator -- http://www.POPULUS.net/
I had a similar problem with Oracle, but I found kernel variable called:
max_proc_per_user
Use the sysconfig command to change it. I believe it required a kernel
rebuild and reboot.
Bob.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: setting max. process limit?
1997-04-14 4:00 ` bblank
@ 1997-04-18 4:00 ` Bernard BARBIER
0 siblings, 0 replies; 4+ messages in thread
From: Bernard BARBIER @ 1997-04-18 4:00 UTC (permalink / raw)
bblank@grci.com wrote:
> max_proc_per_user
>
> Use the sysconfig command to change it. I believe it required a kernel
> rebuild and reboot.
if you set the variable max_proc_per_user
in /etc/sysconfigtab,
it's value will be read at the next reboot. You'll have
to rebuild kernel only if you modify /usr/sys/conf/MACHINE_NAME
--
Cordialement,
Bernard.
--
Bernard BARBIER - CREATIS (CNRS-UMR 5515/INSA/UCB/INSERM)
System-manager / Postmaster. Phone : +33 04 72 43 89 73
URL : http://creatis-www.insa-lyon.fr
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-04-18 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-12 4:00 setting max. process limit? Otis Gospodnetic
1997-04-13 4:00 ` Erik Persson
1997-04-14 4:00 ` bblank
1997-04-18 4:00 ` Bernard BARBIER
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox