pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew T. O'Connor <matthew@zeut.net>
To: Christopher Browne <cbbrowne@acm.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: autovacuum daemon stops doing work after about an hour
Date: Mon, 08 Dec 2003 00:27:29 -0500
Message-ID: <3FD40BC1.7050906@zeut.net> (raw)
In-Reply-To: <m3y8top0pe.fsf@wolfe.cbbrowne.com>
References: <16332.63508.196365.801418@yertle.int.kciLink.com>
	<1070516326.1455.11.camel@zedora.zeut.net>
	<16335.25079.106697.7521@yertle.int.kciLink.com>
	<3FCF7E74.9060604@bigfoot.com>
	<m3y8top0pe.fsf@wolfe.cbbrowne.com>

Christopher Browne wrote:

>The world rejoiced as mendola@bigfoot.com (Gaetano Mendola) wrote:
>  
>
>>I think is a good Idea put a fflush after:
>>
>>fprintf(LOGOUTPUT, "[%s] %s\n", timebuffer, logentry);
>>    
>>
>
>I thought I had put fflush()es at all the interesting locations...
>  
>

I just looked through the code, I think there are fflush()es at all but 
one interesting locations.  The last log_entry call before sleeping 
doesn't have an fflush call after it.  I'll submit a patch that adds it.

>Apparently it was an error to not go to the effort of making sure it
>worked well on FreeBSD.  (It was on my list, but I never got the Round
>Tuits...)  There's an AMD-64 box coming in soon, targeted at FreeBSD,
>so that should change...
>  
>
Yeah, FreeBSD testing would have been nice, but I don't have access to 
any FreeBSD boxes so.....




view thread (16+ messages)  latest in thread

Message-ID: <3FD40BC1.7050906@zeut.net>
Permalink:  ../3FD40BC1.7050906@zeut.net/
Also on:    postgresql.org/message-id/3FD40BC1.7050906@zeut.net

 · 

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: matthew@zeut.net, cbbrowne@acm.org
  Subject: Re: autovacuum daemon stops doing work after about an hour
  In-Reply-To: <3FD40BC1.7050906@zeut.net>

* 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