X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 41E04534C7 for ; Tue, 12 Apr 2005 10:50:29 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 95016-06 for ; Tue, 12 Apr 2005 13:50:26 +0000 (GMT) Received: from koolancexeon.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by svr1.postgresql.org (Postfix) with ESMTP id 1930B534C8 for ; Tue, 12 Apr 2005 10:50:25 -0300 (ADT) Received: mail.g2switchworks.com 10.10.1.8 from 10.10.1.37 10.10.1.37 via HTTP with MS-WebStorage 6.5.6944 Received: from state.g2switchworks.com by mail.g2switchworks.com; 12 Apr 2005 08:50:27 -0500 Subject: Re: Log File Maintainance From: Scott Marlowe To: Inpreet Singh Cc: pgsql-admin@postgresql.org In-Reply-To: <00e901c53e56$1c79efb0$3c67a8c0@netsity.com> References: <00e901c53e56$1c79efb0$3c67a8c0@netsity.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1113313827.20921.111.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 12 Apr 2005 08:50:27 -0500 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/152 X-Sequence-Number: 17165 On Mon, 2005-04-11 at 00:20, Inpreet Singh wrote: > Hello, > > I am working on live server where we have installed postgres database > as our back end. But now the problem is due to continues work on > postgres, size of log files has become problem for us. And the > partition where our postgres exists is full. I use apache's log rotator and start the server in rc.local: su - postgres -c 'pg_ctl start | /usr/sbin/rotatelogs $PGDATA/logs/pgsql 86400 2>1& &'