You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Jong Lee <jl...@bea.com> on 2001/04/15 04:39:27 UTC

config/7565: Changing "StartServers" in httpd.conf has no effects

>Number:         7565
>Category:       config
>Synopsis:       Changing "StartServers" in httpd.conf has no effects
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Apr 14 19:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     jlee@bea.com
>Release:        2.0.16
>Organization:
apache
>Environment:
SunOS muir 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-60
>Description:
mpm -- threaded

The server always started with 3 processes.  
>How-To-Repeat:
1) change "StartServers" to 1 in <IfModule threaded.c> block
2) restart server
I expect there is only 1 process created
>Fix:
in threaded.c:
the function threaded_pre_config() has the following code:
ap_daemons_to_start = DEFAULT_START_DAEMON;

we might want to do the following:
if (ap_daemons_to_start == 0)
  ap_daemons_to_start = DEFAULT_START_DAEMON;
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]