Apache Proxy and Apache server at startup

Mike Bilow mikebw at colossus.bilow.com
Wed Mar 15 17:59:36 EST 2000


My guess is this is a name service issue.  If you have virtual web sites
listed in the Apache configuration files, it may be more efficient (and
more secure) to list them by IP address instead.

Also, if you have multiple IP addresses on the machine, then Apache will
try to reverse resolve each one to a domain.  If your name service is
broken or inconsistent between forward and reverse, then this will slow
down the startup procedure until the queries time out.

-- Mike


On Sun, 12 Mar 2000, Subba Rao wrote:

> 2.
> ==
> One other problem I have noticed is the slow startup of Apache at boot up time.
> In the startup scripts, I have the following lines:
> 
> if [ -x /usr/local/apache/bin/apachectl ]; then
>   echo "Starting Apache Web Server"
>   /usr/local/apache/bin/apachectl start
> fi
> 
> The system waits for about 5 minutes before moving on to the next instruction.
> I do not have any "sleep" commands in this script. Once the system has started,
> if I do any of the following commands:
> 
>   /usr/local/apache/bin/apachectl stop
>   /usr/local/apache/bin/apachectl start
>   /usr/local/apache/bin/apachectl restart
> 
> Apache responds rightaway. If anyone is experiencing this same problem, please let
> me know how you resolved this problem.


-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list