Re: FW: Serverlog 100GB

From: "Randy How" <rhow(at)i3(dot)com>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: FW: Serverlog 100GB
Date: 2006-08-25 14:51:30
Message-ID: 065701c6c855$f3590270$0e28c80a@i3.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks Tom,

http://www.postgresql.org/docs/8.1/interactive/logfile-maintenance.html

I'll go over this documentation.

Thanks again
Randy

-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Tom Lane
Sent: Thursday, August 24, 2006 10:37 PM
To: Randy How
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] FW: Serverlog 100GB

"Randy How" <rhow(at)i3(dot)com> writes:
> We're running PostGres on linux, version 8.1.x. on a new server for a
> few weeks. And the serverlog just consumed the rest of the disk space
> - 100GB log file. Wow, that's a personal record.

Perhaps choose less verbose logging settings? But really the correct answer
to this is to set up a logfile rotation schedule, which you can easily do
with either syslog or redirect_stderr log methods. I'd lean to the latter
myself.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2006-08-25 15:07:03 Re: [GENERAL] invalid byte sequence ?
Previous Message consultmac2 2006-08-25 14:05:37 Re: Can I read data load files without loading in db?