Re: Apache Stops Serving Pages

by "Frederic Fillon" <fillon(at)webstore.fr>

 Date:  Sun, 16 Apr 2000 13:33:23 +0200
 To:  "Pat Wolf" <patw(at)ptd.net>,
<hwg-servers(at)hwg.org>
 References:  localhost
  todo: View Thread, Original
Hi,

In my opinion the best way to split logs for apache is to use the rotate
logs tool, so you do not need to restart apache ......
I do not like to stop apache by cron  ...

Regards


/*    WEBSTORE STAFF
        Fr�d�ric FILLON
  Little Guru / Web Master
                                             */
#****************************#
  http://www.webstore.fr

   Le site de la C�te d'Azur :
   http://www.cote.azur.fr

#****************************#
----- Original Message -----
From: "Pat Wolf" <patw(at)ptd.net>
To: <hwg-servers(at)hwg.org>
Sent: Saturday, April 15, 2000 6:12 PM
Subject: Re: Apache Stops Serving Pages


> Thanks to all who confirmed my suspicions that this problem is not
> RAM. In fact the Hosting company installed more RAM yesterday
> afternoon and last evening the same problem occurred.
>
> I am absolutely convinced that this is happening because of a cron
> job that stops and restarts Apache.
>
> I had requested daily logs (access and error) renamed xxxxxx_log.date
> and gzipped. Early in March Tech Support set this up and it was
> running fine until last Tuesday when for some reason the logs didn't
> reinitialize which they attributed to Apache not restarting properly.
>
> I believe that they then modified the script and that it is now
> causing this problem. In fact, the very next morning (Weds) was the
> start of the problem and it has now continued for a total of four
> consecutive mornings. HOWEVER, it seems like Apache is restarting
> after the job and FAILS about 1 1/2 - 2 1/2 hours later. Because it
> takes a few hours to fail, Tech Support is telling me that it is not
> the cron job. However, I find the coincidence too great to ignore.
>
> Can someone give me a proper step-by-step procedure for closing the
> logs, renaming them and restarting Apache so I can verify what they
> are doing?
>
> Thanks again.
>
>
> On 14 Apr 2000, at 10:42, Pat Wolf <patw(at)ptd.net> wrote:
>
> > About 5 weeks ago we transferred our site to a dedicated server
> > maintained by a web hosting company. The server is running Linux and
> > Apache (I think ver 1.3.6, but they just mentioned upgrading to 1.3.9)
> >
> > Everything has been running great until this week. For the last three
> > nights at some point in the wee hours Apache has stop serving web
> > pages. Tech Support says that their monitoring system shows that
> > Apache is running however according to all logs web access has ceased.
> >
> > They are suggesting more RAM. Does this sound logical or should we be
> > investigating other possibilities?? The question I have is why did
> > everything work for five weeks and then stop even though traffic seems
> > reasonably consistent.
> >
> > Thanks in advance for any pointers you can offer.
>
>
> -------------------------------------------
> Pat Wolf
> patw(at)ptd.net
>

HWG: hwg-servers mailing list archives, maintained by Webmasters @ IWA