On Fri, 14 Apr 2000, Trevor Jennings wrote:
> Hi,
>
> I am just wondering if someone can help me out here!! How do you increase
> resources under linux? Reason for asking is that I am running apache 1.3.3
> under redhat and I am repeatedly getting the following errors:-
>
> [Fri Apr 14 08:30:33 2000] [error] [client 24.93.158.219] (11)Resource
> temporarily unavailable: couldn't spawn child process:
> /usr/local/apache/cgi-bin/cgiwrap
>
> Thanks in advance,
>
> - Trevor
>
The default max number of processes in the 2.2 kernels is 2560. You can
increase this by editing /usr/src/linux/include/linux/tasks.h
Look for the line that begins with:
#define NR_TASKS 2560
Increase this value up to a maximum of 4092 and then recompile the kernel.
Hope this helps.
Steve
--
Steve Feehan Phone: 785-532-6350x44
System Administrator Fax: 785-532-7533
Computing and Information Science ICQ: 9751775
Kansas State University http://www.cis.ksu.edu/~steve/
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.