From: | Shay Rojansky <roji(at)roji(dot)org> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Some 9.5beta2 backend processes not terminating properly? |
Date: | 2015-12-30 17:38:23 |
Message-ID: | CADT4RqDPNeLqV4GwerWok+uzHuE4QO1SMyzaWj+z+PDL07sMkw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>
> > The backends seem to hang when the client closes a socket without first
> > sending a Terminate message - some of the tests make this happen. I've
> > confirmed this happens with 9.5rc1 running on Windows (versions 10 and
> 7),
> > but this does not occur on Ubuntu 15.10. The client runs on Windows as
> well
> > (although I doubt that's important).
>
> Hm. So that seems to indicate that, on windows, we're not properly
> recognizing dead sockets in the latch code. Could you check, IIRC with
> netstat or something like it, in what state the connections are?
>
netstat shows the socket is in FIN_WAIT_2.
> Any chance you could single-step through WaitLatchOrSocket() with a
> debugger? Without additional information this is rather hard to
> diagnose.
>
Uh I sure can, but I have no idea what to look for :) Anything specific?
From | Date | Subject | |
---|---|---|---|
Next Message | Emre Hasegeli | 2015-12-30 17:38:56 | Re: rows estimate in explain analyze for the BRIN index |
Previous Message | Andres Freund | 2015-12-30 17:37:34 | Re: Some 9.5beta2 backend processes not terminating properly? |