| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
| Cc: | lizenko79(at)gmail(dot)com, pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: BUG #14720: getsockopt(TCP_KEEPALIVE) failed: Option not supported by protocol |
| Date: | 2017-06-27 22:26:41 |
| Message-ID: | 1982.1498602401@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
I wrote:
> So apparently, Linux's TCP_KEEPIDLE corresponds to Solaris'
> TCP_KEEPALIVE_THRESHOLD. TCP_KEEPINTVL and TCP_KEEPCNT seem to have no
> direct equivalent, although TCP_KEEPALIVE_ABORT_THRESHOLD would correspond
> to their product.
> I suggest that we ought to expand the keepalive code to know about this
> synonym.
Concretely, something like the attached. I have no way to test this
locally, so I'm thinking of just pushing it and seeing what the buildfarm
says.
regards, tom lane
| Attachment | Content-Type | Size |
|---|---|---|
| add-Solaris-keepalive-option.patch | text/x-diff | 8.4 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2017-06-27 22:48:56 | Re: BUG #14720: getsockopt(TCP_KEEPALIVE) failed: Option not supported by protocol |
| Previous Message | Tom Lane | 2017-06-27 20:16:53 | Re: BUG #14720: getsockopt(TCP_KEEPALIVE) failed: Option not supported by protocol |