You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Edward David <ed...@ucalgary.ca> on 2005/10/25 18:47:48 UTC
[users@httpd] Apache 2 child spawn issue
I am getting this message when I run a perl program.
*Resource temporarily unavailable: couldn't create child process:*
I am including my config file parameters:-
##
## Server-Pool Size Regulation (MPM specific)
##
<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 256
MaxRequestsPerChild 10000
</IfModule>
# worker MPM
<IfModule worker.c>
ServerLimit 16
StartServers 3
MaxClients 256
MinSpareThreads 75
MaxSpareThreads 250
ThreadsPerChild 25
MaxRequestsPerChild 10000
</IfModule>
# perchild MPM
<IfModule perchild.c>
NumServers 5
StartThreads 5
MinSpareThreads 5
MaxSpareThreads 10
MaxThreadsPerChild 64
MaxRequestsPerChild 0
</IfModule>
If anyone can see what I am doing wrong please let me know.
My workaround for now is to restart the Apache server.
---------------------------------------------------------------
Edward David
Sr. Systems Analyst
University of Calgary
Information Resources
Information Technology Service
---------------------------------------------------------------
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache 2 child spawn issue
Posted by Edward David <ed...@ucalgary.ca>.
Sorry I am running Linux AS 4 Enterprise server.
Apache 2.0.54.
Edward David wrote:
> I am getting this message when I run a perl program.
> *Resource temporarily unavailable: couldn't create child process:*
>
> I am including my config file parameters:-
>
> ##
> ## Server-Pool Size Regulation (MPM specific)
> ##
>
> <IfModule prefork.c>
> StartServers 5
> MinSpareServers 5
> MaxSpareServers 10
> MaxClients 256
> MaxRequestsPerChild 10000
> </IfModule>
>
> # worker MPM
> <IfModule worker.c>
> ServerLimit 16
> StartServers 3
> MaxClients 256
> MinSpareThreads 75
> MaxSpareThreads 250
> ThreadsPerChild 25
> MaxRequestsPerChild 10000
> </IfModule>
>
> # perchild MPM
> <IfModule perchild.c>
> NumServers 5
> StartThreads 5
> MinSpareThreads 5
> MaxSpareThreads 10
> MaxThreadsPerChild 64
> MaxRequestsPerChild 0
> </IfModule>
>
> If anyone can see what I am doing wrong please let me know.
> My workaround for now is to restart the Apache server.
>
> ---------------------------------------------------------------
> Edward David
> Sr. Systems Analyst
> University of Calgary
> Information Resources
> Information Technology Service
> ---------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--
---------------------------------------------------------------
Edward David
Sr. Systems Analyst
University of Calgary
Information Resources
Information Technology Service
---------------------------------------------------------------
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org