Re: Some 9.5beta2 backend processes not terminating properly? - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Some 9.5beta2 backend processes not terminating properly?
Date
Msg-id 20151230180708.bcwxvu37t6jretdb@alap3.anarazel.de
Whole thread Raw
In response to Re: Some 9.5beta2 backend processes not terminating properly?  (Shay Rojansky <roji@roji.org>)
Responses Re: Some 9.5beta2 backend processes not terminating properly?
Re: Some 9.5beta2 backend processes not terminating properly?
List pgsql-hackers
On 2015-12-30 19:54:19 +0200, Shay Rojansky wrote:
> >
> > Things that'd be interesting:
> > 1) what are the arguments passed to WaitLatchOrSocket(), most
> >    importantly wakeEvents and sock
> >
> 
> wakeEvents is 8387808 and so is sock.

Hm. That seems like an extremely weird value. I think it's indicative of
a bug in 80788a431e. Specifically secure_read/write's waitfor isn't
necessarily set in the ssl case. Importantly not in the
SSL_ERROR_SYSCALL case, which we're likely hitting here.

Is this in a backend with ssl?

If you go up one frame, what value does port->sock have?



pgsql-hackers by date:

Previous
From: Shay Rojansky
Date:
Subject: Re: Some 9.5beta2 backend processes not terminating properly?
Next
From: Shay Rojansky
Date:
Subject: Re: Some 9.5beta2 backend processes not terminating properly?