lkml.org 
[lkml]   [1999]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Help! How to increase _PROCESSES_ ?
Date
  Arvind Sankar <arvinds@mit.edu> writes:
> >
> > My webserver is under super heavy load (about 250 simultaneous
> > connections at any given time). I am very frequently getting:
> >
That's not "super heavy" -- one of ours has that, and it's only 20 requests
per second. "Super heavy" starts at 50. ;-)

> > 'couldnt spawn child process erorrs' when cgi scripts are attempted to
> > be ran, and overall server speed is bogged down.
> >
"help ulimit" (this is a bash builtin function).

Specifcally, put this in your server's startup script:

ulimit -H -u 1000
ulimit -S -u 1000

> increase NR_TASKS in /usr/src/linux/include/linux/tasks.h.
>
That's the _next_ limit.

--
Matthias Urlichs | noris network GmbH | smurf@noris.de | ICQ: 20193661
The quote was selected randomly. Really. | http://www.noris.de/~smurf/
--
Do not handicap your children by making their lives easy.
--Robert Heinlein

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.267 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site