Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C0FD84764C5 for ; Mon, 14 Oct 2002 10:05:29 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id EB4D04764B2 for ; Mon, 14 Oct 2002 10:05:28 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g9EE4DhR012006; Mon, 14 Oct 2002 10:04:13 -0400 (EDT) To: "Gaetano Mendola" Cc: pgsql-admin@postgresql.org Subject: Re: Statistic collector too many fork In-reply-to: References: Comments: In-reply-to "Gaetano Mendola" message dated "Mon, 14 Oct 2002 11:40:05 +0200" Date: Mon, 14 Oct 2002 10:04:12 -0400 Message-ID: <12005.1034604252@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/85 X-Sequence-Number: 5943 "Gaetano Mendola" 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