httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward David <eda...@ucalgary.ca>
Subject Re: [users@httpd] Apache 2 child spawn issue
Date Wed, 26 Oct 2005 14:59:38 GMT
I just did a check the other day and found I was using prefork.c.
So for production I am stuck with prefork for now.
So any ideas for the child spawn issue.
Our IT department seems to think that prefork is the way to go.
I am currently rebuilding our development server and then seeing about 
flipping it over to
worker. Unless there is a reason to go with a different MPM.
Here is my results for httpd -l
Compiled in modules:
  core.c
  mod_access.c
  mod_auth.c
  util_ldap.c
  mod_auth_ldap.c
  mod_include.c
  mod_deflate.c
  mod_log_config.c
  mod_env.c
  mod_setenvif.c
  mod_proxy.c
  proxy_connect.c
  proxy_ftp.c
  proxy_http.c
  mod_ssl.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_info.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
  mod_so.c

Edward

Axel-St├ęphane SMORGRAV wrote:

>What MPM are you using ? Do you have the server-status module loaded ? What does it report
?
>
>( /usr/local/apache/bin/httpd -l  ??) 
>
>-ascs
>
>-----Original Message-----
>From: Edward David [mailto:edavid@ucalgary.ca] 
>Sent: Tuesday, October 25, 2005 6:55 PM
>To: users@httpd.apache.org
>Subject: Re: [users@httpd] Apache 2 child spawn issue
>
>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
>
>
>---------------------------------------------------------------------
>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


Mime
View raw message