lkml.org 
[lkml]   [1999]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Help! How to increase _PROCESSES_ ?
> > increase NR_TASKS in /usr/src/linux/include/linux/tasks.h.
> >
> > default is 512, so u shouldn't bum out with only 233 processes, though.
> > Have you set the max number of server processes/max number of connections
> > in your http server's config?

Had the same problem with a shell machine I admin, once it hit around 200
processes everything would would start to get out of file handle and out of
processes messages and start to bring the machine down. I got around it with
adding the following to my rc.local:

/bin/echo 32768 > /proc/sys/kernel/inode-max
/bin/echo 8192 > /proc/sys/kernel/file-max

This was on 2.0.35 and now 2.0.36. We go over 250 processes at times without
getting those errors again. This is on a Dual PII 350 with 512meg ram.

Anyone care to let me know what the max values these can be set at?


--
Bill West
Houston TX
wingman@lcc.net
wingman@synergy.dynip.com
http://synergy.dynip.com
******************************************************************************
Linux = The choice of a GNU generation
******************************************************************************

-
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.059 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site