Skip site navigation (1) Skip section navigation (2)

Re: 7.4.5 file write issue

From: "Chris White (cjwhite)" <cjwhite(at)cisco(dot)com>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: 7.4.5 file write issue
Date: 2005-02-23 00:19:09
Message-ID: (view raw or whole thread)
Lists: pgsql-admin
Thanks for information. We will have to look at the changes we made in

Chris White

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

"Chris White (cjwhite)" <cjwhite(at)cisco(dot)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

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(at)postgresql(dot)org so that your
      message can get through to the mailing list cleanly

In response to


pgsql-admin by date

Next:From: Devrim GUNDUZDate: 2005-02-23 00:46:07
Subject: Re: 64 bit rpms for 7.4.7??
Previous:From: Tom LaneDate: 2005-02-22 23:44:51
Subject: Re: 7.4.5 file write issue

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group