<KLUDGE>
chkconfig httpd off
vi /etc/init.d/named & put (without ticks) '/sbin/service httpd start'
at the end of the start stanza and '/sbin/service httpd stop' at the end
of the stop stanza.
</KLUDGE>

not sure that this will work, it depends on whether the daemon function
in /etc/init.d/services waits for a complete start out of named.

I suppose an even bigger kludge would be to just stick sleep 6000 at the
top of /etc/init.d/httpd


Jack

On Tue, 2002-11-05 at 06:50, Jim Tarvid wrote:
> Under normal circumstances, one of my servers handles dns for 180 domains and 
> apache about 100 virtual servers.
> 
> Twice recently, once with 8.3 (cooker) and last night with 9.0 life turned 
> sour.
> 
> On a reboot, named loads zones very slowly - one every 20 to 30 seconds.
> 
> Apache comes up broken in one way or another, last night it was PHP timing 
> out on name resolution.
> 
> In both cases cpu load was less than 0.2, memory was 25% of real memory and 
> df never exceeds 50% for any partition. That is, the problem is not resources.
> 
> Obviously, tasks are waiting for each other.
> 
> An obvious fix is to put DNS on a separate server. Currently I have the 
> server is doing DNS for its own domains. It shouldn't take too much of a 
> machine to do my DNS.
> 
> Another would be to get DNS to finish its load before starting other servers 
> dependent on DNS.
> 
> Is there a fix?
> 
> Jim Tarvid
> 
> 
> ----
> 

> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to