Re: pgstat wait timeout

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Schnabel <schnabelr(at)missouri(dot)edu>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: pgstat wait timeout
Date: 2009-07-08 15:43:22
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Robert Schnabel <schnabelr(at)missouri(dot)edu> writes:
> From a fresh server restart I have one process that will run one
> processor 100% essentially forever. (I've let it go for about a week
> just to see if it would ever stop and it didn't). Attached is a text
> dump from ProcessExplorer. I have highlighted the relevant lines with
> ****. Also attached is the current postgresql log after a server
> restart. You can see from the log that about every 70 seconds there is
> an entry "WARNING: pgstat wait timeout". This will go on forever.

Apparently the stats collector has gotten stuck in a loop and is failing
to update the stats file. The 'wait timeout' bleats are probably coming
from the autovacuum launcher process, which is waiting for an up-to-date
stats file to appear. Can you get a stack trace from the stats
collector process?

regards, tom lane

In response to


Browse pgsql-bugs by date

  From Date Subject
Next Message Mathieu Fenniak 2009-07-08 15:52:16 Bug 4906?
Previous Message Dave Page 2009-07-08 15:37:25 Re: Unknown winsock error 10061