From owner-freebsd-stable Fri Jan 18 7:20:51 2002 Delivered-To: freebsd-stable@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id 955E537B402 for ; Fri, 18 Jan 2002 07:20:47 -0800 (PST) Received: from SAGEONE (adsl-64-219-20-175.dsl.crchtx.swbell.net [64.219.20.175]) by sage-american.com (8.9.3/8.9.3) with SMTP id JAA06408; Fri, 18 Jan 2002 09:20:33 -0600 (CST) Message-Id: <3.0.5.32.20020118092031.017908f8@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Fri, 18 Jan 2002 09:20:31 -0600 To: "Sergey N. Voronkov" , Sergei Vyshenski From: jacks@sage-american.com Subject: Re: newsyslog stops logging of apache Cc: freebsd-stable@FreeBSD.ORG In-Reply-To: <20020118143915.A11440@sv.tech.sibitex.tmn.ru> References: <5.1.0.14.2.20020118121711.00a72870@vivaldi.pn.sinp.msu.ru> <5.1.0.14.2.20020118121711.00a72870@vivaldi.pn.sinp.msu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sergy: Additional thoughts on this is that most likey httpd needs more time to finsh writing open logs and when it is hurried, it stops acting right. I've had this same problem with natd which stopped logging for me from newsyslog. on this problem, I found if I ran a a script that sent a #kill to the pid and then let it sleep for 10 secs before restart, it solved the problem. So, you might look at running such a script & experiment with the stop/restart lag time if nothing else solves it. At 02:39 PM 1.18.2002 +0500, Sergey N. Voronkov wrote: >On Fri, Jan 18, 2002 at 12:25:45PM +0300, Sergei Vyshenski wrote: >> 4.5-PRERELEASE with fresh port collection, apache-1.3.22_7. >> >> As soon as newsyslog turns over file /var/log/httpd-access.log, >> logging to this file stops despite otherwise normal operation. >> No such effect with a file /var/log/httpd-error.log. >> > >Do you send SIGHUP/SIGUSR1 to running apache? > >serg@sv ~>tail -2 /etc/newsyslog.conf >/var/log/httpd-error.log 644 5 100 * Z /var/run/httpd.pid 30 >/var/log/httpd-access.log 644 7 250 * Z /var/run/httpd.pid 30 > >Best Regards, > >Serg N. Voronkov, >Sibitex JSC. > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-stable" in the body of the message > > Best regards, Jack L. Stone, Server Admin =================================================== Sage-American http://www.sage-american.com jacks@sage-american.com "My center is giving way, my right is in retreat; ....situation excellent! ....I shall attack!" =================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message