Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Apache Proxy and Apache server at startup



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).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org