From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gaetano Mendola <mendola@bigfoot.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Statistic collector too many fork
Date: Mon, 14 Oct 2002 10:04:12 -0400
Message-ID: <12005.1034604252@sss.pgh.pa.us> (raw)
In-Reply-To: <aoe3dn$1063$1@news.hub.org>
References: <aoe3dn$1063$1@news.hub.org>
"Gaetano Mendola" <mendola@bigfoot.com> writes:
> Is it normal that after a while is like if the statistics collector fork a
> lot of time in only one second ?
> Oct 11 16:51:28 pserver2 postgres[8898]: [1943390] DEBUG: reaping dead
> processes
> Oct 11 16:51:28 pserver2 postgres[8898]: [1943391] DEBUG: statistics
> collector process (pid 16882) exited with exit code 1
> Oct 11 16:51:28 pserver2 postgres[8898]: [1943392] DEBUG: reaping dead
> processes
> Oct 11 16:51:28 pserver2 postgres[8898]: [1943393] DEBUG: statistics
> collector process (pid 16884) exited with exit code 1
> ...
No, this is not good.
Unfortunately, you don't seem to be getting any error message showing
*why* the stats collector is quitting. After a look at the code I note
that the 7.2 version of the stats collector writes fatal errors to
stderr always, rather than using elog() which can be redirected to
syslog. (This has been fixed for 7.3, but that'll do you no good
today.) You'll need to send the postmaster's stderr someplace other
than /dev/null so you can figure out what the problem is.
regards, tom lane
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: tgl@sss.pgh.pa.us, mendola@bigfoot.com
Subject: Re: Statistic collector too many fork
In-Reply-To: <12005.1034604252@sss.pgh.pa.us>
References: <aoe3dn$1063$1@news.hub.org> <12005.1034604252@sss.pgh.pa.us>
* 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