Re: Rare SSL failures on eelpout
От
Tom Lane
Тема
Re: Rare SSL failures on eelpout
Дата
Msg-id
6920.1551805678@sss.pgh.pa.us
Ответ на
Re: Rare SSL failures on eelpout (Thomas Munro)
Список
Дерево обсуждения
Rare SSL failures on eelpout Thomas Munro <thomas.munro@enterprisedb.com>
Re: Rare SSL failures on eelpout Tom Lane <tgl@sss.pgh.pa.us>
Re: Rare SSL failures on eelpout Thomas Munro <thomas.munro@enterprisedb.com>
Re: Rare SSL failures on eelpout Thomas Munro <thomas.munro@gmail.com>
Re: Rare SSL failures on eelpout Tom Lane <tgl@sss.pgh.pa.us>
Re: Rare SSL failures on eelpout Tom Lane <tgl@sss.pgh.pa.us>
Re: Rare SSL failures on eelpout Thomas Munro <thomas.munro@gmail.com>
Re: Rare SSL failures on eelpout Tom Lane <tgl@sss.pgh.pa.us>
Re: Rare SSL failures on eelpout Tom Lane <tgl@sss.pgh.pa.us>
Re: Rare SSL failures on eelpout Thomas Munro <thomas.munro@gmail.com>
Re: Rare SSL failures on eelpout Tom Lane <tgl@sss.pgh.pa.us>
Re: Rare SSL failures on eelpout Thomas Munro <thomas.munro@gmail.com>
Re: Rare SSL failures on eelpout Tom Lane <tgl@sss.pgh.pa.us>
Re: Rare SSL failures on eelpout Thomas Munro <thomas.munro@gmail.com>
Re: Rare SSL failures on eelpout Tom Lane <tgl@sss.pgh.pa.us>
Re: Rare SSL failures on eelpout Thomas Munro <thomas.munro@gmail.com>
Re: Rare SSL failures on eelpout Thomas Munro <thomas.munro@gmail.com>
Re: Rare SSL failures on eelpout Thomas Munro <thomas.munro@gmail.com>
Re: Rare SSL failures on eelpout Tom Lane <tgl@sss.pgh.pa.us>
Re: Rare SSL failures on eelpout Thomas Munro <thomas.munro@gmail.com>
Re: Rare SSL failures on eelpout Tom Lane <tgl@sss.pgh.pa.us>
Re: Rare SSL failures on eelpout Thomas Munro <thomas.munro@gmail.com>
Re: Rare SSL failures on eelpout Thomas Munro <thomas.munro@gmail.com>
Re: Rare SSL failures on eelpout Tom Lane <tgl@sss.pgh.pa.us>
Re: Rare SSL failures on eelpout Thomas Munro <thomas.munro@gmail.com>
Re: Rare SSL failures on eelpout Thomas Munro <thomas.munro@gmail.com>
Re: Rare SSL failures on eelpout Tom Lane <tgl@sss.pgh.pa.us>
Re: Rare SSL failures on eelpout Tom Lane <tgl@sss.pgh.pa.us>
Re: Rare SSL failures on eelpout Thomas Munro <thomas.munro@gmail.com>
Re: Rare SSL failures on eelpout Shawn Debnath <sdn@amazon.com>
Re: Rare SSL failures on eelpout Thomas Munro <thomas.munro@gmail.com>
Thomas Munro writes: > You can see that poll() already knew the other end had closed the > socket. Since this is clearly timing... let's see, yeah, I can make > it fail every time by adding sleep(1) before the comment "Send the > startup packet.". I assume that'll work on any Linux machine? Great idea, but no cigar --- doesn't do anything for me except make the ssl test really slow. (I tried it on RHEL6 and Fedora 28 and, just for luck, current macOS.) What this seems to prove is that the thing that's different about eelpout is the particular kernel it's running, and that that kernel has some weird timing behavior in this situation. I've also been experimenting with reducing libpq's SO_SNDBUF setting on the socket, with more or less the same idea of making the sending of the startup packet slower. No joy there either. Annoying. I'd be happier about writing code to fix this if I could reproduce it :-( regards, tom lane PS: but now I'm wondering about trying other non-Linux kernels.
В списке pgsql-hackers по дате отправления