Re: Help! How to increase _PROCESSES_ ?

wingman@synergy.dynip.com
Tue, 2 Feb 1999 15:28:18 -0600


> > 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/