pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: Greg Spiegelberg <gspiegelberg@cranel.com>
Cc: PgSQL Performance ML <pgsql-performance@postgresql.org>
Cc: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: Re: [PERFORM] syslog slowing the database?
Date: Thu, 11 Mar 2004 06:55:06 -0800
Message-ID: <40507DCA.8030609@commandprompt.com> (raw)
In-Reply-To: <15549.1078978181@sss.pgh.pa.us>
References: <404E2937.4060604@cranel.com>
	<370.1078877805@sss.pgh.pa.us>
	<404F3996.2070105@cranel.com>
	<7688.1078937631@sss.pgh.pa.us>
	<404FC23E.9000207@familyhealth.com.au>
	<15549.1078978181@sss.pgh.pa.us>


>>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@postgresql.org)

Attachments:

jd.vcf (text/x-vcard, 638B) download begin:vcard fn:Joshua D. Drake n:Drake;Joshua D. org:Command Prompt, Inc. adr:;;PO Box 215;Cascade Locks;Oregon;97014;USA email;internet:jd@commandprompt.com title:Consultant tel;work:503-667-4564 tel;fax:503-210-0034 note:Command Prompt, Inc. is the largest and oldest US based commercial PostgreSQL support provider. We provide the only commercially viable integrated PostgreSQL replication solution, but also custom programming, and support. We authored the book Practical PostgreSQL, the procedural language plPHP, and adding trigger capability to plPerl. x-mozilla-html:FALSE url:http://www.commandprompt.com/ version:2.1 end:vcard

view thread (19+ messages)  latest in thread

Message-ID: <40507DCA.8030609@commandprompt.com>
Permalink:  ../40507DCA.8030609@commandprompt.com/
Also on:    postgresql.org/message-id/40507DCA.8030609@commandprompt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: jd@commandprompt.com, tgl@sss.pgh.pa.us, chriskl@familyhealth.com.au, gspiegelberg@cranel.com, pgsql-admin@postgresql.org
  Subject: Re: [PERFORM] syslog slowing the database?
  In-Reply-To: <40507DCA.8030609@commandprompt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox