pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Statistic collector too many fork
2+ messages / 2 participants
[nested] [flat]

* Statistic collector too many fork
@ 2002-10-14 09:40  Gaetano Mendola <mendola@bigfoot.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Gaetano Mendola @ 2002-10-14 09:40 UTC (permalink / raw)
  To: pgsql-admin

Hi to all,
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
Oct 11 16:51:28 pserver2 postgres[8898]: [1943394] DEBUG:  reaping dead
processes
Oct 11 16:51:28 pserver2 postgres[8898]: [1943395] DEBUG:  statistics
collector process (pid 16886) exited with exit code 1
Oct 11 16:51:28 pserver2 postgres[8898]: [1943396] DEBUG:  reaping dead
processes
Oct 11 16:51:28 pserver2 postgres[8898]: [1943397] DEBUG:  statistics
collector process (pid 16888) exited with exit code 1
Oct 11 16:51:28 pserver2 postgres[8898]: [1943398] DEBUG:  reaping dead
processes
Oct 11 16:51:28 pserver2 postgres[8898]: [1943399] DEBUG:  statistics
collector process (pid 16890) exited with exit code 1
Oct 11 16:51:28 pserver2 postgres[8898]: [1943400] DEBUG:  reaping dead
processes
Oct 11 16:51:28 pserver2 postgres[8898]: [1943401] DEBUG:  statistics
collector process (pid 16892) exited with exit code 1
Oct 11 16:51:28 pserver2 postgres[8898]: [1943402] DEBUG:  reaping dead
processes
Oct 11 16:51:28 pserver2 postgres[8898]: [1943403] DEBUG:  statistics
collector process (pid 16894) exited with exit code 1
Oct 11 16:51:28 pserver2 postgres[8898]: [1943404] DEBUG:  reaping dead
processes
[SNIPP]

and a lot more.

At the end my partition was full, now I don't know what was the cause (disk
almost full / to many line in the log )
and the effect ( statistics collector bug / disk full ).


Ciao
Gaetano





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Statistic collector too many fork
@ 2002-10-14 14:04  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Gaetano Mendola <mendola@bigfoot.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2002-10-14 14:04 UTC (permalink / raw)
  To: Gaetano Mendola <mendola@bigfoot.com>; +Cc: pgsql-admin

"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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-10-14 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-10-14 09:40 Statistic collector too many fork Gaetano Mendola <mendola@bigfoot.com>
2002-10-14 14:04 ` Tom Lane <tgl@sss.pgh.pa.us>

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