Re: [PERFORM] syslog slowing the database?

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Greg Spiegelberg <gspiegelberg(at)cranel(dot)com>, PgSQL Performance ML <pgsql-performance(at)postgresql(dot)org>, Postgres Admin List <pgsql-admin(at)postgresql(dot)org>
Subject: Re: [PERFORM] syslog slowing the database?
Date: 2004-03-11 14:55:06
Message-ID: 40507DCA.8030609@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-performance


>>Not an option I'm afraid. PostgreSQL just jams and stops logging after
>>the first rotation...

Are you using a copy truncate method to rotate the logs? In RedHat add
the keyword COPYTRUCATE to your /etc/logrotate.d/syslog file.

Sincerely,

Joshua D. Drake

>
>
> I know some people use this in production. Dunno what went wrong in
> your test, but it can be made to work.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

Attachment Content-Type Size
jd.vcf text/x-vcard 640 bytes

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Joshua D. Drake 2004-03-11 14:55:48 Re: [PERFORM] started Data Warehousing
Previous Message Stef 2004-03-11 14:52:56 Multiple postmasters for one data directory...

Browse pgsql-performance by date

  From Date Subject
Next Message Joshua D. Drake 2004-03-11 14:55:48 Re: [PERFORM] started Data Warehousing
Previous Message Pablo Marrero 2004-03-11 13:54:03 started Data Warehousing