pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris White (cjwhite) <cjwhite@cisco.com>
To: cjwhite@cisco.com
To: 'Tom Lane' <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: 7.4.5 file write issue
Date: Tue, 22 Feb 2005 16:59:10 -0800
Message-ID: <200502230059.j1N0xAYO020695@sj-core-4.cisco.com> (raw)
In-Reply-To: <200502230019.j1N0J9wN014673@sj-core-3.cisco.com>

Just checked and found that the checkpoint interval is the same between
7.4.2 and 7.4.5. We also brought up a 7.4.2 version and didn't see these
files being written/updated every 5 minutes. In which module are these files
created?

Chris White

-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Chris White (cjwhite)
Sent: Tuesday, February 22, 2005 4:19 PM
To: 'Tom Lane'
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] 7.4.5 file write issue 

Thanks for information. We will have to look at the changes we made in
postgresql.conf.

Chris White

-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Tom Lane
Sent: Tuesday, February 22, 2005 3:45 PM
To: cjwhite@cisco.com
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] 7.4.5 file write issue 

"Chris White (cjwhite)" <cjwhite@cisco.com> writes:
> We are noticing on our 7.4.5 system the following files are being 
> written approximately every 5 minutes

> /tmp/.s.PGSQL.5432
> /tmp/.s.PGSQL.5432.lock

> Anybody know why they are being written?

So they don't get eaten by overenthusiastic /tmp cleaner scripts.

> The reason I ask is because we are
> running on a system that uses a laptop disk drive and requires at 
> least 10 minutes idle time to spindown so it can recalibrate. This did 
> not happen when we were running 7.4.2, so does anybody have any idea 
> what may have changed between 7.4.2 and 7.4.5 to cause this to happen.

In 7.4 it's done every checkpoint.  Perhaps you changed your checkpoint
settings?

In 8.0 it looks like the interval is hardwired to 10 minutes; you'd have to
hack postmaster.c if you don't like it.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@postgresql.org so that your
      message can get through to the mailing list cleanly

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend



view thread (10+ messages)  latest in thread

Message-ID: <200502230059.j1N0xAYO020695@sj-core-4.cisco.com>
Permalink:  ../200502230059.j1N0xAYO020695@sj-core-4.cisco.com/
Also on:    postgresql.org/message-id/200502230059.j1N0xAYO020695@sj-core-4.cisco.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: cjwhite@cisco.com, tgl@sss.pgh.pa.us
  Subject: Re: 7.4.5 file write issue
  In-Reply-To: <200502230059.j1N0xAYO020695@sj-core-4.cisco.com>
  References: <200502230019.j1N0J9wN014673@sj-core-3.cisco.com> <200502230059.j1N0xAYO020695@sj-core-4.cisco.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