pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6484: pgstat wait timeout
2+ messages / 2 participants
[nested] [flat]

* BUG #6484: pgstat wait timeout
@ 2012-02-22 23:04  cneo@accessdata.com
  0 siblings, 1 reply; 2+ messages in thread

From: cneo@accessdata.com @ 2012-02-22 23:04 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      6484
Logged by:          Charlie Neo
Email address:      cneo@accessdata.com
PostgreSQL version: 9.0.6
Operating system:   Windows Server 2008 R2 Enterprise
Description:        

During heavy database loading, "pgstat wait timeout" is showing up in the
logs. When this happens pgstat.stat file stop updating. Stats in
pg_stat_user_tables also stop updating. Resulting in autovacuum not
triggering and greatly degrades performs. Killing the stats collection
process causing it to re-spawn does not help, as it will quickly go back
into the same state without any new stats collected.

Stack trace of the process postgres.exe -forkcol

ntoskrnl.exe!memset+0x64a
ntoskrnl.exe!KeWaitForMultipleObjects+0xf5d
ntoskrnl.exe!KeWaitForMultipleObjects+0x26a
ntoskrnl.exe!NtWaitForSingleObject+0x40f
ntoskrnl.exe!NtWaitForSingleObject+0x77e
ntoskrnl.exe!KeSynchronizeExecution+0x3a43
ntdll.dll!ZwWaitForMultipleObjects+0xa
KERNELBASE.dll!GetCurrentProcess+0x40
kernel32.dll!WaitForMultipleObjectsEx+0xb3
postgres.exe!reltimesend+0x1f8d50
postgres.exe!reltimesend+0x1f9053
postgres.exe!reltimesend+0x2054af
postgres.exe!reltimesend+0x20aa85
postgres.exe!reltimesend+0x14af4e
postgres.exe!reltimesend+0x38a65d
kernel32.dll!BaseThreadInitThunk+0xd
ntdll.dll!RtlUserThreadStart+0x21




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

* Re: BUG #6484: pgstat wait timeout
@ 2012-03-12 15:33  Robert Haas <robertmhaas@gmail.com>
  parent: cneo@accessdata.com
  0 siblings, 0 replies; 2+ messages in thread

From: Robert Haas @ 2012-03-12 15:33 UTC (permalink / raw)
  To: cneo@accessdata.com; +Cc: pgsql-bugs

On Wed, Feb 22, 2012 at 6:04 PM,  <cneo@accessdata.com> wrote:
> The following bug has been logged on the website:
>
> Bug reference:      6484
> Logged by:          Charlie Neo
> Email address:      cneo@accessdata.com
> PostgreSQL version: 9.0.6
> Operating system:   Windows Server 2008 R2 Enterprise
> Description:
>
> During heavy database loading, "pgstat wait timeout" is showing up in the
> logs. When this happens pgstat.stat file stop updating. Stats in
> pg_stat_user_tables also stop updating. Resulting in autovacuum not
> triggering and greatly degrades performs. Killing the stats collection
> process causing it to re-spawn does not help, as it will quickly go back
> into the same state without any new stats collected.
>
> Stack trace of the process postgres.exe -forkcol
>
> ntoskrnl.exe!memset+0x64a
> ntoskrnl.exe!KeWaitForMultipleObjects+0xf5d
> ntoskrnl.exe!KeWaitForMultipleObjects+0x26a
> ntoskrnl.exe!NtWaitForSingleObject+0x40f
> ntoskrnl.exe!NtWaitForSingleObject+0x77e
> ntoskrnl.exe!KeSynchronizeExecution+0x3a43
> ntdll.dll!ZwWaitForMultipleObjects+0xa
> KERNELBASE.dll!GetCurrentProcess+0x40
> kernel32.dll!WaitForMultipleObjectsEx+0xb3
> postgres.exe!reltimesend+0x1f8d50
> postgres.exe!reltimesend+0x1f9053
> postgres.exe!reltimesend+0x2054af
> postgres.exe!reltimesend+0x20aa85
> postgres.exe!reltimesend+0x14af4e
> postgres.exe!reltimesend+0x38a65d
> kernel32.dll!BaseThreadInitThunk+0xd
> ntdll.dll!RtlUserThreadStart+0x21

This is a known issue, but I am not sure anyone has a plan for what to
do about it.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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


end of thread, other threads:[~2012-03-12 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-02-22 23:04 BUG #6484: pgstat wait timeout cneo@accessdata.com
2012-03-12 15:33 ` Robert Haas <robertmhaas@gmail.com>

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