X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 0D875D1B484 for ; Thu, 4 Dec 2003 19:31:07 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 00227-04 for ; Thu, 4 Dec 2003 15:30:37 -0400 (AST) Received: from lorax.kcilink.com (lorax.kciLink.com [206.112.95.1]) by svr1.postgresql.org (Postfix) with ESMTP id 741C2D1B439 for ; Thu, 4 Dec 2003 15:29:59 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by lorax.kcilink.com (Postfix) with ESMTP id B61F53E80 for ; Thu, 4 Dec 2003 14:29:59 -0500 (EST) Received: from lorax.kcilink.com ([127.0.0.1]) by localhost (lorax.kcilink.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 36778-02-3 for ; Thu, 4 Dec 2003 14:29:59 -0500 (EST) Received: from lorax.kciLink.com (localhost [127.0.0.1]) by lorax.kcilink.com (Postfix) with ESMTP id 120F73E7E for ; Thu, 4 Dec 2003 14:29:59 -0500 (EST) Received: (from news@localhost) by lorax.kciLink.com (8.12.9p2/8.12.9/Submit) id hB4JTwdo058269 for pgsql-performance@postgresql.org; Thu, 4 Dec 2003 14:29:58 -0500 (EST) (envelope-from news) To: pgsql-performance@postgresql.org Path: not-for-mail From: Vivek Khera Newsgroups: ml.postgres.performance Subject: Re: autovacuum daemon stops doing work after about an hour Date: Thu, 04 Dec 2003 14:29:58 -0500 Organization: Khera Communications, Inc., Rockville, MD Lines: 29 Message-ID: References: <16332.63508.196365.801418@yertle.int.kciLink.com> <1070516326.1455.11.camel@zedora.zeut.net> NNTP-Posting-Host: yertle.kcilink.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: lorax.kcilink.com 1070566198 42459 216.194.193.105 (4 Dec 2003 19:29:58 GMT) X-Complaints-To: daemon@kciLink.com NNTP-Posting-Date: Thu, 4 Dec 2003 19:29:58 +0000 (UTC) User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, berkeley-unix) Cancel-Lock: sha1:Gxyqdsi8L4gsC/yxpygcCYyn8qQ= X-Virus-Scanned: by amavisd-new at kciLink.com X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/89 X-Sequence-Number: 4949 >>>>> "MTO" == Matthew T O'Connor writes: >> I'm running Postgres 7.4 release on FreeBSD 4.9-RELEASE. MTO> I don't run FreeBSD, so I haven't tested with FreeBSD. Recently Craig MTO> Boston reported and submitted a patch for a crash on FreeBSD, but that MTO> doesn't sound like your problem. Could be some other type of platform MTO> dependent problem. Oh lucky me. I think I found it. I compiled with -g -O and ran it under gdb, so the output is line buffered. The last thing it prints out now is this: [2003-12-04 02:11:17 PM] 3 All DBs checked in: -786419782 usec, will sleep for -1272 secs. since sleep() takes an unsigned int as its parameter, we are actually sleeping for 4294966024 seconds == 136 years. I recall reading about the negative time to test the dbs somewhere... I guess I'll get on debugging that. The time keeper in this box is pretty darned accurate otherwise (using ntpd). -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/