Re: pg_listener entries deleted under heavy NOTIFY load only on Windows

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Marshall, Steve" <smarshall(at)wsi(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: pg_listener entries deleted under heavy NOTIFY load only on Windows
Date: 2009-01-30 15:18:28
Message-ID: 8699.1233328708@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Marshall, Steve" <smarshall(at)wsi(dot)com> writes:
> The solution that seems to work is to call CallNamedPipe repeatedly in a
> loop if it fails.

Seems a bit nervous-making, since there's no principled way to know how
many retries to try.

> I also notice that signals that should fail, do fail. For example,
> signal 30 seems to be regularly sent to pid 1, and this fails in both
> the orignal code and my modified version.

That's probably this bug:
http://archives.postgresql.org/pgsql-bugs/2008-11/msg00077.php
http://archives.postgresql.org/pgsql-committers/2008-11/msg00132.php

It shouldn't be happening, but it does offer a convenient test case that
your patch still fails when it should fail ;-)

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2009-01-30 17:26:23 Re: Per database connection limit buglet
Previous Message Marshall, Steve 2009-01-30 14:01:09 Re: pg_listener entries deleted under heavy NOTIFY load only on Windows