X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DDB4C8B9E69 for ; Wed, 23 Feb 2005 00:19:18 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 66902-08 for ; Wed, 23 Feb 2005 00:19:11 +0000 (GMT) Received: from sj-iport-4.cisco.com (sj-iport-4.cisco.com [171.68.10.86]) by svr1.postgresql.org (Postfix) with ESMTP id 894F38B9D35 for ; Wed, 23 Feb 2005 00:19:12 +0000 (GMT) Received: from sj-core-3.cisco.com (171.68.223.137) by sj-iport-4.cisco.com with ESMTP; 22 Feb 2005 16:19:35 -0800 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== Received: from cjwhitew2k02 (sjc-vpn1-173.cisco.com [10.21.96.173]) by sj-core-3.cisco.com (8.12.10/8.12.6) with ESMTP id j1N0J9wN014673; Tue, 22 Feb 2005 16:19:10 -0800 (PST) Message-Id: <200502230019.j1N0J9wN014673@sj-core-3.cisco.com> Reply-To: From: "Chris White (cjwhite)" To: "'Tom Lane'" Cc: Subject: Re: 7.4.5 file write issue Date: Tue, 22 Feb 2005 16:19:09 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <13401.1109115891@sss.pgh.pa.us> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Thread-Index: AcUZOdGVbsGJcJgNRm6SSE/io5GmqgAA1DTQ X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.431 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200502/242 X-Sequence-Number: 16410 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)" 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