From: Vivek Khera <khera@kcilink.com>
To: pgsql-performance@postgresql.org
Subject: Re: autovacuum daemon stops doing work after about an hour
Date: Thu, 04 Dec 2003 14:29:58 -0500
Message-ID: <x71xrkjs95.fsf@yertle.int.kciLink.com> (raw)
References: <16332.63508.196365.801418@yertle.int.kciLink.com>
<1070516326.1455.11.camel@zedora.zeut.net>
>>>>> "MTO" == Matthew T O'Connor <matthew@zeut.net> 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/
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: khera@kcilink.com
Subject: Re: autovacuum daemon stops doing work after about an hour
In-Reply-To: <x71xrkjs95.fsf@yertle.int.kciLink.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