From owner-freebsd-stable Thu Oct 10 13:23:30 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B25D37B401; Thu, 10 Oct 2002 13:23:29 -0700 (PDT) Received: from smnolde.com (c-24-98-61-182.atl.client2.attbi.com [24.98.61.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C92743EC5; Thu, 10 Oct 2002 13:23:28 -0700 (PDT) (envelope-from scott@smnolde.com) Received: from [192.168.10.7] (helo=bsd.smnolde.com) by smnolde.com with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.36 #1) id 17zjqB-0002Hh-00; Thu, 10 Oct 2002 16:23:27 -0400 Received: from scott by bsd.smnolde.com with local (Exim 3.36 #1) id 17zjqB-000DOW-00; Thu, 10 Oct 2002 16:23:27 -0400 Date: Thu, 10 Oct 2002 16:23:27 -0400 From: "Scott M. Nolde" To: Guezou Philippe Cc: Naga Suresh B , Maxim Konovalov , freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: disk running out of space Message-ID: <20021010202326.GA67870@smnolde.com> References: <01e401c27044$67b8da50$9600a8c0@blraddrcom> <200210101405.g9AE5A192173@gimili.netgraphe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200210101405.g9AE5A192173@gimili.netgraphe.com> User-Agent: Mutt/1.4i X-GPG_Fingerprint: 0BD6 DDB4 2978 EB60 E0C8 33F2 BC34 9087 D869 AB48 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 That's what newsyslog is for, and you don't have to stop apache: /path/to/httpd-access.log 640 7 * $W0D0 B /var/run/httpd.pid 30 - Scott Guezou Philippe(fifi@infinit.com)@2002.10.10 10:05:10 +0000: > [Charset iso-8859-1 unsupported, filtering to ASCII...] > > Thank you for your suggestion I restarted apache on my server my df -h is > > giving > > > > Filesystem Size Used Avail Capacity Mounted on > > /dev/ad0s2a 9.6G 1.0G 7.8G 12% / > > /dev/ad2s1e 55G 39G 11G 77% /data > > /dev/ad0s1e 9.6G 2.0K 8.8G 0% /data2 > > /dev/ad0s3e 26G 1.0G 23G 4% /data3 > > /dev/ad0s2e 9.6G 1.9G 6.9G 22% /usr > > procfs 4.0K 4.0K 0B 100% /proc > > > > What might be the problem??? In future how can I overcome this type of > > problems without restarting the service. > > oh well, here, we stop all apache around 23h45, then rotate the logs (moving them into > an other directory log/cold//) before restarting.. It take approximately 3 seconds > to stop, move and restart.. Your users shouldn't notice the stop/start.. > > hope this helps.. > fifi.. > > > > > Suresh > > -- > Guezou Philippe philippe.guezou@videotron.net > FreeBSD, The power to serve. > > Buying an operating system without source is like buying > a self-assembly Space Shuttle with no instructions. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- Scott Nolde GPG Key 0xD869AB48 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message