Re: TCP_KEEPIDLE Question - Mailing list pgsql-general

From Tom Lane
Subject Re: TCP_KEEPIDLE Question
Date
Msg-id 24317.1384318410@sss.pgh.pa.us
Whole thread Raw
In response to TCP_KEEPIDLE Question  (Grant Fisher <gfisher@pecanstreet.org>)
List pgsql-general
Grant Fisher <gfisher@pecanstreet.org> writes:
> I am running postgresql 9.3 (installed via the
> apt.postgresql.orgrepository) on Ubuntu 12.10. I just upgraded from
> 9.2 on a dev machine, and
> when looking through the logs, I noticed that there were a lot of entries
> stating "LOG: setsockopt(TCP_KEEPIDLE) failed: Invalid argument".

Hm, that's the kernel call corresponding to our GUC parameter
tcp_keepalives_idle --- have you set a nondefault value for that?
For implementation reasons, a bad setting for that is likely to
result in this log message and no other indication.

Another possibility is that your kernel doesn't allow this parameter
to be set ... but that seems pretty unlikely for a reasonably-vanilla
Linux kernel.

            regards, tom lane


pgsql-general by date:

Previous
From: Jayadevan
Date:
Subject: Re: Theory question
Next
From: Chris Travers
Date:
Subject: select ... inherits?