Messages in this thread | | | From | (Matthias Urlichs) | Subject | Re: Help! How to increase _PROCESSES_ ? | Date | 5 Feb 1999 15:10:54 +0100 |
| |
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/
| |